Skip to content

Commit 8da75b7

Browse files
shmpwksoblin
authored andcommitted
fix(goal_planner): fix time_keeper race (autowarefoundation#8780) (#1555)
Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> Co-authored-by: Mamoru Sobue <hilo.soblin@gmail.com>
1 parent c75c3ef commit 8da75b7

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

planning/behavior_path_planner/autoware_behavior_path_goal_planner_module/src/goal_planner_module.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -1258,8 +1258,6 @@ bool GoalPlannerModule::hasNotDecidedPath(
12581258
const std::shared_ptr<SafetyCheckParams> & safety_check_params,
12591259
const std::shared_ptr<GoalSearcherBase> goal_searcher) const
12601260
{
1261-
universe_utils::ScopedTimeTrack st(__func__, *time_keeper_);
1262-
12631261
return checkDecidingPathStatus(
12641262
planner_data, occupancy_grid_map, parameters, ego_predicted_path_params,
12651263
objects_filtering_params, safety_check_params, goal_searcher)
@@ -2370,8 +2368,6 @@ std::pair<bool, bool> GoalPlannerModule::isSafePath(
23702368
const std::shared_ptr<ObjectsFilteringParams> & objects_filtering_params,
23712369
const std::shared_ptr<SafetyCheckParams> & safety_check_params) const
23722370
{
2373-
universe_utils::ScopedTimeTrack st(__func__, *time_keeper_);
2374-
23752371
if (!thread_safe_data_.get_pull_over_path()) {
23762372
return {false, false};
23772373
}

0 commit comments

Comments
 (0)