Skip to content

Commit

Permalink
fix(goal_planner): fix time_keeper race (autowarefoundation#8780)
Browse files Browse the repository at this point in the history
Signed-off-by: Mamoru Sobue <[email protected]>
  • Loading branch information
soblin authored and shmpwk committed Sep 25, 2024
1 parent fb559b5 commit 1058958
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1259,8 +1259,6 @@ bool GoalPlannerModule::hasNotDecidedPath(
const std::shared_ptr<SafetyCheckParams> & safety_check_params,
const std::shared_ptr<GoalSearcherBase> goal_searcher) const
{
universe_utils::ScopedTimeTrack st(__func__, *time_keeper_);

return checkDecidingPathStatus(
planner_data, occupancy_grid_map, parameters, ego_predicted_path_params,
objects_filtering_params, safety_check_params, goal_searcher)
Expand Down Expand Up @@ -2371,8 +2369,6 @@ std::pair<bool, bool> GoalPlannerModule::isSafePath(
const std::shared_ptr<ObjectsFilteringParams> & objects_filtering_params,
const std::shared_ptr<SafetyCheckParams> & safety_check_params) const
{
universe_utils::ScopedTimeTrack st(__func__, *time_keeper_);

if (!thread_safe_data_.get_pull_over_path()) {
return {false, false};
}
Expand Down

0 comments on commit 1058958

Please sign in to comment.