Skip to content

Commit

Permalink
fix(goal_planner): fix time_keeper race (autowarefoundation#8780) (#1555
Browse files Browse the repository at this point in the history
)

Signed-off-by: Mamoru Sobue <[email protected]>
Co-authored-by: Mamoru Sobue <[email protected]>
  • Loading branch information
shmpwk and soblin authored Sep 25, 2024
1 parent fb559b5 commit be5ab55
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 be5ab55

Please sign in to comment.