-
Notifications
You must be signed in to change notification settings - Fork 38
4 Integration with Driving Simulation
In order to give one step forward in our development, we have decided to integrate it with a driving simulator that allow us to extract preselected "Vehicle Data" to be used as complementary parameters when infering "potentially dangerous situations" along with driver's behaviors detected.
For this purpose we have selected "American Truck Simulator" (ATS), configured with a SDK plug-in to publish telemetry data using ROS2. These are the parameters defined as "Vehicle Data":
- Acceleration
- Speed/RPM
- Ignition Status
- Trailer engage status
- X/Y position
- Trailer Engament
- Break Status
First of all, we have install the ATS through Steam platform which allow us to configure the launching options for the simulation.
Once we have installed the ATS, we will need to configure ROS2 by following the steps definedfor the existing linux version as it is descriced in the following link: ROS2 configuration.
After installing ROS2, you will be able to build and to test your own packages by using Colcon.
Next, it's time to configure the SDK plugin as described in the following link: Building Instructions.
Finally, before launching the ATS, we recommend to open a new terminal console for running the Driver Assistance as it described in the our Repository
Here you have an example of the simulation, the SDK plugin and the Driver Assistance software while running simultaneously.