Plane: GCS_MAVLink base class now uses same ekf call to get alt

This commit is contained in:
Peter Barker 2018-05-16 13:02:43 +10:00 committed by Francisco Ferreira
parent da40ebaf70
commit 57cc0cac97
2 changed files with 0 additions and 6 deletions

View File

@ -1781,8 +1781,3 @@ const AP_FWVersion &GCS_MAVLINK_Plane::get_fwver() const
{
return plane.fwver;
}
int32_t GCS_MAVLINK_Plane::global_position_int_relative_alt() const
{
return plane.relative_altitude * 1.0e3f;
}

View File

@ -34,7 +34,6 @@ protected:
virtual bool in_hil_mode() const override;
int32_t global_position_int_relative_alt() const;
void send_attitude() const override;
private: