MoveIt Pro Behavior
Core Behaviors for MoveIt Pro
|
Loads a type from a YAML file, and returns it in an output port. More...
#include <load_from_yaml.hpp>
Public Member Functions | |
LoadFromYaml (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< BehaviorContext > &shared_resources) | |
BT::NodeStatus | tick () override |
BT::PortsList | providedPorts () |
BT::KeyValueVector | metadata () |
BT::PortsList | providedPorts () |
BT::KeyValueVector | metadata () |
BT::PortsList | providedPorts () |
BT::KeyValueVector | metadata () |
BT::PortsList | providedPorts () |
BT::KeyValueVector | metadata () |
BT::PortsList | providedPorts () |
BT::KeyValueVector | metadata () |
BT::PortsList | providedPorts () |
BT::KeyValueVector | metadata () |
BT::PortsList | providedPorts () |
BT::KeyValueVector | metadata () |
BT::PortsList | providedPorts () |
BT::KeyValueVector | metadata () |
BT::PortsList | providedPorts () |
BT::KeyValueVector | metadata () |
BT::PortsList | providedPorts () |
BT::KeyValueVector | metadata () |
Public Member Functions inherited from moveit_studio::behaviors::SharedResourcesNode< BT::SyncActionNode > | |
SharedResourcesNode (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< BehaviorContext > &shared_resources) | |
Constructor for SharedResourcesNode. Called by BT::BehaviorTreeFactory when creating a new behavior tree containing this node. More... | |
Static Public Member Functions | |
static BT::PortsList | providedPorts () |
static BT::KeyValueVector | metadata () |
Static Public Attributes | |
static const char | kPortIDInput [] = "file_path" |
static const char | kPortIDOutput [] = "output" |
Additional Inherited Members | |
Protected Attributes inherited from moveit_studio::behaviors::SharedResourcesNode< BT::SyncActionNode > | |
std::shared_ptr< BehaviorContext > | shared_resources_ |
Loads a type from a YAML file, and returns it in an output port.
This is a templated behavior to load any type from a YAML file, as long as a YAML conversion function has been defined for the type (see yaml_parsing_tools.hpp). The YAML file must contain a single instance of the type. To load multiple instances as a vector, use LoadMultipleFromYaml
above.
As an example, for a type with 'x' and 'y' fields, this YAML contents should be:
x: 0.1 y: 0.1
T | Determines the type of object to load from the YAML file. |
Data Port Name | Port Type | Object Type |
---|---|---|
file_path | input | std::string |
output | output | T |
moveit_studio::behaviors::LoadFromYaml< T >::LoadFromYaml | ( | const std::string & | name, |
const BT::NodeConfiguration & | config, | ||
const std::shared_ptr< BehaviorContext > & | shared_resources | ||
) |
BT::KeyValueVector moveit_studio::behaviors::LoadFromYaml< std_msgs::msg::Header >::metadata | ( | ) |
BT::KeyValueVector moveit_studio::behaviors::LoadFromYaml< geometry_msgs::msg::Pose >::metadata | ( | ) |
BT::KeyValueVector moveit_studio::behaviors::LoadFromYaml< geometry_msgs::msg::PoseStamped >::metadata | ( | ) |
BT::KeyValueVector moveit_studio::behaviors::LoadFromYaml< geometry_msgs::msg::PointStamped >::metadata | ( | ) |
BT::KeyValueVector moveit_studio::behaviors::LoadFromYaml< moveit_studio_vision_msgs::msg::ObjectSubframe >::metadata | ( | ) |
BT::KeyValueVector moveit_studio::behaviors::LoadFromYaml< trajectory_msgs::msg::JointTrajectory >::metadata | ( | ) |
BT::KeyValueVector moveit_studio::behaviors::LoadFromYaml< geometry_msgs::msg::Quaternion >::metadata | ( | ) |
BT::KeyValueVector moveit_studio::behaviors::LoadFromYaml< geometry_msgs::msg::Vector3 >::metadata | ( | ) |
BT::KeyValueVector moveit_studio::behaviors::LoadFromYaml< geometry_msgs::msg::Transform >::metadata | ( | ) |
BT::KeyValueVector moveit_studio::behaviors::LoadFromYaml< geometry_msgs::msg::TransformStamped >::metadata | ( | ) |
|
static |
BT::PortsList moveit_studio::behaviors::LoadFromYaml< std_msgs::msg::Header >::providedPorts | ( | ) |
BT::PortsList moveit_studio::behaviors::LoadFromYaml< geometry_msgs::msg::Pose >::providedPorts | ( | ) |
BT::PortsList moveit_studio::behaviors::LoadFromYaml< geometry_msgs::msg::PoseStamped >::providedPorts | ( | ) |
BT::PortsList moveit_studio::behaviors::LoadFromYaml< geometry_msgs::msg::PointStamped >::providedPorts | ( | ) |
BT::PortsList moveit_studio::behaviors::LoadFromYaml< moveit_studio_vision_msgs::msg::ObjectSubframe >::providedPorts | ( | ) |
BT::PortsList moveit_studio::behaviors::LoadFromYaml< trajectory_msgs::msg::JointTrajectory >::providedPorts | ( | ) |
BT::PortsList moveit_studio::behaviors::LoadFromYaml< geometry_msgs::msg::Quaternion >::providedPorts | ( | ) |
BT::PortsList moveit_studio::behaviors::LoadFromYaml< geometry_msgs::msg::Vector3 >::providedPorts | ( | ) |
BT::PortsList moveit_studio::behaviors::LoadFromYaml< geometry_msgs::msg::Transform >::providedPorts | ( | ) |
BT::PortsList moveit_studio::behaviors::LoadFromYaml< geometry_msgs::msg::TransformStamped >::providedPorts | ( | ) |
|
static |
|
override |
|
static |
|
static |