15#include "auto_apms_behavior_tree_core/node/base/ros_node_base.hpp"
17#include "auto_apms_util/string.hpp"
22RosNodeBase::RosNodeBase(
const std::string & instance_name, Context context)
23: context_(context), logger_(context.getChildLogger(auto_apms_util::
toSnakeCase(instance_name)))
29 context_.copyAliasedPortValuesToOriginalPorts(node);
void applyPortAliasing(const BT::TreeNode *node) const
Support the node manifest 'port_alias' feature: copy the aliased port values onto the original ports ...
std::string toSnakeCase(const std::string &str)
Transform a string to snake_case.
Core API for AutoAPMS's behavior tree implementation.