Robobot 4: Difference between revisions
From Rsewiki
No edit summary |
|||
Line 9: | Line 9: | ||
== Start from the command line == | == Start from the command line == | ||
With a SSH connection to the robot, navigate to the directory with the Python app | With a SSH connection to the robot, navigate to the directory with the Python app: | ||
cd svn/robobot/mqtt_python | cd svn/robobot/mqtt_python | ||
Change the IP address in the script <a>mqtt-client.py</a> to match your robot. Then execute the script by: | |||
python3 mqtt-client.py -n | python3 mqtt-client.py -n | ||
Revision as of 15:06, 17 January 2025
Back to Robobot
Start the robot
At the competition, the robot must be started using the start button.
Press the start button (be prepared that the wheels will turn after a few seconds (to load the Python app).
Start from the command line
With a SSH connection to the robot, navigate to the directory with the Python app:
cd svn/robobot/mqtt_python
Change the IP address in the script <a>mqtt-client.py</a> to match your robot. Then execute the script by:
python3 mqtt-client.py -n
The parameter "-n" tells the app to start now, i.e., without waiting for a start button (see 'python3 mqtt-client.py—-help' for other options).
This should do the same as pressing the button.
For further details, see