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

Trajectory coordinate transformation causes the trajectory to be unsmooth #18

Closed suannairen closed 4 months ago

suannairen commented 4 months ago

Hello, I found that when processing the past trajectory of the ego vehicle, after the global coordinates are converted into local coordinates, the trajectory will become very unsmooth, but the real trajectory in the future will be smooth after this transformation. I found that when converting the past and future global coordinates, using two different functions resulted in different results. They are convert_absolute_to_relative_poses, convert_absolute_quantities_to_relative (there may be problems) Since the trajectory of the agent vehicle is also processed using convert_absolute_quantities_to_relative, this trajectory is also not smooth. Below is the code diagram and the visualization you provided, the non-smooth trajectory that exists 13 image 9833c9f300c7b99bafefc92b627ad397 0e2c3131a48862edd2959945c9aaa667 fb8fa958f54cad65e71f47693fa5130b

How to solve this problem

MCZhi commented 4 months ago

See this issue