LEGO Mindstorm EV3 Autonomous Car with PD Control that regulates velocity depending on front distance and stays between two white lines.
This project has been done by these contributors, be sure to check them out! :
Car uses two motors, one of them for a rear-wheel drive system and the other one for an Ackerman Steering Geometry for front wheels.
Car Overview:
Car contains these sensors:
This project contains these files:
-
car_project.py: Project Main. You can find the Closed-loop System Structure and the Learning System.
-
direction.py: Car Steering File.
- Class
LineSensor
returns a movement depending on Color Sensors Values. - Class
Direction
tries to get the car into a desired position (Between white lines).
- Class
-
leds.py: Class
LED
update LEDs Colors. -
speed.py. Car Speed File.
To avoid car getting on white line repeatedly, a learning system was designed and developed. It's about allowing the car turn for a longer time if it has been staying on white line many times.
A Speed Reduction System was made too for these curves.
Both Systems can be found in car_project.py
We hope you've learned some useful knowledge thanks to this Project. Thank you for visiting it!