November 2018
Beginner
472 pages
13h 5m
English
You can now upload the whole set of files to a folder on your robot. As before, you can use python manual_drive.py to run this.
You can use developer mode on a browser to view the web page before trying it on a phone, by right-clicking on your page and clicking Inspect element. In the developer tools, there will be buttons for emulating phone devices and touch events. You can check that dragging the sliders has the desired results, and click on the Console button to see if there are errors from the JavaScript. Point it at http://myrobot.local:5001 (using your robot's hostname or address).
Common problems in JavaScript and CSS are missing punctuation such as semicolons, commas, or brackets. Having class or ID selectors that do ...