Skip to content

Commit fdd665d

Browse files
fix: remove ScopedTimeTrack which causes goal planner crash (#1599)
1 parent bad0007 commit fdd665d

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

planning/behavior_path_planner/autoware_behavior_path_goal_planner_module/src/goal_planner_module.cpp

-8
Original file line numberDiff line numberDiff line change
@@ -1244,8 +1244,6 @@ bool GoalPlannerModule::hasDecidedPath(
12441244
const std::shared_ptr<SafetyCheckParams> & safety_check_params,
12451245
const std::shared_ptr<GoalSearcherBase> goal_searcher) const
12461246
{
1247-
universe_utils::ScopedTimeTrack st(__func__, *time_keeper_);
1248-
12491247
return checkDecidingPathStatus(
12501248
planner_data, occupancy_grid_map, parameters, ego_predicted_path_params,
12511249
objects_filtering_params, safety_check_params, goal_searcher)
@@ -1261,8 +1259,6 @@ bool GoalPlannerModule::hasNotDecidedPath(
12611259
const std::shared_ptr<SafetyCheckParams> & safety_check_params,
12621260
const std::shared_ptr<GoalSearcherBase> goal_searcher) const
12631261
{
1264-
universe_utils::ScopedTimeTrack st(__func__, *time_keeper_);
1265-
12661262
return checkDecidingPathStatus(
12671263
planner_data, occupancy_grid_map, parameters, ego_predicted_path_params,
12681264
objects_filtering_params, safety_check_params, goal_searcher)
@@ -1278,8 +1274,6 @@ DecidingPathStatusWithStamp GoalPlannerModule::checkDecidingPathStatus(
12781274
const std::shared_ptr<SafetyCheckParams> & safety_check_params,
12791275
const std::shared_ptr<GoalSearcherBase> goal_searcher) const
12801276
{
1281-
universe_utils::ScopedTimeTrack st(__func__, *time_keeper_);
1282-
12831277
const auto & prev_status = thread_safe_data_.get_prev_data().deciding_path_status;
12841278
const bool enable_safety_check = parameters.safety_check_params.enable_safety_check;
12851279

@@ -2375,8 +2369,6 @@ std::pair<bool, bool> GoalPlannerModule::isSafePath(
23752369
const std::shared_ptr<ObjectsFilteringParams> & objects_filtering_params,
23762370
const std::shared_ptr<SafetyCheckParams> & safety_check_params) const
23772371
{
2378-
universe_utils::ScopedTimeTrack st(__func__, *time_keeper_);
2379-
23802372
if (!thread_safe_data_.get_pull_over_path()) {
23812373
return {false, false};
23822374
}

0 commit comments

Comments
 (0)