Team: < Pi team >
Siwen Tu, Lin He , Ruilin Ma, Chenyu Shi, Shupei Li
Robotics, 2023 Spring, Leiden University
- Picar-4wd + RPi Camera v3 (wide)
- A computer with camera
- picamera2
- opencv-python
- cvzone
- socket
- Change the variable
host
(Line 5) inhands_control_pc.py
to "your ip address". Open the port 6666. - Change the variable
host_ip
(Line 7) inhands_control_car.py
to "your ip address". - Run
python3 hands_control_pc.py
on the computer. - Run
python3 hands_control_car.py
on the car. - Use gestures to control the car.
- Picar-4wd + RPi Camera v2
- Marking lines (colored tapes)
- picamera
- opencv-python
- Time
- Picar_4wd
- Run
python linetrack.py
on the computer. - Specify the parameters asked by the program, namely color, task index and threshold, with the following setting.
- Set
color == orange
orcolor == red_2
(orange is recommended.) - Set
Task index == 4
- Set
Threshold == 10
- The above default settings will execute the auto reverse parking of the robot.