This project aims at controlling my robot PiCar-X, built around a Rasperry Pi 4.
The is natively compatible with a proprietary software, but I chose to redevelop the features that interest me, based on the robot-hat library.
If you want to do the same installation, please follow this guide
Debugging tools are available in the tools
folder.
- motors.py : makes the two motors run forward and then backward
- reset.py : resets the main controller
- servo.py : moves the selected servo motor to the requested angle
- speaker.py : reads the selected text using TTS
- sing.py : plays the MP3 file passed in parameter
- distance.py : uses the distance sensor, and emits a faster and faster sound signal when an obstacle is approaching
./start-server.sh server/main.py
The client allows to control the robot via the browser. An XBox controller (or similar) is required.
The client project will be published later.