OpenCV Picamera2 gpiozero functools
Wheel speed collision sensor: GPIO 23 Brake Toggle button: GPIO 27 Motor brake actuation on: GPIO 20 Motor Reverse Direction: GPIO 21 Camera: plugged into pi5 camera port
- Run the script with sudo python filename
- Press the Brake Toggle button on GPIO 27 to actiave collision detecting braking
- Cleanly exit the program using CTRL+C