This page is a guide for real life experiments at the CPM Lab at the chair i11 of the RWTH Aachen.
Use the Main PC to run your real life application in the lab. It is the only PC in the room that is connected to the IPS. It is also possible to access it via remote, but also in this case, the script you want to test has to run on the Main PC.
When you enter the room the main PC is the one where the cable from the celing (IPS and labcam) are connected (it is the third PC from the entrance door when you go straight).
git clean -xdf
./build_all.bash
First step: See if your script works in simulation!!!!
If it does, proceed to:
If you have problems, refer to the diagnosis-tab. It can give a first idea where to look for errors. |
Use the RTI Tool (you find it on the main PC in applications):
The idea of the NUCs is to simulate a potent computer on a real vehicle for each vehicle. If you do not use the "NUC"-mode, all calculation will be done centralized on the main PC.Turn on NUCs
Switch on the wallplug of the server rack by using the white remote control usually close to the main PC. The NUCs start automatically and each NUC will signal the LCC individually that it is online. You can find the online NUCs in the window on the bottom next to the button "reset view" at "HLC online". When you open the menu each NUC that is online is displayed. For each vehicle there is one corresponding NUC. The IDs have to match (e.g. vehicle 6 to NUC 6).
When you start the NUCs there is a program that is called "autostart". This program requests a password or, if you connect to the main PC, is connected via a ssh connection. The program will ask the main PC if there is a new software version for the NUCs and after a potential update it forces the NUCs to give a feedback every second to the main PC in the way of " I am online (ID)", where it identifies its ID via its own IP. if this alive-signal is not sent for a specified period of time, the LCC will mark this NUC as offline. |
The NUC is supposed to simulate a potent server on a real life vehicle. This server would be usually connected via LAN. In the lab the vehicle and the NUC are seperate and therefore connected via WLAN. They use the DDS strucutre to exchange data. |
You cannot use the "Central Routing" example for the distributed calcuation, as its purpose is to be calculated centralized (that why it is called CENTRAL routing;)). If you upload it on the NUC each NUC would calculate the trajectory and collisions for only local IDs and would have no knowledge about the neighbours. SO collisions would be quite possible. |