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