This repository contains implementations of control systems for autonomous vehicles, focusing on two key aspects: Lane Changing Control (Lateral position controller) and Longitudinal position controller (ACC). These systems utilize PID controllers to ensure smooth and safe vehicle operation.
Lateral_Controller/
: Contains the Lane Changing Control project.ACC_Longitudinal_Controller/
: Contains the Adaptive Cruise Control project.
This project implements a lane-changing control system for autonomous vehicles using PID controllers to manage the lateral position and heading angle. The system ensures smooth and stable lane changes, even at higher speeds, using the bicycle model for vehicle dynamics.
- PID control for lateral position and heading angle.
- Bicycle model for vehicle dynamics.
- Simulation and visualization of lane changing behavior.
This project implements an Adaptive Cruise Control system for autonomous vehicles using PID controllers to manage vehicle speed and maintain a safe distance from the vehicle ahead. The system adapts to changing traffic conditions to ensure smooth and safe driving.
- PID control for vehicle speed and distance management.
- Simulation and visualization of ACC in various traffic scenarios.
For future iterations, consider implementing a Model Predictive Control (MPC) system. MPC offers advantages in handling nonlinear dynamics and constraints, potentially improving control accuracy and response times in complex driving scenarios.
To run simulations:
cd ACC_PID
python acc_control.py
exit