Skip to content

Modular autonomous driving system in CARLA with enhanced perception, planning, and control. Handles pedestrians, cyclists, traffic signs, and complex scenarios. Inspired by Autoware architecture, evaluated on diverse routes with improved rule compliance and reduced infractions.

License

Notifications You must be signed in to change notification settings

mbcienz/Autonomous-Driving-System-in-Carla-Simulation-Environment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CARLA Simulation — Automatic Control L6

This project enables a CARLA simulation for automatic vehicle control along a predefined route, using Docker containers and a web interface to visualize the front camera. Refer to Group07_Report.pdf for detailed explaination of the entire system.


Project Setup

  1. Start the Docker containers (CARLA server + client):

    ./docker_run_server.sh
    ./docker_run_client.sh
    docker attach <CONTAINER ID client>
  2. Extract the Progetto folder into the following path:

    /workspace/team_code/carlaContolL6
    
  3. Navigate to the Progetto folder:

    cd workspace/team_code/carlaContolL6/Progetto
    

Route Modification

To set or modify the vehicle route:

  • You can change the XML file path directly in:

    run_test.sh
  • Alternatively, you can edit the existing XML file:

    Progetto/routes/route_controlling.xml
    
  • All the routes used to test the agent in simulation are avaiable in the "routes" directory.


Cleaning Outputs

Before each simulation, clean the output from previous runs using:

./clean.sh

Starting the Simulation

Start the test

Launch the simulation:

nohup python3 server_http.py > ./log/output_server.log 2>&1 &
nohup ./run_test.sh > ./log/output_run_test.log 2>&1 &

Make sure port 9818 is free for the HTTP server. To view the front camera stream from a browser:

http://172.16.174.233:9818/

Modifying Paths

To modify file paths or references, check and edit:

run_test.sh

Simulation Outputs

The outputs generated by the simulation are saved in the folders:

Progetto/results
Progetto/log

About

Modular autonomous driving system in CARLA with enhanced perception, planning, and control. Handles pedestrians, cyclists, traffic signs, and complex scenarios. Inspired by Autoware architecture, evaluated on diverse routes with improved rule compliance and reduced infractions.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published