Skip to main content

SaveToYaml Class Template

Save the contents of a ROS 2 message type to a YAML file in a specified namespace. Note: This Behavior template saves the pose into the ~/.config/moveit_pro/robot_config/objectives folder. More...

Declaration

template <typename T>
class moveit_pro::behaviors::SaveToYaml<T> { ... }

Included Headers

#include <save_to_yaml.hpp>

Base class

classSharedResourcesNode<BehaviorTreeNodeT>

The SharedResourcesNode class provides a BehaviorContext object when constructing a BehaviorTree.Cpp node. More...

Public Constructors Index

template <typename T>
SaveToYaml (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< BehaviorContext > &shared_resources)

Public Member Functions Index

template <typename T>
BT::NodeStatustick () override
template <typename T>
BT::PortsListprovidedPorts ()
template <typename T>
BT::KeyValueVectormetadata ()
template <typename T>
BT::PortsListprovidedPorts ()
template <typename T>
BT::KeyValueVectormetadata ()
template <typename T>
BT::PortsListprovidedPorts ()
template <typename T>
BT::KeyValueVectormetadata ()
template <typename T>
BT::PortsListprovidedPorts ()
template <typename T>
BT::KeyValueVectormetadata ()
template <typename T>
BT::PortsListprovidedPorts ()
template <typename T>
BT::KeyValueVectormetadata ()
template <typename T>
BT::PortsListprovidedPorts ()
template <typename T>
BT::KeyValueVectormetadata ()
template <typename T>
BT::PortsListprovidedPorts ()
template <typename T>
BT::KeyValueVectormetadata ()
template <typename T>
BT::PortsListprovidedPorts ()
template <typename T>
BT::KeyValueVectormetadata ()
template <typename T>
BT::PortsListprovidedPorts ()
template <typename T>
BT::KeyValueVectormetadata ()
template <typename T>
BT::PortsListprovidedPorts ()
template <typename T>
BT::KeyValueVectormetadata ()

Public Static Functions Index

template <typename T>
static BT::PortsListprovidedPorts ()
template <typename T>
static BT::KeyValueVectormetadata ()

Public Static Attributes Index

template <typename T>
static const charkPortIDYamlFilename[] = "yaml_filename"
template <typename T>
static const charkPortIDOverwrite[] = "overwrite"
template <typename T>
static const charkPortIDNamespace[] = "namespace"
template <typename T>
static const charkPortIDMessage[] = "message"

Description

Save the contents of a ROS 2 message type to a YAML file in a specified namespace. Note: This Behavior template saves the pose into the ~/.config/moveit_pro/robot_config/objectives folder.

Template Parameters
T

Determines the type of object to save to the YAML file.

Data Port NamePort TypeObject Type
yaml_filenameinputstd::string
overwriteinputbool
namespaceinputstd::string
messageinputT

Definition at line 42 of file save_to_yaml.hpp.

Public Constructors

SaveToYaml()

template <typename T>
moveit_pro::behaviors::SaveToYaml< T >::SaveToYaml (const std::string & name, const BT::NodeConfiguration & config, const std::shared_ptr< BehaviorContext > & shared_resources)

Declaration at line 50 of file save_to_yaml.hpp, definition at line 124 of file save_to_yaml_impl.hpp.

Public Member Functions

metadata()

template <typename T>
BT::KeyValueVector moveit_pro::behaviors::SaveToYaml< std_msgs::msg::Header >::metadata ()

Definition at line 166 of file save_to_yaml_impl.hpp.

metadata()

template <typename T>
BT::KeyValueVector moveit_pro::behaviors::SaveToYaml< geometry_msgs::msg::Pose >::metadata ()

Definition at line 185 of file save_to_yaml_impl.hpp.

metadata()

template <typename T>
BT::KeyValueVector moveit_pro::behaviors::SaveToYaml< geometry_msgs::msg::PoseStamped >::metadata ()

Definition at line 205 of file save_to_yaml_impl.hpp.

metadata()

template <typename T>
BT::KeyValueVector moveit_pro::behaviors::SaveToYaml< geometry_msgs::msg::PointStamped >::metadata ()

Definition at line 227 of file save_to_yaml_impl.hpp.

metadata()

template <typename T>
BT::KeyValueVector moveit_pro::behaviors::SaveToYaml< moveit_msgs::msg::RobotState >::metadata ()

Definition at line 248 of file save_to_yaml_impl.hpp.

metadata()

template <typename T>
BT::KeyValueVector moveit_pro::behaviors::SaveToYaml< trajectory_msgs::msg::JointTrajectory >::metadata ()

Definition at line 270 of file save_to_yaml_impl.hpp.

metadata()

template <typename T>
BT::KeyValueVector moveit_pro::behaviors::SaveToYaml< geometry_msgs::msg::Quaternion >::metadata ()

