A Real-Time Simulation Environment for Autonomous Vehicles in Highly Dynamic Driving Scenarios
Thomas Herrmann, Technical University of Munich
Michael Lüthy, Speedgoat
In May 2018, a group of researchers from the Technical University of Munich (TUM) won the first Roborace Human + Machine Challenge. TUM's autonomous driving software stack manages environment perception, autonomous navigation, and trajectory tracking.
The ability to virtually test the complete autonomous driving software stack, while relying on high-fidelity simulations of the vehicle and its surroundings, is of major importance whenever developing autonomous driving systems. This talk presents a hardware-in-the-loop (HIL) environment based on scalable and expandable hardware that leverages an integrated software solution.
The full autonomous driving stack is simulated in two separate hardware target computers, which mimic the real technical setup of the Robocar—an NVIDIA® Drive™ PX2 and a Speedgoat real-time target machine. The Mobile real-time target machine, designed specifically to work with Simulink Real-Time™, acts as the vehicle ECU, translating the medium-term desired trajectories into immediate commands for the vehicle actuators though real-time CAN controllers. The NVIDIA Drive PX2 is responsible for tasks such as trajectory planning and sensor processing. Communication between both units is handled by real-time UDP.
A second Speedgoat target machine is used to simulate the vehicle dynamics as a reaction to the vehicle ECU's inputs. This real-time simulator also features sensor and actuator emulators, which make the software think it is operating in the real world with realistic data streams. The physical and behavioral modeling is handled with Simulink® and Vehicle Dynamics Blockset™, with Simulink Real-Time again enabling the fast prototyping onto the real-time target.
An additional GPU server implements the environment model of the racetrack while providing a full 3D visualization. A twin representation of the real-world racetrack can be easily built using the Level Editor in the Unreal Engine® by importing track data captured from the vehicle sensors.
Recorded: 11 Apr 2019
Related Products
Learn More
Featured Product
MATLAB
Up Next:
Related Videos:
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)