From b55f42b00ae5d52b9b694378e61a3c4248d405d4 Mon Sep 17 00:00:00 2001 From: rayvburn Date: Sat, 12 Feb 2022 03:10:45 +0100 Subject: [PATCH] hubero_core - TaskMoveToGoal: deleted unnecessary goal reached dist param --- .../include/hubero_core/tasks/task_move_to_goal.h | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/hubero_core/include/hubero_core/tasks/task_move_to_goal.h b/hubero_core/include/hubero_core/tasks/task_move_to_goal.h index df5e2403..f074751e 100644 --- a/hubero_core/include/hubero_core/tasks/task_move_to_goal.h +++ b/hubero_core/include/hubero_core/tasks/task_move_to_goal.h @@ -12,10 +12,7 @@ namespace hubero { */ class TaskMoveToGoal: public TaskEssentials { public: - TaskMoveToGoal(double goal_reached_distance = 1.0): - TaskEssentials::TaskEssentials(TASK_MOVE_TO_GOAL), - goal_reached_distance_(goal_reached_distance) - { + TaskMoveToGoal(): TaskEssentials::TaskEssentials(TASK_MOVE_TO_GOAL) { task_args_num_ = countArgumentsNum(&TaskMoveToGoal::request); state_bb_map_ = { {FsmBasic::State::ACTIVE, BasicBehaviourType::BB_MOVE_TO_GOAL}, @@ -44,14 +41,8 @@ class TaskMoveToGoal: public TaskEssentials