Randy Mackay
e1aaea0834
Copter: pre-arm check of FS_GCS_ENABLE=2
4 years ago
Randy Mackay
248d80eb37
Copter: integrate ahrs::get_variances change
...
offset is no longer returned
4 years ago
Randy Mackay
49e1e8cc16
Copter: integrate ahrs.pre_arm_check
4 years ago
Randy Mackay
eeaf135cca
AP_Arming: integrate ahrs.pre_arm_check
4 years ago
Randy Mackay
1858fbe951
AP_Arming: correct proximity pre-arm check msg
4 years ago
Peter Barker
af53f9ce64
Copter: correct compilation when AUTO/RTL are disabled
4 years ago
Andy Piper
b8f613c965
Copter: rename ADSB_ENABLED to HAL_ADSB_ENABLED and remove from config
4 years ago
Randy Mackay
315d9da138
Copter: add ekf alt pre-arm and mode init checks
5 years ago
Siddharth Purohit
9b9954aa46
Copter: move to using CANManager library
5 years ago
Randy Mackay
9e06b78fda
Copter: minor formatting fix
5 years ago
Josh Welsh
de9e9b90e5
Copter: Tradheli servo_test fix
5 years ago
Randy Mackay
f607ff28b3
Copter: integrate winch arming checks
5 years ago
murata
c9990cdecc
Copter: Change Need 3D Fix message.
5 years ago
mmk0102
c0d7739929
Copter: move check for duplicate auxswitch options up
5 years ago
chobits
8ce27afba0
Copter: fix mode and fence gps check fail message
5 years ago
Tatsuya Yamaguchi
875fa36018
Copter: remove an unnecessary condition
5 years ago
Tatsuya Yamaguchi
9c3a0b863f
Copter: use check_failed function for ESTOP arming check
5 years ago
murata
04b0a8a62a
Copter: Add expected value to message
5 years ago
murata
f70ab73a1f
Copter: Change arming messages
5 years ago
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