Record new data from CARLA
- Start the carla simulator
- Spawn some traffic from the carla examples
python3 spawn_npc.py -n 30 -w 30
- Spawn the ego vehicle
python3 manual_control.py
- Start the autopilot with key
P
and log data at interesting statesCtrl + R
- Record the sensor data with key
R
while replaying the logCtrl + P
. - Save the data of the output folder
_out
- Repeat (5) and (6) for a different weather condition (Change weather with key
C
)
Having the same data for different weather conditions allows us to reuse the ROI labels that we created once.
To replay a recording file after restarting the manual control the hero actor need to be attached. Use the example replayer and our manual control with hero attach option
python3 start_replaying.py -f <manual_recording.rec>
python3 manual_control.py --attach_ego_vehicle