Skip to content

Commit

Permalink
fix(goal_planner): remove time keeper in non main thread (autowarefou…
Browse files Browse the repository at this point in the history
…ndation#8610)

Signed-off-by: kosuke55 <[email protected]>
  • Loading branch information
kosuke55 committed Aug 26, 2024
1 parent e7a489f commit 4035376
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1243,8 +1243,6 @@ bool GoalPlannerModule::hasDecidedPath(
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 @@ -1277,8 +1275,6 @@ DecidingPathStatusWithStamp GoalPlannerModule::checkDecidingPathStatus(
const std::shared_ptr<SafetyCheckParams> & safety_check_params,
const std::shared_ptr<GoalSearcherBase> goal_searcher) const
{
universe_utils::ScopedTimeTrack st(__func__, *time_keeper_);

const auto & prev_status = thread_safe_data_.get_prev_data().deciding_path_status;
const bool enable_safety_check = parameters.safety_check_params.enable_safety_check;

Expand Down

0 comments on commit 4035376

Please sign in to comment.