Skip to content

A python real-time controller API for robotic systems via CAN

Notifications You must be signed in to change notification settings

UniCT-ARSLab/py-robot-controller

Repository files navigation

py-robot-controller

A python real-time controller API for robotic systems via CAN

install requirements

Possibly, use python3.10

pip install -r requirements.txt
pip install -r requirements_dev.txt # only for testing

usage

python3 main.py

enable LiDAR (optional)

pip install -e "git+https://github.com/simondlevy/BreezyLidar.git#egg=BreezyLidar&subdirectory=python" # lidar library

crontab

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.

About

A python real-time controller API for robotic systems via CAN

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages