Plane: Expose the AFS instance to MAVLink
This commit is contained in:
parent
97c1785bef
commit
833ec1336e
@ -1900,6 +1900,11 @@ AP_ServoRelayEvents *GCS_MAVLINK_Plane::get_servorelayevents() const
|
||||
return &plane.ServoRelayEvents;
|
||||
}
|
||||
|
||||
AP_AdvancedFailsafe *GCS_MAVLINK_Plane::get_advanced_failsafe() const
|
||||
{
|
||||
return &plane.afs;
|
||||
}
|
||||
|
||||
AP_Rally *GCS_MAVLINK_Plane::get_rally() const
|
||||
{
|
||||
return &plane.rally;
|
||||
|
@ -24,6 +24,7 @@ protected:
|
||||
Compass *get_compass() const override;
|
||||
AP_Camera *get_camera() const override;
|
||||
AP_ServoRelayEvents *get_servorelayevents() const override;
|
||||
AP_AdvancedFailsafe *get_advanced_failsafe() const override;
|
||||
AP_Rally *get_rally() const override;
|
||||
AP_GPS *get_gps() const override;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user