Commit 37c1aac2 authored by Matthew Gall's avatar Matthew Gall

Some more fixes, removed un-needed Robot() class and changed UI

parent ccf703bb
......@@ -114,12 +114,12 @@ function keyEvent(e) {
case "ArrowUp":
case "Up":
url = "/forwards";
url = "/forward";
case "ArrowDown":
case "Down":
url = "/backwards";
url = "/backward";
case "c":
......@@ -22,7 +22,7 @@
import os, logging, subprocess, time, argparse
from bottle import route, request, response, redirect, hook, error, default_app, view, static_file, template, HTTPError
from gpiozero import Robot, CamJamKitRobot, DistanceSensor
from gpiozero import CamJamKitRobot, DistanceSensor
def action_left():
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment