mirror of https://github.com/ArduPilot/ardupilot
Plane: Update for AFS interface
This commit is contained in:
parent
3194b073ca
commit
1d379dd0b3
|
@ -674,7 +674,7 @@ private:
|
||||||
|
|
||||||
// Outback Challenge Failsafe Support
|
// Outback Challenge Failsafe Support
|
||||||
#if ADVANCED_FAILSAFE == ENABLED
|
#if ADVANCED_FAILSAFE == ENABLED
|
||||||
AP_AdvancedFailsafe_Plane afs {mission, gps};
|
AP_AdvancedFailsafe_Plane afs {mission};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
|
|
||||||
#if ADVANCED_FAILSAFE == ENABLED
|
#if ADVANCED_FAILSAFE == ENABLED
|
||||||
// Constructor
|
// Constructor
|
||||||
AP_AdvancedFailsafe_Plane::AP_AdvancedFailsafe_Plane(AP_Mission &_mission, const AP_GPS &_gps) :
|
AP_AdvancedFailsafe_Plane::AP_AdvancedFailsafe_Plane(AP_Mission &_mission) :
|
||||||
AP_AdvancedFailsafe(_mission, _gps)
|
AP_AdvancedFailsafe(_mission)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
class AP_AdvancedFailsafe_Plane : public AP_AdvancedFailsafe
|
class AP_AdvancedFailsafe_Plane : public AP_AdvancedFailsafe
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
AP_AdvancedFailsafe_Plane(AP_Mission &_mission, const AP_GPS &_gps);
|
AP_AdvancedFailsafe_Plane(AP_Mission &_mission);
|
||||||
|
|
||||||
// called to set all outputs to termination state
|
// called to set all outputs to termination state
|
||||||
void terminate_vehicle(void) override;
|
void terminate_vehicle(void) override;
|
||||||
|
|
Loading…
Reference in New Issue