metadriverse / scenarionet

ScenarioNet: Scalable Traffic Scenario Management System for Autonomous Driving
Apache License 2.0
192 stars 23 forks source link

normalize all positions with ego car's first frame position as origin #56

Closed QuanyiLi closed 9 months ago

QuanyiLi commented 9 months ago

There is a function ScenaioDescription.centralize_to_ego_car_initial_position() which should be called after processing all scenarios, especially Waymo Scenarios.

pengzhenghao commented 9 months ago

why?

pengzhenghao commented 9 months ago

Some works translate to ego car's 11th step position in Waymo scenarios

QuanyiLi commented 9 months ago

The simulator needs to centralize all elements to (0,0) so the terrain can be generated. But No need to do this now. We can normalize them on the simulator side.