13 #ifndef YARP_ROSMSG_tf2_msgs_TFMessage_h
14 #define YARP_ROSMSG_tf2_msgs_TFMessage_h
30 std::vector<yarp::rosmsg::geometry_msgs::TransformStamped>
transforms;
48 for (
int i=0; i<len; i++) {
71 for (
int i=0; i<len; i++) {
131 static constexpr
const char*
typeName =
"tf2_msgs/TFMessage";
134 static constexpr
const char*
typeChecksum =
"94810edda583a504dfda3829e70d7eec";
138 geometry_msgs/TransformStamped[] transforms\n\
140 ================================================================================\n\
141 MSG: geometry_msgs/TransformStamped\n\
142 # This expresses a transform from coordinate frame header.frame_id\n\
143 # to the coordinate frame child_frame_id\n\
145 # This message is mostly used by the \n\
146 # <a href=\"http://wiki.ros.org/tf\">tf</a> package. \n\
147 # See its documentation for more information.\n\
150 string child_frame_id # the frame id of the child frame\n\
151 Transform transform\n\
153 ================================================================================\n\
154 MSG: std_msgs/Header\n\
155 # Standard metadata for higher-level stamped data types.\n\
156 # This is generally used to communicate timestamped data \n\
157 # in a particular coordinate frame.\n\
159 # sequence ID: consecutively increasing ID \n\
161 #Two-integer timestamp that is expressed as:\n\
162 # * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n\
163 # * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n\
164 # time-handling sugar is provided by the client library\n\
166 #Frame this data is associated with\n\
171 ================================================================================\n\
172 MSG: geometry_msgs/Transform\n\
173 # This represents the transform between two coordinate frames in free space.\n\
175 Vector3 translation\n\
176 Quaternion rotation\n\
178 ================================================================================\n\
179 MSG: geometry_msgs/Vector3\n\
180 # This represents a vector in free space. \n\
181 # It is only meant to represent a direction. Therefore, it does not\n\
182 # make sense to apply a translation to it (e.g., when applying a \n\
183 # generic rigid transformation to a Vector3, tf2 will only apply the\n\
184 # rotation). If you want your data to be translatable too, use the\n\
185 # geometry_msgs/Point message instead.\n\
190 ================================================================================\n\
191 MSG: geometry_msgs/Quaternion\n\
192 # This represents an orientation in free space in quaternion form.\n\
An interface for reading from a network connection.
virtual bool isBareMode() const =0
Check if the connection is bare mode.
virtual std::int32_t expectInt32()=0
Read a 32-bit integer from the network connection.
virtual bool convertTextMode()=0
Reads in a standard description in text mode, and converts it to a standard description in binary.
virtual bool isError() const =0
An interface for writing to a network connection.
virtual bool isError() const =0
virtual bool isBareMode() const =0
Check if the connection is bare mode.
virtual bool convertTextMode()=0
Converts a standard description in binary into a textual description, if the connection is in text-mo...
virtual void appendInt32(std::int32_t data)=0
Send a representation of a 32-bit integer to the network connection.
static Type byName(const char *name)
Type & addProperty(const char *key, const Value &val)
A single value (typically within a Bottle).
A "tamed" Portable, that promises to serialize itself in an IDL-friendly way.
virtual bool read(yarp::os::idl::WireReader &reader)
virtual bool write(const yarp::os::idl::WireWriter &writer) const
IDL-friendly connection reader.
static constexpr const char * typeText
yarp::os::idl::BareStyle< yarp::rosmsg::tf2_msgs::TFMessage > rosStyle
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
static constexpr const char * typeName
yarp::os::idl::BottleStyle< yarp::rosmsg::tf2_msgs::TFMessage > bottleStyle
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool writeBare(yarp::os::ConnectionWriter &connection) const override
bool readBare(yarp::os::ConnectionReader &connection) override
yarp::os::Type getType() const override
static constexpr const char * typeChecksum
std::vector< yarp::rosmsg::geometry_msgs::TransformStamped > transforms
bool writeBottle(yarp::os::ConnectionWriter &connection) const override
bool readBottle(yarp::os::ConnectionReader &connection) override
The main, catch-all namespace for YARP.