Robobot 4: Difference between revisions
From Rsewiki
(Created page with "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 and run: cd svn/robobot/mqtt_python python3 mqtt-client.py This should do the same as pressing the button. For further...") |
No edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
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 | ||
python3 mqtt-client.py | |||
Change the IP address in the script <code>mqtt-client.py</code> to match your robot (in the bottom of the file). 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. | This should do the same as pressing the button. | ||
For further details, see | For further details, see |
Latest revision as of 15:08, 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 mqtt-client.py
to match your robot (in the bottom of the file). 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