14 if (getParam<Pose2D>(
"goal", goal) ==
false)
18 goal = BT::convertFromString<Pose2D>(default_goal_value);
21 printf(
"[ MoveBase: STARTED ]. goal: x=%.f y=%.1f theta=%.2f\n", goal.
x, goal.
y, goal.
theta);
32 std::cout <<
"[ MoveBase: FINISHED ]" << std::endl;
static const BT::NodeParameters & requiredNodeParameters()
BT::NodeStatus tick() override
Method to be implemented by the user.
BT_REGISTER_NODES(factory)
std::atomic_bool _halt_requested
static volatile int count
virtual void halt() override
The method used to interrupt the execution of a RUNNING node.