ucla-mobility / OpenCDA

A generalized framework for prototyping full-stack cooperative driving automation applications under CARLA+SUMO.
Other
1.01k stars 198 forks source link

how to save the data #173

Closed linchunmian closed 2 years ago

linchunmian commented 2 years ago

Hi, author. When the simulation processing, how to save the image and point cloud data, as well as the annotation file?

DerrickXuNu commented 2 years ago

You can check v2xp_datadump_town06_carla.py to see how to save the data. Please notice:

  1. If you are using OpenCDA to generate and release your own dataset, then you have to get our permission to re-distribute. As clearly stated in our License, we don't allow redistribution of our codes or data generated by OpenCDA without our permission.
  2. If you find our OpenCDA/Opencood/V2X-ViT is useful to your research, we'd appreciate you could star and cite our codebase.
linchunmian commented 2 years ago

Many thanks. Another concern is how to select different traffic scenarios (e.g., town id) and switch various simulation settings (i.e., single-lane, platoon, etc.). There is no data generation if adopting such 'platoon_joining_2lanefree_carla' or 'single_2lanefree_carla' as testing_scenario parameter.

DerrickXuNu commented 2 years ago

no, you have to adopt the setting in the v2xp_datadump_town06_carla.py to other scripts