|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
37 #ifndef YARP_ROSMSG_sensor_msgs_NavSatStatus_h
38 #define YARP_ROSMSG_sensor_msgs_NavSatStatus_h
171 static constexpr
const char*
typeName =
"sensor_msgs/NavSatStatus";
174 static constexpr
const char*
typeChecksum =
"331cdbddfa4bc96ffc3b9ad98900a54c";
178 # Navigation Satellite fix status for any Global Navigation Satellite System\n\
180 # Whether to output an augmented fix is determined by both the fix\n\
181 # type and the last time differential corrections were received. A\n\
182 # fix is valid when status >= STATUS_FIX.\n\
184 int8 STATUS_NO_FIX = -1 # unable to fix position\n\
185 int8 STATUS_FIX = 0 # unaugmented fix\n\
186 int8 STATUS_SBAS_FIX = 1 # with satellite-based augmentation\n\
187 int8 STATUS_GBAS_FIX = 2 # with ground-based augmentation\n\
191 # Bits defining which Global Navigation Satellite System signals were\n\
192 # used by the receiver.\n\
194 uint16 SERVICE_GPS = 1\n\
195 uint16 SERVICE_GLONASS = 2\n\
196 uint16 SERVICE_COMPASS = 4 # includes BeiDou.\n\
197 uint16 SERVICE_GALILEO = 8\n\
215 #endif // YARP_ROSMSG_sensor_msgs_NavSatStatus_h
bool writeBottle(yarp::os::ConnectionWriter &connection) const override
static const std::int8_t STATUS_GBAS_FIX
bool readBottle(yarp::os::ConnectionReader &connection) override
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.
bool readBare(yarp::os::ConnectionReader &connection) override
virtual bool isBareMode() const =0
Check if the connection is bare mode.
static const std::int8_t STATUS_SBAS_FIX
static const std::uint16_t SERVICE_GPS
virtual std::int8_t expectInt8()=0
Read a 8-bit integer from the network connection.
static constexpr const char * typeChecksum
static constexpr const char * typeName
virtual bool isError() const =0
static Type byName(const char *name)
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.
yarp::os::idl::BottleStyle< yarp::rosmsg::sensor_msgs::NavSatStatus > bottleStyle
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.
static const std::int8_t STATUS_NO_FIX
yarp::os::idl::BareStyle< yarp::rosmsg::sensor_msgs::NavSatStatus > rosStyle
bool writeBare(yarp::os::ConnectionWriter &connection) const override
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.
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.
static const std::uint16_t SERVICE_COMPASS
IDL-friendly connection reader.
An interface for reading from a network connection.
virtual std::int16_t expectInt16()=0
Read a 16-bit integer from the network connection.
The main, catch-all namespace for YARP.
static const std::int8_t STATUS_FIX
static const std::uint16_t SERVICE_GALILEO
virtual void appendInt16(std::int16_t data)=0
Send a representation of a 16-bit integer to the network connection.
A single value (typically within a Bottle).
std::int16_t expectInt16()
static constexpr const char * typeText
static const std::uint16_t SERVICE_GLONASS
yarp::os::Type getType() const override
virtual bool write(const yarp::os::idl::WireWriter &writer) const