mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-29 20:18:31 -04:00
Copter: remove rcmap member from AP_AdvancedFailsafe
This commit is contained in:
parent
f8711f70c9
commit
dc61884303
@ -1004,7 +1004,7 @@ ParametersG2::ParametersG2(void)
|
||||
, proximity(copter.serial_manager)
|
||||
#endif
|
||||
#if ADVANCED_FAILSAFE == ENABLED
|
||||
,afs(copter.mission, copter.gps, copter.rcmap)
|
||||
,afs(copter.mission, copter.gps)
|
||||
#endif
|
||||
#if MODE_SMARTRTL_ENABLED == ENABLED
|
||||
,smart_rtl()
|
||||
|
@ -7,8 +7,8 @@
|
||||
#if ADVANCED_FAILSAFE == ENABLED
|
||||
|
||||
// Constructor
|
||||
AP_AdvancedFailsafe_Copter::AP_AdvancedFailsafe_Copter(AP_Mission &_mission, const AP_GPS &_gps, const RCMapper &_rcmap) :
|
||||
AP_AdvancedFailsafe(_mission, _gps, _rcmap)
|
||||
AP_AdvancedFailsafe_Copter::AP_AdvancedFailsafe_Copter(AP_Mission &_mission, const AP_GPS &_gps) :
|
||||
AP_AdvancedFailsafe(_mission, _gps)
|
||||
{}
|
||||
|
||||
|
||||
|
@ -27,7 +27,7 @@
|
||||
class AP_AdvancedFailsafe_Copter : public AP_AdvancedFailsafe
|
||||
{
|
||||
public:
|
||||
AP_AdvancedFailsafe_Copter(AP_Mission &_mission, const AP_GPS &_gps, const RCMapper &_rcmap);
|
||||
AP_AdvancedFailsafe_Copter(AP_Mission &_mission, const AP_GPS &_gps);
|
||||
|
||||
// called to set all outputs to termination state
|
||||
void terminate_vehicle(void);
|
||||
|
Loading…
Reference in New Issue
Block a user