November 2018
Beginner
472 pages
13h 5m
English
Upload the robot_modes.py and menu_server.py files to the robot, and then the templates folder. On the Raspberry Pi, via SSH, it can be started with the following code:
$ python menu_server.py * Serving Flask app "test_flask" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: on * Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)
You can now point your browser at your robot (http://myrobot.local:5000/) to see the menu. You should be able to click a mode, and see the robot start that behavior. Clicking stop will do the equivalent of a CTRL + C to stop the behavior. The following screenshot shows how it should look ...
Read now
Unlock full access