We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd76aee commit c468cc5Copy full SHA for c468cc5
common/motion_utils/include/motion_utils/trajectory/trajectory.hpp
@@ -1066,7 +1066,7 @@ inline boost::optional<size_t> insertStopPoint(
1066
}
1067
1068
for (size_t i = *stop_idx; i < points_with_twist.size(); ++i) {
1069
- points_with_twist.at(i).longitudinal_velocity_mps = 0.0;
+ tier4_autoware_utils::setLongitudinalVelocity(0.0, points_with_twist.at(i));
1070
1071
1072
return stop_idx;
@@ -1099,7 +1099,7 @@ inline boost::optional<size_t> insertStopPoint(
1099
1100
1101
1102
1103
1104
1105
0 commit comments