Creates STDR messages from a STDR tree. More...
#include <stdr_parser_msg_creator.h>
Public Member Functions | |
template<> | |
geometry_msgs::Pose2D | createMessage (Node *n, unsigned int id) |
Creates a message from a parsed file - template specialization for geometry_msgs::Pose2D. More... | |
template<> | |
geometry_msgs::Point | createMessage (Node *n, unsigned int id) |
Creates a message from a parsed file - template specialization for geometry_msgs::Point. More... | |
template<> | |
stdr_msgs::Noise | createMessage (Node *n, unsigned int id) |
Creates a message from a parsed file - template specialization for stdr_msgs::Noise. More... | |
template<> | |
stdr_msgs::FootprintMsg | createMessage (Node *n, unsigned int id) |
Creates a message from a parsed file - template specialization for stdr_msgs::FootprintMsg. More... | |
template<> | |
stdr_msgs::LaserSensorMsg | createMessage (Node *n, unsigned int id) |
Creates a message from a parsed file - template specialization for stdr_msgs::LaserSensorMsg. More... | |
template<> | |
stdr_msgs::SonarSensorMsg | createMessage (Node *n, unsigned int id) |
Creates a message from a parsed file - template specialization for stdr_msgs::SonarSensorMsg. More... | |
template<> | |
stdr_msgs::RfidSensorMsg | createMessage (Node *n, unsigned int id) |
Creates a message from a parsed file - template specialization for \ stdr_msgs::RfidSensorMsg. More... | |
template<> | |
stdr_msgs::CO2SensorMsg | createMessage (Node *n, unsigned int id) |
Creates a message from a parsed file - template specialization for \ stdr_msgs::CO2SensorMsg. More... | |
template<> | |
stdr_msgs::ThermalSensorMsg | createMessage (Node *n, unsigned int id) |
Creates a message from a parsed file - template specialization for \ stdr_msgs::ThermalSensorMsg. More... | |
template<> | |
stdr_msgs::SoundSensorMsg | createMessage (Node *n, unsigned int id) |
Creates a message from a parsed file - template specialization for \ stdr_msgs::SoundSensorMsg. More... | |
template<> | |
stdr_msgs::KinematicMsg | createMessage (Node *n, unsigned int id) |
Creates a message from a parsed file - template specialization for \ stdr_msgs::KinematicMsg. More... | |
template<> | |
stdr_msgs::RobotMsg | createMessage (Node *n, unsigned int id) |
Creates a message from a parsed file - template specialization for stdr_msgs::RobotMsg. More... | |
Static Public Member Functions | |
template<typename T > | |
static T | createMessage (Node *n, unsigned int id) |
Creates a pose message from a parsed file. More... | |
template<typename T > | |
static T | stringToType (std::string s) |
Private Member Functions | |
MessageCreator (void) | |
Default constructor. More... | |
Creates STDR messages from a STDR tree.
Definition at line 39 of file stdr_parser_msg_creator.h.
|
private |
geometry_msgs::Pose2D stdr_parser::MessageCreator::createMessage | ( | Node * | n, |
unsigned int | id | ||
) |
Creates a message from a parsed file - template specialization for geometry_msgs::Pose2D.
n | [Node*] The root node |
< Search for x
Definition at line 50 of file stdr_parser_msg_creator.cpp.
|
static |
Creates a pose message from a parsed file.
Creates a message from a parsed file.
n | [Node*] The root node |
n | [Node*] The root node |
Definition at line 41 of file stdr_parser_msg_creator.cpp.
geometry_msgs::Point stdr_parser::MessageCreator::createMessage | ( | Node * | n, |
unsigned int | id | ||
) |
Creates a message from a parsed file - template specialization for geometry_msgs::Point.
n | [Node*] The root node |
Definition at line 102 of file stdr_parser_msg_creator.cpp.
stdr_msgs::Noise stdr_parser::MessageCreator::createMessage | ( | Node * | n, |
unsigned int | id | ||
) |
Creates a message from a parsed file - template specialization for stdr_msgs::Noise.
n | [Node*] The root node |
< Search for noise mean
Definition at line 141 of file stdr_parser_msg_creator.cpp.
stdr_msgs::FootprintMsg stdr_parser::MessageCreator::createMessage | ( | Node * | n, |
unsigned int | id | ||
) |
Creates a message from a parsed file - template specialization for stdr_msgs::FootprintMsg.
n | [Node*] The root node |
< Search for radius
Definition at line 184 of file stdr_parser_msg_creator.cpp.
stdr_msgs::LaserSensorMsg stdr_parser::MessageCreator::createMessage | ( | Node * | n, |
unsigned int | id | ||
) |
Creates a message from a parsed file - template specialization for stdr_msgs::LaserSensorMsg.
n | [Node*] The root node |
< Search for max angle
Definition at line 230 of file stdr_parser_msg_creator.cpp.
stdr_msgs::SonarSensorMsg stdr_parser::MessageCreator::createMessage | ( | Node * | n, |
unsigned int | id | ||
) |
Creates a message from a parsed file - template specialization for stdr_msgs::SonarSensorMsg.
n | [Node*] The root node |
< Search for max range
Definition at line 362 of file stdr_parser_msg_creator.cpp.
stdr_msgs::RfidSensorMsg stdr_parser::MessageCreator::createMessage | ( | Node * | n, |
unsigned int | id | ||
) |
Creates a message from a parsed file - template specialization for \ stdr_msgs::RfidSensorMsg.
n | [Node*] The root node |
< Search for angle span
Definition at line 469 of file stdr_parser_msg_creator.cpp.
stdr_msgs::CO2SensorMsg stdr_parser::MessageCreator::createMessage | ( | Node * | n, |
unsigned int | id | ||
) |
Creates a message from a parsed file - template specialization for \ stdr_msgs::CO2SensorMsg.
n | [Node*] The root node |
< Search for max range
Definition at line 568 of file stdr_parser_msg_creator.cpp.
stdr_msgs::ThermalSensorMsg stdr_parser::MessageCreator::createMessage | ( | Node * | n, |
unsigned int | id | ||
) |
Creates a message from a parsed file - template specialization for \ stdr_msgs::ThermalSensorMsg.
n | [Node*] The root node |
< Search for max range
Definition at line 641 of file stdr_parser_msg_creator.cpp.
stdr_msgs::SoundSensorMsg stdr_parser::MessageCreator::createMessage | ( | Node * | n, |
unsigned int | id | ||
) |
Creates a message from a parsed file - template specialization for \ stdr_msgs::SoundSensorMsg.
n | [Node*] The root node |
< Search for max range
Definition at line 727 of file stdr_parser_msg_creator.cpp.
stdr_msgs::KinematicMsg stdr_parser::MessageCreator::createMessage | ( | Node * | n, |
unsigned int | id | ||
) |
Creates a message from a parsed file - template specialization for \ stdr_msgs::KinematicMsg.
n | [Node*] The root node |
< Search for kinematic model
Definition at line 814 of file stdr_parser_msg_creator.cpp.
stdr_msgs::RobotMsg stdr_parser::MessageCreator::createMessage | ( | Node * | n, |
unsigned int | id | ||
) |
Creates a message from a parsed file - template specialization for stdr_msgs::RobotMsg.
n | [Node*] The root node |
< Search for pose
Definition at line 923 of file stdr_parser_msg_creator.cpp.
|
inlinestatic |
Definition at line 60 of file stdr_parser_msg_creator.h.