|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
36 #ifndef YARP_ROSMSG_sensor_msgs_MagneticField_h
37 #define YARP_ROSMSG_sensor_msgs_MagneticField_h
125 for (
int i=0; i<len; i++) {
198 static constexpr
const char*
typeName =
"sensor_msgs/MagneticField";
201 static constexpr
const char*
typeChecksum =
"2f3b0b43eed0c9501de0fa3ff89a45aa";
205 # Measurement of the Magnetic Field vector at a specific location.\n\
207 # If the covariance of the measurement is known, it should be filled in\n\
208 # (if all you know is the variance of each measurement, e.g. from the datasheet,\n\
209 #just put those along the diagonal)\n\
210 # A covariance matrix of all zeros will be interpreted as \"covariance unknown\",\n\
211 # and to use the data a covariance will have to be assumed or gotten from some\n\
215 Header header # timestamp is the time the\n\
216 # field was measured\n\
217 # frame_id is the location and orientation\n\
218 # of the field measurement\n\
220 geometry_msgs/Vector3 magnetic_field # x, y, and z components of the\n\
221 # field vector in Tesla\n\
222 # If your sensor does not output 3 axes,\n\
223 # put NaNs in the components not reported.\n\
225 float64[9] magnetic_field_covariance # Row major about x, y, z axes\n\
226 # 0 is interpreted as variance unknown\n\
227 ================================================================================\n\
228 MSG: std_msgs/Header\n\
229 # Standard metadata for higher-level stamped data types.\n\
230 # This is generally used to communicate timestamped data \n\
231 # in a particular coordinate frame.\n\
233 # sequence ID: consecutively increasing ID \n\
235 #Two-integer timestamp that is expressed as:\n\
236 # * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n\
237 # * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n\
238 # time-handling sugar is provided by the client library\n\
240 #Frame this data is associated with\n\
245 ================================================================================\n\
246 MSG: geometry_msgs/Vector3\n\
247 # This represents a vector in free space. \n\
248 # It is only meant to represent a direction. Therefore, it does not\n\
249 # make sense to apply a translation to it (e.g., when applying a \n\
250 # generic rigid transformation to a Vector3, tf2 will only apply the\n\
251 # rotation). If you want your data to be translatable too, use the\n\
252 # geometry_msgs/Point message instead.\n\
272 #endif // YARP_ROSMSG_sensor_msgs_MagneticField_h
bool writeBare(yarp::os::ConnectionWriter &connection) const override
yarp::os::Type getType() const override
bool readBottle(yarp::os::ConnectionReader &connection) override
yarp::rosmsg::geometry_msgs::Vector3 magnetic_field
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
virtual void appendFloat64(yarp::conf::float64_t data)=0
Send a representation of a 64-bit floating point number to the network connection.
bool readBare(yarp::os::ConnectionReader &connection) override
virtual bool read(yarp::os::idl::WireReader &reader)
static constexpr const char * typeText
virtual bool isBareMode() const =0
Check if the connection is bare mode.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
yarp::rosmsg::std_msgs::Header header
static constexpr const char * typeName
bool writeBottle(yarp::os::ConnectionWriter &connection) const override
std::vector< yarp::conf::float64_t > magnetic_field_covariance
virtual yarp::conf::float64_t expectFloat64()=0
Read a 64-bit floating point number from the network connection.
virtual bool isError() const =0
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.
virtual bool isError() const =0
static constexpr const char * typeChecksum
virtual bool convertTextMode()=0
Reads in a standard description in text mode, and converts it to a standard description in binary.
A "tamed" Portable, that promises to serialize itself in an IDL-friendly way.
yarp::os::idl::BareStyle< yarp::rosmsg::sensor_msgs::MagneticField > rosStyle
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...
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
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.
#define BOTTLE_TAG_FLOAT64
The main, catch-all namespace for YARP.
virtual void appendExternalBlock(const char *data, size_t len)=0
Send a block of data to the network connection, without making a copy.
virtual bool expectBlock(char *data, size_t len)=0
Read a block of data from the network connection.
A single value (typically within a Bottle).
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
yarp::os::idl::BottleStyle< yarp::rosmsg::sensor_msgs::MagneticField > bottleStyle
virtual bool write(const yarp::os::idl::WireWriter &writer) const