1 #ifndef MOVEBASE_BT_NODES_H 2 #define MOVEBASE_BT_NODES_H 14 std::this_thread::sleep_for(std::chrono::milliseconds(ms));
30 if (parts.size() != 3)
32 throw std::runtime_error(
"invalid input)");
55 : AsyncActionNode(name, params)
70 virtual void halt()
override;
76 #endif // MOVEBASE_BT_NODES_H double convertFromString< double >(const StringView &str)
static const BT::NodeParameters & requiredNodeParameters()
The AsyncActionNode a different thread where the action will be executed.
std::vector< StringView > splitString(const StringView &strToSplit, char delimeter)
std::unordered_map< std::string, std::string > NodeParameters
nonstd::string_view StringView
Pose2D convertFromString(const StringView &key)
std::atomic_bool _halt_requested
MoveBaseAction(const std::string &name, const BT::NodeParameters ¶ms)