Skip to content

Commit

Permalink
hubero_core - TaskMoveToGoal: deleted unnecessary goal reached dist p…
Browse files Browse the repository at this point in the history
…aram
  • Loading branch information
rayvburn committed Feb 20, 2022
1 parent 89fa7b2 commit b55f42b
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions hubero_core/include/hubero_core/tasks/task_move_to_goal.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@ namespace hubero {
*/
class TaskMoveToGoal: public TaskEssentials<FsmBasic, FsmBasic::State, EventFsmBasic> {
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},
Expand Down Expand Up @@ -44,14 +41,8 @@ class TaskMoveToGoal: public TaskEssentials<FsmBasic, FsmBasic::State, EventFsmB
return goal_;
}

double getDistanceGoalReached() const {
return goal_reached_distance_;
}

protected:
Pose3 goal_;

double goal_reached_distance_;
}; // class TaskStand

} // namespace hubero

0 comments on commit b55f42b

Please sign in to comment.