How to Collect Data with Control Calibration Sensor
Control Calibration Sensor is for collecting control data to generate control calibration table which can be referred by control module to decide throttle, brake and steering command.
Setup#
- Check if there is Wide Flat Map
ls /apollo/modules/map/data/wide_flat_map
Instructions#
-
Add
WideFlatMap
into WebUI. The assetbundle is available on the content website -
Create a vehicle with a
CyberRT
bridge type and add total control calibration criteria into ego vehicle's sensor parameters. -
Start Apollo docker container
/apollo/docker/scripts/dev_start.sh
-
Go into Apollo docker container with
/apollo/docker/scripts/dev_into.sh
-
Run Cyber bridge
/apollo/scripts/bridge.sh
-
Run localization module
mainboard -d /apollo/modules/localization/dag/dag_streaming_rtk_localization.dag
-
Run dreamview
bootstrap.sh
-
In a browser, navigate to Dreamview at
http://localhost:8888/
-
Choose vehicle model.
-
Choose Map as Wide Flat Map.
-
Choose setup mode to Vehicle Calibration.
-
In Others tab, choose Data Collection Monitor
-
In Modules tab, turn Recorder on.
-
In the Simulator's WebUI, create a simulation with
WideFlatMap
and the vehicle created in Step 2 (with the bridge connection string to the computer running Apollo). -
In Simulator's WebUI, start simulation.
-
You can see progress bar filled as Apollo collects data. Once all progress bars are filled, vehicle control calibration is done.