#include "behaviortree_cpp/bt_factory.h"
Go to the source code of this file.
Classes | |
class | CalculateGoal |
struct | Position2D |
class | PrintTarget |
Namespaces | |
BT | |
Functions | |
template<> | |
Point3D | BT::convertFromString (StringView key) |
int | main () |
Variables | |
static const char * | xml_text |
int main | ( | ) |
Definition at line 120 of file t03_generic_ports.cpp.
|
static |
The tree is a Sequence of 4 actions
1) Store a value of Position2D in the entry "GoalPosition" using the action CalculateGoal.
2) Call PrintTarget. The input "target" will be read from the Blackboard entry "GoalPosition".
3) Use the built-in action Script to write the key "OtherGoal". A conversion from string to Position2D will be done under the hood.
4) Call PrintTarget. The input "goal" will be read from the Blackboard entry "OtherGoal".
Definition at line 104 of file t03_generic_ports.cpp.