Skip to content

Commit

Permalink
Fix precision of inserted stop point
Browse files Browse the repository at this point in the history
Signed-off-by: Maxime CLEMENT <[email protected]>
  • Loading branch information
maxime-clem committed Nov 15, 2023
1 parent d6607d2 commit 441b876
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,7 @@ bool OutOfLaneModule::modifyPathVelocity(PathWithLaneId * path, StopReason * sto
path->points, point_to_insert->point.point.pose.position) +
1;
planning_utils::insertVelocity(
*path, point_to_insert->point, point_to_insert->slowdown.velocity, path_idx,
params_.precision);
*path, point_to_insert->point, point_to_insert->slowdown.velocity, path_idx);
if (point_to_insert->slowdown.velocity == 0.0) {
tier4_planning_msgs::msg::StopFactor stop_factor;
stop_factor.stop_pose = point_to_insert->point.point.pose;
Expand Down

0 comments on commit 441b876

Please sign in to comment.