Randy Mackay
1f3fa3e272
Copter: formatting fixes to arming checks
9 years ago
Jonathan Challinger
933ffb2b10
Copter: move prearm logic to arming_checks.cpp
9 years ago
Luis Vale Gonçalves
3199829d45
Copter: revisions to text strings sent to GCS
9 years ago
Randy Mackay
1b29a1af46
Copter: consolidate setting of using-iterlock state
9 years ago
Robert Lefebvre
2b111c2bd6
Copter: fix Helicopter no-build issue
...
Conflict with another recent change to disarm counter
9 years ago
Fredrik Hedberg
a6d2e0d4df
Copter: Don't auto-disarm helicopters if rotor is still spinning.
9 years ago
Robert Lefebvre
2632a2e348
Copter: Rework arming proceedures for interlock/Estop
...
to fix race condition.
9 years ago
Jonathan Challinger
6524222397
Copter: adapt auto disarm check to use a timer
9 years ago
lvale
549695181c
Copter: revised and uniformization of severity messages
9 years ago
Lucas De Marchi
84da1f5039
Rename gcs_send_text_P to gcs_send_text
9 years ago
Lucas De Marchi
2c38e31c93
Remove use of PSTR
...
The PSTR is already define as a NOP for all supported platforms. It's
only needed for AVR so here we remove all the uses throughout the
codebase.
This was automated with a simple python script so it also converts
places which spans to multiple lines, removing the matching parentheses.
AVR-specific places were not changed.
9 years ago
Randy Mackay
b49fda4a94
Copter: remove rotor spinning arming check from TradHeli
9 years ago
Jonathan Challinger
28f55766fd
Copter: use configured to check whether radio has been calibrated
9 years ago
Lucas De Marchi
09f185eb5e
ArduCopter: remove check for max INS instances
...
For all supported boards the maximum number of instances is 3.
9 years ago
Paul Riseborough
d0aba09503
Copter: Access EKF healthy through AHRS object
...
Enables EKF2 use
9 years ago
Paul Riseborough
7c6b31b585
Copter: Access EKF variance checks through AHRS object
...
Supports flight using EKF2
9 years ago
Randy Mackay
d03489263d
Copter: remove gyro cal on first arming
9 years ago
Gustavo Jose de Sousa
fb5320bb25
ArduCopter: use compass get_{field,offsets}() functions
...
Both functions are equivalent, so we're going to simply use
get_{field,offsets}() instead of get_{field,offsets}_milligauss().
9 years ago
Andrew Tridgell
5cb088fe14
Copter: pass display_failure to AP_Motors heli check
10 years ago
Andrew Tridgell
2470cf0e76
Copter: use resetHeightDatum() and getLastYawResetAngle()
10 years ago
Randy Mackay
57c5840f0d
Copter: add EKF attitude arming check
10 years ago
Randy Mackay
01c0b20930
Copter: calibrate gyros depending on INS GYR_CAL parameter
10 years ago
Randy Mackay
0f55b2a0eb
Copter: replace vehicle compass consistency check
10 years ago
Staroselskii Georgii
68e0d57998
Copter: make Copter use milligauss
...
The telemetry and and logging is still in compass units, though. This
way, users won't need to recalibrate their compasses.
10 years ago
Andrew Tridgell
dff9fe9cb2
Copter: use prearm_failure_reason()
10 years ago
Siddharth Bharat Purohit
9cf2998bba
Copter: update send text severity for compass cal
10 years ago
Jonathan Challinger
fa6bfee433
Copter: add arming check for compass calibration running
10 years ago
Andrew Tridgell
00da3ccc49
Copter: set in_arm_motors to false on all arm failure returns
...
otherwise if the user fails to arm due to interlock or emergency stop
then they won't be able to try to arm again until they reboot
10 years ago
Robert Lefebvre
c968ec3a63
Copter: Helicopters to use motor interlock logic.
...
Also, remove motor interlock pre-arm check to streamline logic.
10 years ago
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