#include "behaviortree_cpp/xml_parsing.h"
#include "behaviortree_cpp/loggers/bt_cout_logger.h"
#include "behaviortree_cpp/blackboard/blackboard_local.h"
#include "movebase_node.h"
Go to the source code of this file.
Functions | |
< MoveBasegoal="${OtherGoal}"/> </SequenceStar ></BehaviorTree > </root > NodeStatus | CalculateGoalPose (TreeNode &self) |
int | main () |
Variables | |
const std::string | xml_text = " value="-1 |
<MoveBasegoal="${OtherGoal}"/></SequenceStar></BehaviorTree></root> NodeStatus CalculateGoalPose | ( | TreeNode & | self | ) |
Definition at line 42 of file t04_blackboard.cpp.
int main | ( | ) |
Definition at line 59 of file t04_blackboard.cpp.
const std::string xml_text = " value="-1 |
This tutorial will tech you:
The tree is a Sequence of 4 actions
1) Store a value of Pose2D in the key "GoalPose" of the blackboard using the action CalculateGoalPose. 2) Call MoveAction. The NodeParameter "goal" will be read from the Blackboard at run-time. 3) Use the built-in action SetBlackboard to write the key "OtherGoal". 4) Call MoveAction. The NodeParameter "goal" will be read from the Blackboard entry "OtherGoal".
Definition at line 24 of file t04_blackboard.cpp.