AP_GPS: added have_vertical_velocity() function

for use by EKF
This commit is contained in:
Andrew Tridgell 2014-02-24 18:24:10 +11:00
parent c1f9be75fe
commit 7a6f671659
1 changed files with 2 additions and 2 deletions

View File

@ -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