Skip to content
Snippets Groups Projects
Commit 399241a2 authored by Steven Macenski's avatar Steven Macenski
Browse files

fix linter issues for header methods in recovery node

parent 3793a0de
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@ public:
: BT::ControlNode::ControlNode(name, conf), current_child_idx_(0), retry_count_(0)
{
getInput("number_of_retries", number_of_retries_);
};
}
~RecoveryNode() override = default;
......@@ -50,7 +50,7 @@ public:
{
return {
BT::InputPort<int>("number_of_retries", 1, "Number of retries")
};
}
}
private:
......@@ -139,14 +139,14 @@ private:
retry_count_ = 0;
halt();
return BT::NodeStatus::FAILURE;
};
}
void RecoveryNode::halt() override
{
ControlNode::halt();
current_child_idx_ = 0;
retry_count_ = 0;
};
}
};
} // namespace nav2_behavior_tree
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment