File tree 1 file changed +2
-0
lines changed
planning/motion_velocity_smoother/src
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -200,6 +200,7 @@ rcl_interfaces::msg::SetParametersResult MotionVelocitySmootherNode::onParameter
200
200
201
201
update_param (" adjusted_max_acceleration" , p.adjusted_max_acceleration );
202
202
update_param (" adjusted_max_jerk" , p.adjusted_max_jerk );
203
+ update_param (" adjusted_max_lateral_acceleration" , p.adjusted_max_lateral_acceleration );
203
204
}
204
205
205
206
{
@@ -1124,6 +1125,7 @@ void MotionVelocitySmootherNode::onAdjustParam(
1124
1125
if (request->data && !adjustParam) {
1125
1126
smoother_->setMaxAccel (get_parameter (" adjusted_max_acceleration" ).as_double ());
1126
1127
smoother_->setMaxJerk (get_parameter (" adjusted_max_jerk" ).as_double ());
1128
+ smoother_->setMaxLatAccel (get_parameter (" adjusted_max_lateral_acceleration" ).as_double ());
1127
1129
1128
1130
adjustParam = true ;
1129
1131
} else if (!request->data && adjustParam) {
You can’t perform that action at this time.
0 commit comments