From 5945f7fb5ae2848efabce9e6f991abc108e96f3b Mon Sep 17 00:00:00 2001 From: Yuki Takagi Date: Wed, 13 Mar 2024 18:57:17 +0900 Subject: [PATCH] fix speling Signed-off-by: Yuki Takagi --- .../behavior_path_dynamic_avoidance_module/scene.hpp | 4 ++-- .../behavior_path_dynamic_avoidance_module/src/scene.cpp | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/planning/behavior_path_dynamic_avoidance_module/include/behavior_path_dynamic_avoidance_module/scene.hpp b/planning/behavior_path_dynamic_avoidance_module/include/behavior_path_dynamic_avoidance_module/scene.hpp index a07de236f4f19..08f25b1ded086 100644 --- a/planning/behavior_path_dynamic_avoidance_module/include/behavior_path_dynamic_avoidance_module/scene.hpp +++ b/planning/behavior_path_dynamic_avoidance_module/include/behavior_path_dynamic_avoidance_module/scene.hpp @@ -357,9 +357,9 @@ class DynamicAvoidanceModule : public SceneModuleInterface ObjectBehaviorType getLabelAsTargetObstacle(const uint8_t label) const; void registerLaneDriveObjects(const std::vector & prev_objects); void registerFreeRunObjects(const std::vector & prev_objects); - void determineWheterToAvoidAgainstLaneDriveObjects( + void determineWhetherToAvoidAgainstLaneDriveObjects( const std::vector & prev_objects); - void determineWheterToAvoidAgainstFreeRunObjects( + void determineWhetherToAvoidAgainstFreeRunObjects( const std::vector & prev_objects); LatFeasiblePaths generateLateralFeasiblePaths( const geometry_msgs::msg::Pose & ego_pose, const double ego_vel) const; diff --git a/planning/behavior_path_dynamic_avoidance_module/src/scene.cpp b/planning/behavior_path_dynamic_avoidance_module/src/scene.cpp index 8f7bdf063f359..99177718a28b8 100644 --- a/planning/behavior_path_dynamic_avoidance_module/src/scene.cpp +++ b/planning/behavior_path_dynamic_avoidance_module/src/scene.cpp @@ -353,8 +353,8 @@ void DynamicAvoidanceModule::updateData() target_objects_manager_.finalize(ego_lat_feasible_paths); // 2. Precise filtering of target objects and check if they should be avoided - determineWheterToAvoidAgainstLaneDriveObjects(prev_objects); - determineWheterToAvoidAgainstFreeRunObjects(prev_objects); + determineWhetherToAvoidAgainstLaneDriveObjects(prev_objects); + determineWhetherToAvoidAgainstFreeRunObjects(prev_objects); const auto target_objects_candidate = target_objects_manager_.getValidObjects(); target_objects_.clear(); @@ -640,7 +640,7 @@ void DynamicAvoidanceModule::registerFreeRunObjects( } } -void DynamicAvoidanceModule::determineWheterToAvoidAgainstLaneDriveObjects( +void DynamicAvoidanceModule::determineWhetherToAvoidAgainstLaneDriveObjects( const std::vector & prev_objects) { const auto & input_path = getPreviousModuleOutput().path; @@ -799,7 +799,7 @@ void DynamicAvoidanceModule::determineWheterToAvoidAgainstLaneDriveObjects( // prev_input_ref_path_points_ = input_ref_path_points; } -void DynamicAvoidanceModule::determineWheterToAvoidAgainstFreeRunObjects( +void DynamicAvoidanceModule::determineWhetherToAvoidAgainstFreeRunObjects( const std::vector & prev_objects) { const auto & input_path = getPreviousModuleOutput().path;