Skip to content

Commit bfff4bf

Browse files
committed
fix
Signed-off-by: Go Sakayori <gsakayori@gmail.com>
1 parent 85830a4 commit bfff4bf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

planning/motion_velocity_smoother/src/motion_velocity_smoother_node.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ rcl_interfaces::msg::SetParametersResult MotionVelocitySmootherNode::onParameter
200200

201201
update_param("adjusted_max_acceleration", p.adjusted_max_acceleration);
202202
update_param("adjusted_max_jerk", p.adjusted_max_jerk);
203+
update_param("adjusted_max_lateral_acceleration", p.adjusted_max_lateral_acceleration);
203204
}
204205

205206
{
@@ -1124,6 +1125,7 @@ void MotionVelocitySmootherNode::onAdjustParam(
11241125
if (request->data && !adjustParam) {
11251126
smoother_->setMaxAccel(get_parameter("adjusted_max_acceleration").as_double());
11261127
smoother_->setMaxJerk(get_parameter("adjusted_max_jerk").as_double());
1128+
smoother_->setMaxLatAccel(get_parameter("adjusted_max_lateral_acceleration").as_double());
11271129

11281130
adjustParam = true;
11291131
} else if (!request->data && adjustParam) {

0 commit comments

Comments
 (0)