|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
61 #ifndef YARP_ROSMSG_sensor_msgs_NavSatFix_h
62 #define YARP_ROSMSG_sensor_msgs_NavSatFix_h
203 for (
int i=0; i<len; i++) {
307 static constexpr
const char*
typeName =
"sensor_msgs/NavSatFix";
310 static constexpr
const char*
typeChecksum =
"2d3a8cd499b9b4a0249fb98fd05cfa48";
314 # Navigation Satellite fix for any Global Navigation Satellite System\n\
316 # Specified using the WGS 84 reference ellipsoid\n\
318 # header.stamp specifies the ROS time for this measurement (the\n\
319 # corresponding satellite time may be reported using the\n\
320 # sensor_msgs/TimeReference message).\n\
322 # header.frame_id is the frame of reference reported by the satellite\n\
323 # receiver, usually the location of the antenna. This is a\n\
324 # Euclidean frame relative to the vehicle, not a reference\n\
328 # satellite fix status information\n\
329 NavSatStatus status\n\
331 # Latitude [degrees]. Positive is north of equator; negative is south.\n\
334 # Longitude [degrees]. Positive is east of prime meridian; negative is west.\n\
337 # Altitude [m]. Positive is above the WGS 84 ellipsoid\n\
338 # (quiet NaN if no altitude is available).\n\
341 # Position covariance [m^2] defined relative to a tangential plane\n\
342 # through the reported position. The components are East, North, and\n\
343 # Up (ENU), in row-major order.\n\
345 # Beware: this coordinate system exhibits singularities at the poles.\n\
347 float64[9] position_covariance\n\
349 # If the covariance of the fix is known, fill it in completely. If the\n\
350 # GPS receiver provides the variance of each measurement, put them\n\
351 # along the diagonal. If only Dilution of Precision is available,\n\
352 # estimate an approximate covariance from that.\n\
354 uint8 COVARIANCE_TYPE_UNKNOWN = 0\n\
355 uint8 COVARIANCE_TYPE_APPROXIMATED = 1\n\
356 uint8 COVARIANCE_TYPE_DIAGONAL_KNOWN = 2\n\
357 uint8 COVARIANCE_TYPE_KNOWN = 3\n\
359 uint8 position_covariance_type\n\
361 ================================================================================\n\
362 MSG: std_msgs/Header\n\
363 # Standard metadata for higher-level stamped data types.\n\
364 # This is generally used to communicate timestamped data \n\
365 # in a particular coordinate frame.\n\
367 # sequence ID: consecutively increasing ID \n\
369 #Two-integer timestamp that is expressed as:\n\
370 # * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n\
371 # * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n\
372 # time-handling sugar is provided by the client library\n\
374 #Frame this data is associated with\n\
379 ================================================================================\n\
380 MSG: sensor_msgs/NavSatStatus\n\
381 # Navigation Satellite fix status for any Global Navigation Satellite System\n\
383 # Whether to output an augmented fix is determined by both the fix\n\
384 # type and the last time differential corrections were received. A\n\
385 # fix is valid when status >= STATUS_FIX.\n\
387 int8 STATUS_NO_FIX = -1 # unable to fix position\n\
388 int8 STATUS_FIX = 0 # unaugmented fix\n\
389 int8 STATUS_SBAS_FIX = 1 # with satellite-based augmentation\n\
390 int8 STATUS_GBAS_FIX = 2 # with ground-based augmentation\n\
394 # Bits defining which Global Navigation Satellite System signals were\n\
395 # used by the receiver.\n\
397 uint16 SERVICE_GPS = 1\n\
398 uint16 SERVICE_GLONASS = 2\n\
399 uint16 SERVICE_COMPASS = 4 # includes BeiDou.\n\
400 uint16 SERVICE_GALILEO = 8\n\
418 #endif // YARP_ROSMSG_sensor_msgs_NavSatFix_h
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
std::uint8_t position_covariance_type
yarp::conf::float64_t expectFloat64()
static constexpr const char * typeText
virtual void appendFloat64(yarp::conf::float64_t data)=0
Send a representation of a 64-bit floating point number to the network connection.
virtual bool read(yarp::os::idl::WireReader &reader)
virtual void appendInt8(std::int8_t data)=0
Send a representation of a 8-bit integer to the network connection.
static constexpr const char * typeChecksum
virtual bool isBareMode() const =0
Check if the connection is bare mode.
std::vector< yarp::conf::float64_t > position_covariance
yarp::conf::float64_t longitude
yarp::os::idl::BareStyle< yarp::rosmsg::sensor_msgs::NavSatFix > rosStyle
static const std::uint8_t COVARIANCE_TYPE_UNKNOWN
bool readBare(yarp::os::ConnectionReader &connection) override
virtual std::int8_t expectInt8()=0
Read a 8-bit integer from the network connection.
static const std::uint8_t COVARIANCE_TYPE_KNOWN
bool readBottle(yarp::os::ConnectionReader &connection) override
virtual yarp::conf::float64_t expectFloat64()=0
Read a 64-bit floating point number from the network connection.
virtual bool isError() const =0
static const std::uint8_t COVARIANCE_TYPE_APPROXIMATED
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)
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
An interface for writing to a network connection.
static constexpr const char * typeName
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.
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.
bool writeBare(yarp::os::ConnectionWriter &connection) const override
virtual bool convertTextMode()=0
Converts a standard description in binary into a textual description, if the connection is in text-mo...
bool read(yarp::os::ConnectionReader &connection) override
Read this object from 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
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
yarp::conf::float64_t latitude
The main, catch-all namespace for YARP.
yarp::os::Type getType() const override
bool writeBottle(yarp::os::ConnectionWriter &connection) const override
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.
yarp::rosmsg::sensor_msgs::NavSatStatus status
A single value (typically within a Bottle).
yarp::conf::float64_t altitude
yarp::os::idl::BottleStyle< yarp::rosmsg::sensor_msgs::NavSatFix > bottleStyle
static const std::uint8_t COVARIANCE_TYPE_DIAGONAL_KNOWN
yarp::rosmsg::std_msgs::Header header
virtual bool write(const yarp::os::idl::WireWriter &writer) const