Peter Barker
ce5f23810b
ArduCopter: log disarm method
5 years ago
Siddharth Purohit
defc1b5fcb
ArduCopter: add arming message for compass not detected but assigned
5 years ago
Randy Mackay
74e3ca75a7
Copter: check_mot_pwm_params arming check returns true on success
5 years ago
ashvath
aecc10fdc3
Copter: Pre-arm check for mot_pwm
5 years ago
Matt Lawrence
d1feb93152
Copter: Add GCS failsafe pre-arm check
5 years ago
Peter Barker
e1b3bd2e42
ArduCopter: move logging of armed/disarm events into AP_Arming base class
5 years ago
Randy Mackay
ea22e888c7
Copter: improve RTL terrain following
...
RTL_ALT_TYPE replaces TERRAIN_FOLLOW param
return path built using rangefinder or terrain database
pre-arm checks for RTL_ALT_TYPE parameter
pre-arm checks of terrain data only run if RTL might use it
5 years ago
bnsgeyer
74d81e6d50
Copter: Change STAB_COL params to percent
5 years ago
Randy Mackay
2c3beb0f91
Copter: add mandatory gps checks
5 years ago
Randy Mackay
2cfdfb38e7
Copter: pre-arm check for Toshiba ESCs disabled with parameter flag
5 years ago
Peter Barker
e6c6189fe5
Copter: cope with change in namespace of LogEvent enum
...
Also move Acro Trainer types into an enum class as the global defines
interfere with the Event names.
Also eliminate the Log_Write_Event wrappers.
5 years ago
Randy Mackay
527e76a047
Copter: add pre-arm check that ToshibaCAN ESCs are present
5 years ago
Peter Barker
bfbb482919
Copter: remove bogus ARMING_CHECK_NONE 'bitmask value'
5 years ago
Randy Mackay
6e27d49f24
Copter: add pre-arm check of PILOT_SPEED_UP param
5 years ago
Andrew Tridgell
c40e0ffb6b
Copter: fixed EKF threshold for arming
...
when EKF failsafe is disabled by setting threshold to zero we need to
disable this arming check
5 years ago
Peter Barker
b4537bebd8
Copter: move control_mode_t into being Mode::Number enum class
...
Fixes this compiler error:
In file included from ../../ArduCopter/sensors.cpp:1:
In file included from ../../ArduCopter/Copter.h:195:
../../ArduCopter/mode.h:1291:9: fatal error: declaration shadows a variable in the global namespace [-Wshadow]
AUTO, // after A and B defined, pilot toggle the switch from one side to the other, vehicle flies autonomously
^
../../ArduCopter/defines.h:38:5: note: previous declaration is here
AUTO = 3, // fully automatic waypoint control using mission commands
^
1 error generated.
5 years ago
Randy Mackay
709c874d8b
Copter: integrate AP_OAPathPlanner
6 years ago
Randy Mackay
a3bde4f054
Copter: pre-arm check for ToshibaCAN ESC pwm range
6 years ago
Peter Barker
6f4167b85b
Copter: pass format string through to check_failed
6 years ago
hoangthien94
6d8a1bbe81
Copter: bypass compass healthy check when ext nav data is available for heading
6 years ago
Peter Barker
bf6f10e448
Copter: Arming: ensure frame class is appropriate for build FRAME_CONFIG
6 years ago
Peter Barker
3e098df65a
Copter: move common proximity pre-arm checks up
...
It will not be possible to arm if a proximity sensor has been configured
but is not working after this patch.
The can't-arm-when-within-60cm-of-something check can still be disabled
with the PARAMETER arming check bit.
6 years ago
Peter Barker
112b153268
Copter: move Arming functions into AP_Arming file
6 years ago
Peter Barker
6dce39cbe1
Copter: use AP_Arming methods to arm and disarm vehicle
...
Really just changing the namespace of init_arm_motors
6 years ago
Peter Barker
9f9531a790
Copter: AP_Arming: correct overriding of arm_checks method
...
This makes the arbitrary decision that arming checks always report
failures to the GCS.
Fixes:
In file included from ../../ArduCopter/events.cpp:1:
In file included from ../../ArduCopter/Copter.h:91:
../../ArduCopter/AP_Arming.h:33:69: fatal error: non-virtual member function marked 'override' hides virtual member function
bool arm_checks(bool display_failure, AP_Arming::Method method) override;
^
../../libraries/AP_Arming/AP_Arming.h:64:18: note: hidden overloaded virtual function 'AP_Arming::arm_checks' declared here: different number of parameters (1 vs 2)
virtual bool arm_checks(AP_Arming::Method method);
^
1 error generated.
6 years ago
Michael du Breuil
465d6b4dc7
Copter: Remove rangefinder distance prearm check
6 years ago
Michael du Breuil
8290bd4e67
Copter: check all EKF cores for health on arming
6 years ago
Patrick José Pereira
86633e45ff
Copter: Use new RC_Channel AUX_FUNC
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
6 years ago
Peter Barker
6bac6cd725
Copter: remove redundant compass arming checks
...
These are already part of prearm checks in the parent class, which must also pass for us to arm
6 years ago
ChristopherOlson
e56c970eb0
Copter:AP_ARMING - remove collective position prearm check for heli
6 years ago
Peter Barker
f189860162
Copter: use enum class for ArmingMethod and ArmingRequired
6 years ago
Peter Barker
7b6fef16aa
Copter: remove redundant PreArm: in check_failed calls
6 years ago
Peter Barker
cc8912255e
Copter: move checking of fence up
6 years ago
Peter Barker
cac87b8e0b
Copter: use attitude and position controller prearm checks
6 years ago
IamPete1
ba3d1bc6c7
Copter: move E-stop state to SRV_Channel
6 years ago
bnsgeyer
07d9e8c224
Copter: Tradheli-removed hard coding of motor interlock to channel 8
6 years ago
murata
77389d9a91
Copter: remove dup return from arming prox check
6 years ago
Peter Barker
a90cfc7db7
Copter: clarify prearm failure messages
6 years ago
Peter Barker
e7e56dde7a
Copter: move handling of RC switches into RC_Channel
7 years ago
Peter Barker
df83cb034e
Copter: use ArmingMethod enumeration
7 years ago
Peter Barker
a1f29e92d1
Copter: use singletons in AP_Arming
7 years ago
Peter Barker
7785a962dc
Copter: fix inconsistent setting of AP_Notify::flags.pre_arm_gps_check
7 years ago
Peter Barker
291102360a
Copter: use check_failed function
7 years ago
Andrew Tridgell
b8d47f346e
Copter: fixed interlock check on helis
...
the motors check is always false when disarmed, so can't be used for
arming check
7 years ago
bnsgeyer
86440b20ba
Copter: Tradheli - disables inverted flight option for single and dual heli frames
7 years ago
Michael du Breuil
291531e056
Copter: Support new battery failsafes
7 years ago
Dr.-Ing. Amilcar do Carmo Lucas
5f9879fae1
Copter: remove more parameters when ACRO is disabled
7 years ago
Peter Barker
45f2312bfe
Copter: move home state into AP_AHRS
7 years ago
Ebin
185f41d5bd
Copter arm_checks(): PreArm in error msg changed to Arm
7 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
b27c00dc5f
Copter: add option to disable ACRO mode
7 years ago