This documentation provides technical information in detail of the Cyber-Physical Mobility Lab at the Chair of Embedded Software at RWTH Aachen University. In our Lab it is possible to test and evaluate strategies for connected autonomous driving. Therefore we provide remote access which you can find on our website of the CPM Lab.
In this documentation we show you how to setup your environement for simulation only as well as for a full scale setup. We provide tutorials to get into our software quickly. You can also have a deeper look into special topics which we present in In-Depth Tutorials. If you have questions or feedback please let us know: cpm-support(at)embedded(dot)rwth-aachen(dot)de.
As you can see in the picture the Lab consists of the Master PC which provides the access to the infrastructure. It processes information from the Indoor Positioning System (IPS) and information from our user interface called the Lab Control Center (LCC). You can upload your program in the LCC which will send the commands to the vehicles Data Distribution Service (DDS) of the RTI Connext which works similar to a cloud system by providing all information to all members of the service. All vehicles and NUCs participate in the DDS as well. The NUCs process the commands and execute your program. In each NUC a local DDS provides the information with the middleware. Once all data is evaluated it is shared with the central DDS and sent to the vehicle.
The software for each vehicle is distributed between three major components:
- The High Level Controller runs on an Intel NUC PC, which is logically associated with a particular vehicle, but located in a shelf next to the track. The HLC is responsible for decision making and coordination with other HLCs.
- The Mid Level Controller runs onboard the vehicle on a Raspberry Pi Zero W, which is connected via WiFi. The MLC is responsible for accurately following the reference trajectory given by the HLC.
- The Low Level Controller runs onboard on an ATmega2560. It is responsible for the vehicle hardware interaction and abstraction.
Two supporting software components run on a separate "Master PC":
- The Indoor Positioning System measures the vehicle poses using a camera.
- The Lab Control Center Introduction gives the user an overview of the current operational state of the lab.
All software componants use our CPM library (cpm-lib). The CPM-lib provides functions to communicate with the vehicle and the IPS system. You can find functions for localisation and vehicle states.