Skip to content

ShashankShatraboina/Autonomous-Car-Driving

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

Autonomous Car Driving :

Screenshot 2025-07-05 172215

Technical Components

graph LR
A[Perception] -->|Detected Objects| B[Planning]
B -->|Target Path| C[Control]
C -->|Vehicle Motion| A
Loading
  1. Perception System

    • Obstacle detection within sensor range
    • Traffic light state recognition
    • Distance calculation to objects
  2. Planning System

    • Reference path generation
    • Dynamic path modification for obstacle avoidance
    • Traffic light response logic (stop/slow down)
  3. Control System

    • Lookahead point tracking
    • Steering angle calculation
    • Speed regulation with acceleration profiles

🛠️ Installation

Prerequisites

Ensure you have Python 3.7+ and the required libraries:

pip install matplotlib numpy

🚀 Running the Simulator

To run the simulation:

python Car.py

Make sure your file is named appropriately, or change the filename accordingly.


📁 Project Structure

self-driving-car-simulator/
├── Car.py      # Main simulation code
├── README.md                # Project documentation

Dependencies

  • Python 3.7+
  • NumPy
  • Matplotlib

Installation & Usage

git clone https://github.com/yourusername/Car.git
cd Car
pip install -r requirements.txt
python simulation.py

Simulation Output

The animation shows:

  1. Autonomous vehicle (blue rectangle)
  2. Planned path (blue line)
  3. Obstacles (red circles)
  4. Traffic light (color-coded indicator)
  5. Lane markings (dashed lines)
  6. Dynamic speed display

Contribution

Contributions are welcome! Please fork the repository

About

Autonomous car simulation using perception, planning, and control systems to handle obstacle detection, traffic lights, and path tracking. Built with Python, NumPy, and Matplotlib to visualize real-time autonomous vehicle decision-making and navigation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages