diff --git a/planning/obstacle_stop_planner/src/node.cpp b/planning/obstacle_stop_planner/src/node.cpp index d8c5bd14483ca..45a9757175f81 100644 --- a/planning/obstacle_stop_planner/src/node.cpp +++ b/planning/obstacle_stop_planner/src/node.cpp @@ -663,7 +663,7 @@ void ObstacleStopPlannerNode::searchObstacle( const auto now = this->now(); const bool is_stopping = (std::fabs(current_velocity_ptr->twist.twist.linear.x) < 0.001); - const double history_erase_sec = (is_stopping) ? node_param_.chattering_threshold : 0.0; + const double history_erase_sec = (is_stopping) ? node_param_.chattering_threshold : 0.0; updateObstacleHistory(now, history_erase_sec); for (size_t i = 0; i < decimate_trajectory.size() - 1; ++i) {