Browse Source

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

mission-4.1.18
Peter Barker 7 years ago committed by Francisco Ferreira
parent
commit
57cc0cac97
  1. 5
      ArduPlane/GCS_Mavlink.cpp
  2. 1
      ArduPlane/GCS_Mavlink.h

5
ArduPlane/GCS_Mavlink.cpp

@ -1781,8 +1781,3 @@ const AP_FWVersion &GCS_MAVLINK_Plane::get_fwver() const @@ -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;
}

1
ArduPlane/GCS_Mavlink.h

@ -34,7 +34,6 @@ protected: @@ -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:

Loading…
Cancel
Save