Skip to content

5. Controlling the car

SamVanderstraeten edited this page Feb 4, 2021 · 16 revisions

Controlling the car

Once all hardware is configured and all software is installed, you should be able to control the car. If the steps on this page are not working, please double-check if you executed all previous steps properly. If problems keep occurring, please contact the organization for further support.

Safety button

TODO

Switch driving mode

There are 2 driving modes to control the car: manual mode and software (AI) mode. In manual mode you use the RF controller to steer the car. In software mode, the AI module in the car driver component will take over control of the wheels.

By default, the driving mode will be set to manual driving. To switch to software mode, execute the command below:

rostopic pub /master/ai/start_driving std_msgs/Bool True --once

Likewise, to stop the AI steering (software driving mode), execute the command below:

rostopic pub /master/ai/start_driving std_msgs/Bool False --once

Example SW drive script

TODO

Useful links

TODO

  • opencv
  • donkeycar
  • ...

RTTF logo

Clone this wiki locally