CreOS SDK
The CreOS SDK allows you to interact with Avular robots
 
Loading...
Searching...
No Matches
nav_sat_fix.hpp
Go to the documentation of this file.
1
8namespace sensor_msgs::msg {
17class NavSatFix {
18public:
19 // Navigation Satellite fix for any Global Navigation Satellite System
20 //
21 // Specified using the WGS 84 reference ellipsoid
22
23 // header.stamp specifies the ROS time for this measurement (the
24 // corresponding satellite time may be reported using the
25 // sensor_msgs/TimeReference message).
26 //
27 // header.frame_id is the frame of reference reported by the satellite
28 // receiver, usually the location of the antenna. This is a
29 // Euclidean frame relative to the vehicle, not a reference
30 // ellipsoid.
32
33 // Satellite fix status information.
34 msg::NavSatStatus status;
35
36 // Latitude [degrees]. Positive is north of equator; negative is south.
37 double latitude;
38
39 // Longitude [degrees]. Positive is east of prime meridian; negative is west.
40 double longitude;
41
42 // Altitude [m]. Positive is above the WGS 84 ellipsoid
43 // (quiet NaN if no altitude is available).
44 double altitude;
45
46 // Position covariance [m^2] defined relative to a tangential plane
47 // through the reported position. The components are East, North, and
48 // Up (ENU), in row-major order.
49 //
50 // Beware: this coordinate system exhibits singularities at the poles.
51 std::array<double, 9> position_covariance;
52
53 // If the covariance of the fix is known, fill it in completely. If the
54 // GPS receiver provides the variance of each measurement, put them
55 // along the diagonal. If only Dilution of Precision is available,
56 // estimate an approximate covariance from that.
57
58 static const uint8_t COVARIANCE_TYPE_UNKNOWN = 0;
59 static const uint8_t COVARIANCE_TYPE_APPROXIMATED = 1;
60 static const uint8_t COVARIANCE_TYPE_DIAGONAL_KNOWN = 2;
61 static const uint8_t COVARIANCE_TYPE_KNOWN = 3;
62
63 uint8_t position_covariance_type;
64};
65} // namespace sensor_msgs::msg
ROS message class definition for NavSatFix.
Definition nav_sat_fix.hpp:17
ROS message class definition for NavSatStatus.
Definition nav_sat_status.hpp:19
ROS message class definition for Header.
Definition header.hpp:17
message definitions of the sensor_msgs package
Definition battery_state.hpp:8