mirror of https://github.com/ArduPilot/ardupilot
AP_GPS: added have_vertical_velocity() function
for use by EKF
This commit is contained in:
parent
c1f9be75fe
commit
7a6f671659
|
@ -142,8 +142,8 @@ public:
|
||||||
// return last fix time since the 1/1/1970 in microseconds
|
// return last fix time since the 1/1/1970 in microseconds
|
||||||
uint64_t time_epoch_usec(void);
|
uint64_t time_epoch_usec(void);
|
||||||
|
|
||||||
// return true if the GPS supports raw velocity values
|
// return true if the GPS supports vertical velocity values
|
||||||
|
bool have_vertical_velocity(void) const { return _have_raw_velocity; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
AP_HAL::UARTDriver *_port; ///< port the GPS is attached to
|
AP_HAL::UARTDriver *_port; ///< port the GPS is attached to
|
||||||
|
|
Loading…
Reference in New Issue