Skip to content

rzninvo/Digital-Twin-of-a-Traffic-Scene-Using-RSU-and-AWSIM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Digital-Twin of a Traffic Scene Using RSU, AWSIM, And Autoware

B. Sc. Thesis concerning the semi-automatic creation of a digital twin of a traffic scene near Amirkabir University of Technology

Project Proposal Accepted at 5/11/2023

Introduction:

In the rapidly evolving landscape of Intelligent Transportation Systems (ITS), traffic management, and autonomous vehicles, realistic simulation environments are pivotal for testing and advancing cutting-edge technologies. This thesis introduces a practical approach on creating a Digital Twin of a Traffic Scene, enabling high-fidelity simulations of real-world traffic scenarios.

Key Components:

  • Ouster Lidar Data Integration: Real-time conversion of Ouster Lidar .pcap data to PointCloud2 ROS2 topics.
  • Dynamic Object Detection: Detection of 3D objects in real-time using Autoware's Perception Module with self-made launchers specifically designed to accept any kind of Lidar PointCloud2 data.
  • AWSIM Integration: Seamless integration of tracked objects into AWSIM, a Unity-based simulator.

Project Goals:

  • Realism: Accurate modeling of real-world traffic conditions captured by sensor data.
  • Automation: An automatic methodology for real-time data transformation and object integration.
  • Validation: Utilization of innovative tools for effective validation and testing.

Significance:

  • Enhances the testing of ITS and traffic management algorithms in a dynamic and realistic virtual environment.
  • Provides a valuable platform for autonomous vehicle development, training, and adaptation to region-specific traffic scenarios.
  • Eliminates the need for synthesized traffic conditions and labor-intensive simulation setups.

This project presents an opportunity to explore the realms of digital twinning, revolutionizing how we simulate and analyze traffic scenarios for the benefit of future transportation systems and autonomous vehicles.

Tutorial

First, Try the tutorial from here:
AUT-DT Document - Quick Start Demo

Documentation

AUT-DT Documentation

Notes

(LATEST UPDATE) The real time simulation (Semi Digital Twin) for Amirkabir University of Technology Rasht Street (GIF):

RASHT_DT_DEMO

The real time simulation (Semi Digital Twin) for an intersection demo:

real_time_intersection_simulation_AWSIM_Compressed.mp4

The real time detection for an intersection demo:

real_time_detection_intersection.mp4

The real time detection for a driving car demo:

real_time_detection_demo_driving.mp4

The AWSIM Demo After Configurating Everything

AWSIM_Demo.mp4

Project Progress and Timechart:

  • Step 1 : Getting Lidar input data from our Computer Engineering faculty as a demo and attempting to create it's 3D model.
    HALF DONE! Currently requesting my university to give us a license to record a one-hour lidar recording. The 3D modeling comes after!

  • Step 2 : Finishing the Robotics Course and learning ROS.
    DONE!

  • Step 3 : Setting up AWSIM and it's required libraries.
    DONE!

  • Step 4 : Learning ROS2 Humble and the architecture behind Autoware and AWSIM.
    DONE!

  • Step 5 : Learning PCL and converting pcap recordings to PointCloud2 ROS2 Topics and publishing it.
    DONE!

  • Step 6 : Implementing the real-time 3D detection and tracking using CenterPoint.
    DONE!

  • Step 7 : Learning Unity
    DONE!

  • Step 8 : Added the autoware_auto_perception_msgs to the Ros2ForUnity Plugin in AWSIM.
    DONE!

  • Step 9 : Creating a new sample scene in which any Tracked Object in Autoware with the confidence of 70+, Spawns a Vehicle.
    DONE!

  • Step 10 : Making a SLAM map based on the recorded pcap file and creating a Lanelet2 Map using the Tier4 website.