27     switch (msg.status.status)
    50     sensor_msgs::NavSatFix& msg)
    53     msg.header = msg_header;
    71                 msg.status.status = -1;
    74                 msg.status.status = 0;
    77                 msg.status.status = 2;
    80                 msg.status.status = 1;
    85                 msg.status.status = 0;
    89         msg.status.service = 1;
 uint8_t fix_quality
NMEA standard values: 0 = invalid, 1 = GPS fix (SPS), 2 = DGPS fix, 3 = PPS fix, 4 = Real Time Kinema...
 
double latitude_degrees
The measured latitude, in degrees (North:+ , South:-) 
 
double altitude_meters
The measured altitude, in meters (A). 
 
double longitude_degrees
The measured longitude, in degrees (East:+ , West:-) 
 
MSG_CLASS & getMsgByClass()
Returns a reference to the message in the list CObservationGPS::messages of the requested class...
 
bool toROS(const mrpt::obs::CObservationGPS &obj, const std_msgs::Header &msg_header, sensor_msgs::NavSatFix &msg)
Convert mrpt::obs::CObservationGPS -> sensor_msgs/NavSatFix The user must supply the "msg_header" fie...
 
void setMsg(const MSG_CLASS &msg)
Stores a message in the list messages, making a copy of the passed object. 
 
ROS message: http://docs.ros.org/api/sensor_msgs/html/msg/NavSatFix.html MRPT message: https://github...
 
bool hasMsgClass() const
Like hasMsgType() but allows querying for message classes, from any of those derived from mrpt::obs::...
 
bool fromROS(const sensor_msgs::NavSatFix &msg, mrpt::obs::CObservationGPS &obj)
Convert sensor_msgs/NavSatFix -> mrpt::obs::CObservationGPS. 
 
content_t fields
Message content, accesible by individual fields. 
 
This class stores messages from GNSS or GNSS+IMU devices, from consumer-grade inexpensive GPS receive...