mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Copter: Update for AFS interface
This commit is contained in:
parent
1d379dd0b3
commit
bd904f890f
@ -984,7 +984,7 @@ ParametersG2::ParametersG2(void)
|
|||||||
, proximity(copter.serial_manager)
|
, proximity(copter.serial_manager)
|
||||||
#endif
|
#endif
|
||||||
#if ADVANCED_FAILSAFE == ENABLED
|
#if ADVANCED_FAILSAFE == ENABLED
|
||||||
,afs(copter.mode_auto.mission, copter.gps)
|
,afs(copter.mode_auto.mission)
|
||||||
#endif
|
#endif
|
||||||
#if MODE_SMARTRTL_ENABLED == ENABLED
|
#if MODE_SMARTRTL_ENABLED == ENABLED
|
||||||
,smart_rtl()
|
,smart_rtl()
|
||||||
|
@ -7,8 +7,8 @@
|
|||||||
#if ADVANCED_FAILSAFE == ENABLED
|
#if ADVANCED_FAILSAFE == ENABLED
|
||||||
|
|
||||||
// Constructor
|
// Constructor
|
||||||
AP_AdvancedFailsafe_Copter::AP_AdvancedFailsafe_Copter(AP_Mission &_mission, const AP_GPS &_gps) :
|
AP_AdvancedFailsafe_Copter::AP_AdvancedFailsafe_Copter(AP_Mission &_mission) :
|
||||||
AP_AdvancedFailsafe(_mission, _gps)
|
AP_AdvancedFailsafe(_mission)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
class AP_AdvancedFailsafe_Copter : public AP_AdvancedFailsafe
|
class AP_AdvancedFailsafe_Copter : public AP_AdvancedFailsafe
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
AP_AdvancedFailsafe_Copter(AP_Mission &_mission, const AP_GPS &_gps);
|
AP_AdvancedFailsafe_Copter(AP_Mission &_mission);
|
||||||
|
|
||||||
// called to set all outputs to termination state
|
// called to set all outputs to termination state
|
||||||
void terminate_vehicle(void);
|
void terminate_vehicle(void);
|
||||||
|
Loading…
Reference in New Issue
Block a user