A python real-time controller API for robotic systems via CAN
Possibly, use python3.10
pip install -r requirements.txt
pip install -r requirements_dev.txt # only for testing
python3 main.py
pip install -e "git+https://github.com/simondlevy/BreezyLidar.git#egg=BreezyLidar&subdirectory=python" # lidar library
In the robot we could start the service using the following crontab and screen command
@reboot /usr/bin/screen -S py-robot-controller -d -m /home/pi/py-robot-controller/venv/bin/python /home/pi/py-robot-controller/main.py
in order to see the screen session output it is possible to run:
screen -S py-robot-controller
Note: use Ctrl+A
and D
to detach from the session.