Open shtokuda opened 2 months ago
Thank you for contributing to the Autoware project!
🚧 If your pull request is in progress, switch it to draft mode.
Please ensure:
If we only compute world coordinates, we can use the mpc result without integrating for the theta value. However, when I tested using theta from the mpc result in Psim, predicted_trajectories were not that different from integrating.
Description
In this PR, I fixed the predicted trajectory derived from mpc's outputs. With the previous calculation method, predicted_trajectories oscillate when a vehicle is running at low speed. I use steer_angle derived from mpc output instead of Euler integration.
Related links
Parent Issue:
How was this PR tested?
I checked in Psim white: /control/trajectory_follower/controller_node_exe/debug/predicted_trajectory_in_frenet_coordinate sky blue: /control/trajectory_follower/controller_node_exe/debug/resampled_reference_trajectory orange: /control/trajectory_follower/lateral/predicted_trajectory output.webm
Notes for reviewers
None.
Interface changes
None.
Effects on system behavior
None.