The curvature value of the trajectory output by the MPT algorithm exceeds the limit. #5312
-
when i set max_steer_angle in param of MPT algorithm , something wrong . our vehicle max_steer_angle is 0.3755, However ,Using this parameter will result in abnormal algorithm results。 in our vehicle info : I am trying to optimize the following trajectory,there are points in the trajectory that exceed the limit,such like index: 71ref_k: -0.143847delta_ref_k: -0.671094 in < input trajectory > The result of MPT optimization, Uex, did not exceed the limit, but there are many points that happen to be within the limit values such like Uex[50] = -0.3755 in <The result of MPT optimization, Uex: > However, the trajectory obtained through the function getMPTPoints has many points that exceed the limit value,such like index: 77ref_k: -0.104724delta_ref_k: -0.524142 in ============================================================================ index: 1ref_k: -0.0223623delta_ref_k: -0.122819
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@JokerWhy233 I guess the implementation has some bugs that cause the heavy calculation. |
Beta Was this translation helpful? Give feedback.
@JokerWhy233
You are right. Currently, due to the heavy calculation of MPT, the max steering angle constraint is not applied to MPT.
https://github.com/autowarefoundation/autoware_launch/blob/80a387e10c6a2615d3cb45854fecc5137c5a68f4/autoware_launch/config/planning/scenario_planning/lane_driving/motion_planning/autoware_path_optimizer/path_optimizer.param.yaml#L39-L40
I guess the implementation has some bugs that cause the heavy calculation.