huawei-noah / SMARTS

Scalable Multi-Agent RL Training School for Autonomous Driving
MIT License
925 stars 186 forks source link

Convert vehicle types #1269

Open liu-allan opened 2 years ago

liu-allan commented 2 years ago

Is your feature request related to a problem? Please describe. There are two vehicle types used, see VehicleConfig in smarts/core/vehicle.py and VehicleType in envision/types.py. They have a different set of keys for the vehicle types so we need a way to convert between the types.

Describe the solution you'd like Function to convert types or unify vehicle types

Describe alternatives you've considered

Additional context https://github.com/huawei-noah/SMARTS/runs/5116001501?check_suite_focus=true

sah-huawei commented 2 years ago

see Issue #1270 for a bit more detail.