Page History
CPM Lab
Simulated Setup
- Start the LCC.
- On the right, go to the 'Setup' tab 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
Physical Setup
This test is designed to test most of the lab's infrastructure, including the Indoor Positioning System, the Lab Control Center and the Trajectory Tracking Controller on the Raspberry Pi. Repeat the test above but with real vehicles. Consult the guide for doing Physical Experiments.
MATLAB with the CPM Lab
...
MATLAB can be tested with an example HLC.
- Start the LCC.
- On the right, go to the Setup tab
- Simulate a vehicle (e.g., vehicle 7).
- In the MATLAB file explorer, navigate to script path, select the HLC
<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)
)Run the HLC
Overview
Content Tools