Skip to content

Commit c25a8a1

Browse files
authored
fix(behavior_velocity_planner): fix uninitialized smoother param (#7078)
Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
1 parent 982b5c9 commit c25a8a1

File tree

1 file changed

+1
-0
lines changed
  • planning/behavior_velocity_planner/src

1 file changed

+1
-0
lines changed

planning/behavior_velocity_planner/src/node.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@ void BehaviorVelocityPlannerNode::onParam()
311311
// lock(mutex_);
312312
planner_data_.velocity_smoother_ =
313313
std::make_unique<motion_velocity_smoother::AnalyticalJerkConstrainedSmoother>(*this);
314+
planner_data_.velocity_smoother_->setWheelBase(planner_data_.vehicle_info_.wheel_base_m);
314315
}
315316

316317
void BehaviorVelocityPlannerNode::onLaneletMap(

0 commit comments

Comments
 (0)