Skip to content

Commit

Permalink
Fix pull-out path planning bug in
Browse files Browse the repository at this point in the history
StartPlannerModule.cpp

Signed-off-by: kyoichi-sugahara <[email protected]>
  • Loading branch information
kyoichi-sugahara committed Nov 16, 2023
1 parent 212bf46 commit 77bc639
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,11 @@ void StartPlannerModule::updateData()
// TODO(Sugahara): this member variable should be updated when the path is updated
last_pull_out_start_update_time_ = std::make_unique<rclcpp::Time>(clock_->now());

if (time_has_passed_from_last_path_update && status_.found_pull_out_path) {
if (time_has_passed_from_last_path_update && !status_.found_pull_out_path) {
planPathFromStartPose();
}
behavior_path_planner::utils::start_goal_planner_common::logPullOutStatus(
status_, getLogger(), rclcpp::Logger::Level::Error);
}

void StartPlannerModule::planPathFromStartPose()
Expand Down

0 comments on commit 77bc639

Please sign in to comment.