Page History
...
Prepare the CPM Lab
...
- Start
...
- the NUCs and switch with the white remote control by turning on the wall plug number 1.
- Start the router with the white remote control by using turning on the wallplug using the white remote control (position 2)wall plug number 2.
- Start the main PC Computation Hardware.
- Log in as
cpm-userstud
. - Build your desired version of the CPM Lab.
- Start the LCC.
Experiment
Simulated
Make sure that your HLC works in simulation.
...
Simulate your desired vehicles, choose your desired script and follow this guide to start the experiment. All real vehicles need to be turned off for this, as they share the DDS interface with simulated vehicles.
Real
If you want to record a video of your experiment
- Toggle the "Record" switch switch in the Lab Camera section of the Setup Tab tab of the LCC.
- After you stop the experiment, you find the video in
/tmp/cpm_lab_recordings/
...
- Turn the vehicles on and position them in the driving area.
- Turn on "lab mode" in the Setup Tab tab of the LCC to activate the IPS.
- Wait until all vehicles are shown at their correct poses in the LCC.
Load Choose your desired script and click "deploy"follow this guide to start the experiment.
Note |
---|
Always ensure that the vehicles' batteries are loaded. If the battery percentage drops below 40%, charge the vehicle after your experiment. |
Info | ||
---|---|---|
| ||
|
Find errors at RTI DDS transmission
Use the RTI Tool (you find it on the main PC in applications):
- Select "admin console"
- Go to domain and View Preferences
- Change the DDS Domain (on the bottom of the admin console) if necessary (the main PCs ID is 21, if you are not on the main PC you find it in /etc/profile)
- Subscribe to the topic you want to listen to (keep the "advanced settings" unchanged)→ now you can choose the selected field if it is not already displayed from the dropdown menu.
Using NUCs for distributed calculation
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).
...
Info | ||
---|---|---|
| ||
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. |
Use the NUCs
- You can use the NUCs if you choose the "deploy remote" option. The script will be sent to the NUCs for calculation instead of being calculated on the main PC centrally.
- Start your program choosing "Deploy" . The script will be loaded to the NUC and started.
- Switch to the timer-tab in the LCC. When all NUC are ready ("WAITING") select "Start".
- To finish your simulation hit either "Stop" in the timer-tab or "Kill" in the setup-tab.
Info | ||
---|---|---|
| ||
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. |
Info | ||
---|---|---|
| ||
The Matlab version on the NUCs can be selected from the installed ones using the startup script. See Specifying the matlab version for HLCs on the NUCs. |