Robobot 4: Difference between revisions

From Rsewiki
No edit summary
No edit summary
 
Line 13: Line 13:
  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:  
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
  python3 mqtt-client.py -n

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