|
|
|
@ -134,9 +134,9 @@ public:
@@ -134,9 +134,9 @@ public:
|
|
|
|
|
uint16_t vdop; ///< vertical dilution of precision in cm
|
|
|
|
|
uint8_t num_sats; ///< Number of visible satellites
|
|
|
|
|
Vector3f velocity; ///< 3D velocity in m/s, in NED format
|
|
|
|
|
float speed_accuracy; ///< 3D velocity accuracy estimate in m/s
|
|
|
|
|
float horizontal_accuracy; ///< horizontal accuracy estimate in m
|
|
|
|
|
float vertical_accuracy; ///< vertical accuracy estimate in m
|
|
|
|
|
float speed_accuracy; ///< 3D velocity RMS accuracy estimate in m/s
|
|
|
|
|
float horizontal_accuracy; ///< horizontal RMS accuracy estimate in m
|
|
|
|
|
float vertical_accuracy; ///< vertical RMS accuracy estimate in m
|
|
|
|
|
bool have_vertical_velocity:1; ///< does GPS give vertical velocity? Set to true only once available.
|
|
|
|
|
bool have_speed_accuracy:1; ///< does GPS give speed accuracy? Set to true only once available.
|
|
|
|
|
bool have_horizontal_accuracy:1; ///< does GPS give horizontal position accuracy? Set to true only once available.
|
|
|
|
@ -297,7 +297,7 @@ public:
@@ -297,7 +297,7 @@ public:
|
|
|
|
|
return last_message_time_ms(primary_instance); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// return true if the GPS supports vertical velocity values
|
|
|
|
|
// return true if the GPS supports vertical velocity values
|
|
|
|
|
bool have_vertical_velocity(uint8_t instance) const { |
|
|
|
|
return state[instance].have_vertical_velocity; |
|
|
|
|
} |
|
|
|
@ -398,7 +398,7 @@ protected:
@@ -398,7 +398,7 @@ protected:
|
|
|
|
|
|
|
|
|
|
private: |
|
|
|
|
// returns the desired gps update rate in milliseconds
|
|
|
|
|
// this does not provide any gurantee that the GPS is updating at the requested
|
|
|
|
|
// this does not provide any guarantee that the GPS is updating at the requested
|
|
|
|
|
// rate it is simply a helper for use in the backends for determining what rate
|
|
|
|
|
// they should be configuring the GPS to run at
|
|
|
|
|
uint16_t get_rate_ms(uint8_t instance) const; |
|
|
|
@ -407,7 +407,7 @@ private:
@@ -407,7 +407,7 @@ private:
|
|
|
|
|
// the time we got our last fix in system milliseconds
|
|
|
|
|
uint32_t last_fix_time_ms; |
|
|
|
|
|
|
|
|
|
// the time we got our last fix in system milliseconds
|
|
|
|
|
// the time we got our last message in system milliseconds
|
|
|
|
|
uint32_t last_message_time_ms; |
|
|
|
|
}; |
|
|
|
|
// Note allowance for an additional instance to contain blended data
|
|
|
|
|