|
AutoAPMS
Streamlining behaviors in ROS 2
|
Decoded entry point information for low-level tree building. More...
#include <auto_apms_behavior_tree/build_handler/build_handler.hpp>
Public Member Functions | |
| TreeBasedEntryPoint ()=default | |
| Default constructor. | |
| TreeBasedEntryPoint (const std::string &encoded_str) | |
| Constructor that decodes the given string into the expected format. | |
Decoded entry point information for low-level tree building.
The expected format of the encoded string is:
MyTreeName(var1=value1,var2=value2,...)
It follows the syntax used by a lot of programming languages for instantiating classes or calling funtions. The part before the parantheses is the tree name and the part within defines its inital blackboard. The initial blackboard values are given as comma-separated key-value pairs, where the key and value are separated by an equals sign. The value is expected to be a string that can be parsed into the respective type of the blackboard entry.
Definition at line 47 of file build_handler.hpp.
|
default |
Default constructor.
| TreeBasedEntryPoint | ( | const std::string & | encoded_str | ) |
Constructor that decodes the given string into the expected format.
| encoded_str | String that encodes the entry point. |
Definition at line 22 of file build_handler.cpp.