All Projects → enginBozkurt → SelfDrivingCarsControlDesign

enginBozkurt / SelfDrivingCarsControlDesign

Licence: other
Self Driving Cars Longitudinal and Lateral Control Design

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to SelfDrivingCarsControlDesign

Autonomousdrivingcookbook
Scenarios, tutorials and demos for Autonomous Driving
Stars: ✭ 1,939 (+1919.79%)
Mutual labels:  self-driving-car, autonomous-driving, autonomous-vehicles
Awesome Self Driving Car
An awesome list of self-driving cars
Stars: ✭ 185 (+92.71%)
Mutual labels:  self-driving-car, autonomous-driving, autonomous-vehicles
SelfDrivingRCCar
Autonomous RC Car using Neural Networks, Python and Open CV
Stars: ✭ 102 (+6.25%)
Mutual labels:  self-driving-car, autonomous-driving, autonomous-vehicles
dig-into-apollo
Apollo notes (Apollo学习笔记) - Apollo learning notes for beginners.
Stars: ✭ 1,786 (+1760.42%)
Mutual labels:  self-driving-car, autonomous-driving, autonomous-vehicles
Carla
Open-source simulator for autonomous driving research.
Stars: ✭ 7,012 (+7204.17%)
Mutual labels:  self-driving-car, autonomous-driving, autonomous-vehicles
highway-path-planning
My path-planning pipeline to navigate a car safely around a virtual highway with other traffic.
Stars: ✭ 39 (-59.37%)
Mutual labels:  self-driving-car, autonomous-driving, autonomous-vehicles
Apollo perception ros
Object detection / tracking / fusion based on Apollo r3.0.0 perception module in ROS
Stars: ✭ 179 (+86.46%)
Mutual labels:  self-driving-car, autonomous-driving, autonomous-vehicles
Visualizing-lidar-data
Visualizing lidar data using Uber Autonomous Visualization System (AVS) and Jupyter Notebook Application
Stars: ✭ 75 (-21.87%)
Mutual labels:  self-driving-car, autonomous-driving, autonomous-vehicles
Apollo
An open autonomous driving platform
Stars: ✭ 19,814 (+20539.58%)
Mutual labels:  self-driving-car, autonomous-driving, autonomous-vehicles
Error-State-Extended-Kalman-Filter
Vehicle State Estimation using Error-State Extended Kalman Filter
Stars: ✭ 100 (+4.17%)
Mutual labels:  self-driving-car, autonomous-driving, autonomous-vehicles
Self Driving Golf Cart
Be Driven 🚘
Stars: ✭ 147 (+53.13%)
Mutual labels:  self-driving-car, autonomous-driving, autonomous-vehicles
Lidarobstacledetection
Lidar Obstacle Detection
Stars: ✭ 90 (-6.25%)
Mutual labels:  self-driving-car, autonomous-driving, autonomous-vehicles
BtcDet
Behind the Curtain: Learning Occluded Shapes for 3D Object Detection
Stars: ✭ 104 (+8.33%)
Mutual labels:  self-driving-car, autonomous-driving, autonomous-vehicles
WIMP
[arXiv] What-If Motion Prediction for Autonomous Driving ❓🚗💨
Stars: ✭ 80 (-16.67%)
Mutual labels:  self-driving-car, autonomous-driving, autonomous-vehicles
Dig Into Apollo
Apollo notes (Apollo学习笔记) - Apollo learning notes for beginners.
Stars: ✭ 903 (+840.63%)
Mutual labels:  self-driving-car, autonomous-driving, autonomous-vehicles
Rtm3d
Unofficial PyTorch implementation of "RTM3D: Real-time Monocular 3D Detection from Object Keypoints for Autonomous Driving" (ECCV 2020)
Stars: ✭ 211 (+119.79%)
Mutual labels:  self-driving-car, autonomous-driving, autonomous-vehicles
Multiagenttorcs
The multi-agent version of TORCS for developing control algorithms for fully autonomous driving in the cluttered, multi-agent settings of everyday life.
Stars: ✭ 122 (+27.08%)
Mutual labels:  self-driving-car, autonomous-vehicles
autonomous-delivery-robot
Repository for Autonomous Delivery Robot project of IvLabs, VNIT
Stars: ✭ 65 (-32.29%)
Mutual labels:  autonomous-driving, autonomous-vehicles
Awesome Robotic Tooling
Tooling for professional robotic development in C++ and Python with a touch of ROS, autonomous driving and aerospace.
Stars: ✭ 1,876 (+1854.17%)
Mutual labels:  self-driving-car, autonomous-driving
Autonomous-Parking-System
Automatic Parking is an autonomous car maneuvering system (part of ADAS) that moves a vehicle from a traffic lane into a parking spot to perform parallel parking. The automatic parking system aims to enhance the comfort and safety of driving in constrained environments where much attention and experience is required to steer the car. The parking…
Stars: ✭ 39 (-59.37%)
Mutual labels:  self-driving-car, autonomous-driving

