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)
53 : AsyncActionNode(name, config)
60 return{ BT::InputPort<Pose2D>(
"goal") };
65 virtual void halt()
override;
71 #endif // MOVEBASE_BT_NODES_H
The AsyncActionNode uses a different thread where the action will be executed.
std::vector< StringView > splitString(const StringView &strToSplit, char delimeter)
nonstd::string_view StringView
std::atomic_bool _halt_requested
MoveBaseAction(const std::string &name, const BT::NodeConfiguration &config)
std::unordered_map< std::string, PortInfo > PortsList
Pose2D convertFromString(StringView key)
static BT::PortsList providedPorts()
double convertFromString< double >(StringView str)