mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
Plane: GCS_MAVLink base class now uses same ekf call to get alt
This commit is contained in:
parent
da40ebaf70
commit
57cc0cac97
@ -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;
|
||||
}
|
||||
|
@ -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…
Reference in New Issue
Block a user