Self Driving Car Control Design

Self Driving Cars Longitudinal and Lateral Control Design

In this project, I implemented a controller in Python and use it to drive a car autonomously around a track in Carla Simulator.

Project notes:

The waypoints include positions as well as the speed the vehicle should attain. As a result, the waypoints become the reference signal for our controller and navigating to all the waypoints effectively completes the full track.

Since the controller reference contains both position and speed, we need to implement both Longitudinal and Lateral Control.

The output of the controller will be the vehicle throttle, brake and steering angle commands.

The throttle and brake come from the Longitudinal speed control and the steering comes from our Lateral Control.

If you want to make your own controller design, I highly recommend that you should consider the following points:

If you open the simulator directory and navigate to the Course1FinalProject folder, you will see a file named controller2d.py

These controller functions are as the following:

Screenshot_6

You can adjust and re-create these functions according to your own custom controller design.

The Race Tack including waypoints:

Screenshot_4

Some concepts including formulas and expected output of the controller :

Screenshot_1

Screenshot_2

Screenshot_3

Screenshot from the application:

Screenshot_7

Final Notes:

This poject is my own implementation of the project assignment of Self Driving Cars Specialization offered by University of Toronto on Coursera.

  • I added Carla Simulator Installation guides for Ubuntu and Windows into the Guides folder.

  • Both in Windows and Ubuntu, add Course1FinalProject folder into the CarlaSimulator/PythonClient folder.

Use different terminals for the client and server.

How to run in Ubuntu:

  • Server terminal:

$ cd $HOME /opt/CarlaSimulator # where the CarlaSimulator is located

$ ./CarlaUE4.sh /Game/Maps/RaceTrack -windowed -carla-server -ResX=640 -ResY=480 -benchmark -fps=20

  • Client terminal:

$ cd $HOME /opt/CarlaSimulator/PythonClient/Course1FinalProject

$ python3 module_7.py

How to run in Windows:

  • Server terminal:

\> C:

\> cd \Coursera\CarlaSimulator

\> CarlaUE4.exe /Game/Maps/RaceTrack -windowed -carla-server -benchmark -fps=15 -ResX=640 -ResY=480

  • Client terminal:

\> C:

\> cd \Coursera\CarlaSimulator\PythonClient\Course1FinalProject

\> python module_7.py

Final Reminders for troubleshooting tips:

  • Python 3.7 is not currently compatible with CARLA. Use Python 3.5.x or Python 3.6.x in Windows or Ubuntu.

  • Allow CarlaUE4 to access through the Windows firewall if prompted to do so.

  • CARLA requires networking enabled with the firewall allowing access to the CARLA loader, and by default port 2000, 2001 and 2002 (TCP and UDP) available on the network. When you first run CARLA in server mode, Windows will prompt you to allow the application to access these ports if they are not already accessible on your system. If your network does not provide access to port 2000, please look at FAQ section in the installation guides in the Guides folder.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].