Andrew Tridgell
90909f2b4a
Copter: added DISARM_DELAY parameter
...
this allows automatic disarming to be disabled, or set to a shorter or
longer time as appropriate for the user
10 years ago
Randy Mackay
0424b3f93c
Copter: pre-arm check of EKF compass variance
10 years ago
Randy Mackay
920d5cefbb
Copter: always check GPS before arming in Loiter
10 years ago
squilter
767b4da5b6
Copter: update send text severities
10 years ago
Paul Riseborough
dc785fd2ed
Copter: shorten disarm counter to 10 seconds
10 years ago
Jonathan Challinger
94fb94d67d
Copter: adapt auto disarm for sprung throttle stick copters
10 years ago
Randy Mackay
cc27fb46bf
Copter: arming check that baro is healthy
10 years ago
Randy Mackay
11c9e46ec7
Copter: arming check that accels and gyro are healty
10 years ago
Randy Mackay
546d668d1d
Copter: no set_hover_throttle for TradHeli
10 years ago
Robert Lefebvre
e3a0f1568d
Copter: Tradheli to check rotor speed control input before arming
...
Also, force rsc_control input to 0 when disarmed. This prevents condition where AP_MotorsHeli can receive a rotor speed command greater than zero while disarmed, which was causing the ColYaw function to move the rudder servo. These two changes are somewhat tied together as it required changing the arming_check to check the RSC_Control not desired_speed from AP_MotorsHeli.
10 years ago
Robert Lefebvre
92de71f993
Copter: Check helicopter parameters during Pre-Arm Checks
10 years ago
Randy Mackay
4e3d0ae0c1
Copter: fix startup logging
...
Removed potentially endless loop caused by start_logging calling
Log_Write_Startup which called should_log which could then call
start_logging.
Moved disarm event logging above motors disarm so it is logged
10 years ago
Randy Mackay
fbe0e5dfb3
Copter: add arming check of fence
10 years ago
Randy Mackay
cfe046c9d1
Copter: log EKF height reset
10 years ago
Randy Mackay
63052ff874
Copter: pre-arm check of battery voltage
10 years ago
Randy Mackay
ea30e5151d
Copter: pre-arm check thr is above failsafe
10 years ago
Randy Mackay
14cf9b1621
Copter: reset ekf height if arming before home set
10 years ago
Randy Mackay
5e40ad5c38
Copter: sonar pre-arm check only if optflow enabled
10 years ago
Andrew Tridgell
278883c521
Copter: finished conversion to .cpp files
...
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
10 years ago
Andrew Tridgell
356ece3402
Copter: rename .pde files to .cpp files
10 years ago
Robert Lefebvre
db3852522f
Copter: Arming failures should say Collective not Throttle for Tradheli.
...
Referring to Collective Pitch as Throttle is confusing for helicopter users as the throttle is really on the motor and not the "throttle stick".
10 years ago
Robert Lefebvre
112fef4825
Copter: Change Tradheli arming failure message.
...
"stop rotor spinning" is not a good indication of what the problem really is. The user needs to understand they must switch off the rotor speed control switch. I would prefer to say "Rotor Speed Control Engaged" but we are limited in message length.
10 years ago
Randy Mackay
6b65aa465b
Copter: pre-arm checks ignore unused compasses
10 years ago
Robert Lefebvre
316196b12f
Copter: Finish RCMap fix.
...
All g.rc_X references changed to channel function pointers.
10 years ago
Andrew Tridgell
554de1f2d7
Copter: added channel objects named after input function
...
this follows the pattern used in plane and rover
10 years ago
Jonathan Challinger
b7632194cc
Copter: check EKF health specifically in pre_arm_gps_checks
10 years ago
Randy Mackay
ae87f9be6e
Copter: use accel_calibrated_ok_all
10 years ago
Andrew Tridgell
d61848817b
Copter: double the threshold for accel inconsistency on IMU3
...
IMU3 varies in temperature a lot compared to IMU1/IMU2, so needs a
higher threshold to prevent false positives
10 years ago
Tom Pittenger
2e191e5a3d
Copter: replace fabs() with fabsf()
10 years ago
Randy Mackay
4f52aaa3a3
Copter: fix tradheli arming message
10 years ago
Tom Pittenger
c8bc44fc6e
Copter: compile warnings: float to double. print statements require doubles
10 years ago
Andrew Tridgell
5a36b9955e
Copter: fix for HAL_SITL rename
10 years ago
Robert Lefebvre
05f18bb014
Copter: Rename output_min() to enable_motor_output()
10 years ago
Robert Lefebvre
4e51ce6d75
Copter: rename "estop" to "emergency stop".
...
No functional change
10 years ago
Robert Lefebvre
9d9f20a6cb
Copter: Add Motor Interlock/E-Stop Conflict Prearm Check
10 years ago
Robert Lefebvre
16cf9471ae
Copter: Remove ap.motors_interlock, use only flag in AP_Motors
10 years ago
Robert Lefebvre
b82113acc7
Copter: Modify auto-disarm process for throttle interlock
10 years ago
Robert Lefebvre
7349827eb1
Copter: Add Aux Switch E-Stop Function
10 years ago
Robert Lefebvre
4a0a4de687
Copter: update motors.throttle_interlock every time motors_output is run
10 years ago
Robert Lefebvre
7d745587a4
Copter: Add using_interlock flag, employ it in arming process
10 years ago
Robert Lefebvre
e4c5915330
Copter: initial creation of motor_interlock
10 years ago
Jonathan Challinger
73d961cebc
Copter: mavlink initiated takeoff in alt-hold modes
...
adds PILOT_TKOFF_ALT for target altitude above home in cm for pilot initiated takeoff
10 years ago
Jonathan Challinger
e5b6cf9966
Copter: use circular limit on tilt angle for arm check
10 years ago
Randy Mackay
276b2dcf5e
Copter: move lost copter check to separate function
...
Also run from scheduler instead of from arm/disarm stick checks
Run at 10hz instead of 1hz
soundalarm_counter to uint8
Disable if equivalent aux switch is setup
Remove SEVERITY_LOW message because the GCSs never print these anyway
10 years ago
svefro
5bee93cba3
Copter: Lost copter alarm through sticks
10 years ago
Andrew Tridgell
cb2427ef9e
Copter: removed special cases for DCM gain changes on arm/disarm
...
copter no longer uses DCM, so it doesn't need these special cases
10 years ago
Randy Mackay
1ff443d667
Copter: add rangefinder pre-arm check
10 years ago
Randy Mackay
52f7186cbf
Copter: pre-arm check primary compass health
...
Previously we would check the 1st compass which might not necessarily be
the primary compass
10 years ago
Randy Mackay
6834b5943e
Copter: pre-arm alt disparity check only if using baro
...
We should probably consolidate the baro pre-arm and arming checks into a
single check_baro function but the difference in the error message stops
me from immediately doing that
10 years ago
Paul Riseborough
1d7cb25c17
Copter : Update pre-arm and arm checks using EKF health status
...
Bypass alt disparity check when doing ground relative navigation using range finder height
Add check of EKF health status to indicate when EKF is waiting to complete checks
10 years ago