-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trajectory coordinate transformation causes the trajectory to be unsmooth #9
Comments
Hello @suannairen, thank you for bringing this to my attention. Since I am using the functions provided by the nuPlan devkit, I am not exactly sure why the noise is occurring. However, I believe that the lack of smoothness in the trajectories should not negatively affect the network's performance. Nevertheless, if you still wish to obtain smoother trajectories, you can try using the |
I have seen this non-smoothness in nuPlan before, often due to floating-point precision. When transforming from global to local coordinates (or vice versa), it's best to use |
@
Thank you! |
Thank you! |
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
How to solve this problem
The text was updated successfully, but these errors were encountered: