MCZhi / GameFormer-Planner

[ICCV & CVPR Workshop] Learning-enabled Interactive Prediction and Planning Framework for Autonomous Vehicles
https://mczhi.github.io/GameFormer/
MIT License
143 stars 17 forks source link

ego's relative speed, acceleration #15

Closed ZhengYinan-AIR closed 5 months ago

ZhengYinan-AIR commented 5 months ago

Hi @MCZhi ! Great work! I'm curious why the relative speed and acceleration are not calculated for the ego trajectory during the data processing stage. 20240320-202024

MCZhi commented 5 months ago

Hi, @ZhengYinan-AIR, thank you for your interest. This is because speed and acceleration data are measured in the ego vehicle's local coordinate system, so they are already relative quantities.

ZhengYinan-AIR commented 5 months ago

Thank you for your reply. According to my understanding, egocentric means that the coordinates of all moments are converted into the relative coordinates of the current moment, which is the ego pose. In nuplan, the ego vehicle speed and acceleration are relative quantities relative to their respective timestamps, not relative to the current moment.

Therefore, perhaps it is necessary to convert to relative velocity and acceleration at the current moment? @MCZhi

MCZhi commented 5 months ago

@ZhengYinan-AIR, yes, that makes sense. It's probably more reasonable to convert the ego vehicle's historical velocities and accelerations relative to the current moment. You can modify that as you need.

ZhengYinan-AIR commented 5 months ago

Thanks, it may not have much impact if the velocity coordinates are not converted to ego-centric.