CPM Lab
Simulated Setup
- On the right, go to the 'Setup' tab
- Simulate some vehicles (e.g., vehicles 1, 4, 7, and 10).
- In the script path, select the HLC
<repo>/high_level_controller/examples/cpp/central_routing/build/central_routing
(substitute<repo>
with the path to the CPM Lab repository). - Click "Deploy".
- On the right, go to the 'Timer' tab
- Wait for the timer with the ID middleware to show up.
- Click "Start.
- Check that the simulation runs smoothly.
- Click "Stop".
- On the right, go to the 'Setup' tab
- Click "Kill".
Physical Setup
Repeat the test above but with real vehicles. Consult the guide for doing Physical Experiments.
MATLAB with the CPM Lab
- Start MATLAB.
- In the MATLAB file explorer, navigate to
<repo>/high_level_controller/examples/matlab/01_direct_control
(substitute<repo>
with the path to the CPM Lab repository). - In the LCC, simulate only vehicle 1.
- Follow this guide to start the HLC (with the command
main(1)
)
Overview
Content Tools