Definition at line 291 of file save_to_yaml_impl.hpp.

metadata()

template <typename T>
BT::KeyValueVector moveit_pro::behaviors::SaveToYaml< geometry_msgs::msg::Vector3 >::metadata ()

Definition at line 311 of file save_to_yaml_impl.hpp.

metadata()

template <typename T>
BT::KeyValueVector moveit_pro::behaviors::SaveToYaml< geometry_msgs::msg::Transform >::metadata ()

Definition at line 331 of file save_to_yaml_impl.hpp.

metadata()

template <typename T>
BT::KeyValueVector moveit_pro::behaviors::SaveToYaml< geometry_msgs::msg::TransformStamped >::metadata ()

Definition at line 351 of file save_to_yaml_impl.hpp.

providedPorts()

template <typename T>
BT::PortsList moveit_pro::behaviors::SaveToYaml< std_msgs::msg::Header >::providedPorts ()

Definition at line 154 of file save_to_yaml_impl.hpp.

providedPorts()

template <typename T>
BT::PortsList moveit_pro::behaviors::SaveToYaml< geometry_msgs::msg::Pose >::providedPorts ()

Definition at line 173 of file save_to_yaml_impl.hpp.

providedPorts()

template <typename T>
BT::PortsList moveit_pro::behaviors::SaveToYaml< geometry_msgs::msg::PoseStamped >::providedPorts ()

Definition at line 192 of file save_to_yaml_impl.hpp.

providedPorts()

template <typename T>
BT::PortsList moveit_pro::behaviors::SaveToYaml< geometry_msgs::msg::PointStamped >::providedPorts ()

Definition at line 213 of file save_to_yaml_impl.hpp.

providedPorts()

template <typename T>
BT::PortsList moveit_pro::behaviors::SaveToYaml< moveit_msgs::msg::RobotState >::providedPorts ()

Definition at line 235 of file save_to_yaml_impl.hpp.

providedPorts()

template <typename T>
BT::PortsList moveit_pro::behaviors::SaveToYaml< trajectory_msgs::msg::JointTrajectory >::providedPorts ()

Definition at line 256 of file save_to_yaml_impl.hpp.

providedPorts()

template <typename T>
BT::PortsList moveit_pro::behaviors::SaveToYaml< geometry_msgs::msg::Quaternion >::providedPorts ()

Definition at line 278 of file save_to_yaml_impl.hpp.

providedPorts()

template <typename T>
BT::PortsList moveit_pro::behaviors::SaveToYaml< geometry_msgs::msg::Vector3 >::providedPorts ()

Definition at line 298 of file save_to_yaml_impl.hpp.

providedPorts()

template <typename T>
BT::PortsList moveit_pro::behaviors::SaveToYaml< geometry_msgs::msg::Transform >::providedPorts ()

Definition at line 318 of file save_to_yaml_impl.hpp.

providedPorts()

template <typename T>
BT::PortsList moveit_pro::behaviors::SaveToYaml< geometry_msgs::msg::TransformStamped >::providedPorts ()

Definition at line 338 of file save_to_yaml_impl.hpp.

tick()

template <typename T>
BT::NodeStatus moveit_pro::behaviors::SaveToYaml< T >::tick ()

Declaration at line 57 of file save_to_yaml.hpp, definition at line 358 of file save_to_yaml_impl.hpp.

Public Static Functions

metadata()

template <typename T>
BT::KeyValueVector moveit_pro::behaviors::SaveToYaml< T >::metadata ()
static

Declaration at line 55 of file save_to_yaml.hpp, definition at line 147 of file save_to_yaml_impl.hpp.

providedPorts()

template <typename T>
BT::PortsList moveit_pro::behaviors::SaveToYaml< T >::providedPorts ()
static

Declaration at line 53 of file save_to_yaml.hpp, definition at line 131 of file save_to_yaml_impl.hpp.

Public Static Attributes

kPortIDMessage

template <typename T>
const char moveit_pro::behaviors::SaveToYaml< T >::kPortIDMessage = "message"
static

Definition at line 48 of file save_to_yaml.hpp.

kPortIDNamespace

template <typename T>
const char moveit_pro::behaviors::SaveToYaml< T >::kPortIDNamespace = "namespace"
static

Definition at line 47 of file save_to_yaml.hpp.

kPortIDOverwrite

template <typename T>
const char moveit_pro::behaviors::SaveToYaml< T >::kPortIDOverwrite = "overwrite"
static

Definition at line 46 of file save_to_yaml.hpp.

kPortIDYamlFilename

template <typename T>
const char moveit_pro::behaviors::SaveToYaml< T >::kPortIDYamlFilename = "yaml_filename"
static

Definition at line 45 of file save_to_yaml.hpp.


The documentation for this class was generated from the following files:


Generated via doxygen2docusaurus 2.2.2 by Doxygen 1.9.8.