Skip to content

Commit

Permalink
fix(behavior_velocity_planner): fix uninitialized smoother param
Browse files Browse the repository at this point in the history
Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
  • Loading branch information
soblin committed May 21, 2024
1 parent 3b1f60c commit 4a359d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions planning/behavior_velocity_planner/src/node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ void BehaviorVelocityPlannerNode::onParam()
// lock(mutex_);
planner_data_.velocity_smoother_ =
std::make_unique<motion_velocity_smoother::AnalyticalJerkConstrainedSmoother>(*this);
planner_data_.velocity_smoother->setWheelBase(planner_data_->vehicle_info_.wheel_base_m);
}

void BehaviorVelocityPlannerNode::onLaneletMap(
Expand Down

0 comments on commit 4a359d8

Please sign in to comment.