#include <dynmsg/message_reading.hpp>
#include <dynmsg/msg_parser.hpp>
#include <dynmsg/typesupport.hpp>
#include <dynmsg/yaml_utils.hpp>
#include <Eigen/Dense>
#include <tl_expected/expected.hpp>
#include <string>
#include <std_msgs/msg/header.hpp>
#include <geometry_msgs/msg/pose.hpp>
#include <geometry_msgs/msg/pose_stamped.hpp>
#include <trajectory_msgs/msg/joint_trajectory.hpp>
#include <moveit_studio_sdk_msgs/msg/behavior_parameter.hpp>
#include <moveit_studio_vision_msgs/msg/object_subframe.hpp>
#include <yaml-cpp/yaml.h>
◆ ROS_MESSAGE_YAML_PARSER
#define ROS_MESSAGE_YAML_PARSER |
( |
|
package, |
|
|
|
message |
|
) |
| |
Value:
{ \
template <> \
struct convert<package::msg::message> \
{ \
static bool decode(const Node& node, package::msg::message& rhs) \
{ \
if (!node.IsMap()) \
{ \
return false; \
return true; \
} \
static Node encode(const package::msg::message& rhs) \
{ \
return node; \
} \
}; \
}
Definition: yaml_parsing_tools.hpp:95
void parseROSMessage(const YAML::Node &node, const InterfaceTypeName &interface_type, T &rhs)
Templated function to parse any ROS message from a YAML Node.
Definition: yaml_parsing_tools.hpp:36
void saveROSMessage(YAML::Node &node, const InterfaceTypeName &interface_type, T msg)
Templated function to save any ROS message to a YAML Node.
Definition: yaml_parsing_tools.hpp:53