Commit Graph

28 Commits

Author SHA1 Message Date
rmackay9
5df4295ebc ArduCopter: write failsafe error to logs before switching flight modes 2013-01-05 12:33:30 +09:00
rmackay9
8b497cc61d ArduCopter: log watchdog event to dataflash 2012-12-31 13:32:27 +09:00
rmackay9
607aa7c098 ArduCopter: fix to sub system used to record failsafe in dataflash ERR message 2012-12-30 12:18:45 +09:00
rmackay9
bc4cd41a33 ArduCopter: added ERR dataflash message
Failsafe events changed to errors so they are more obvious.
Errors recorded to dataflash for failure to init compass and optical flow sensor.
Errors recorded for pwm failure.
Resolved a compile error when dataflash logging is disabled.
2012-12-30 12:08:25 +09:00
rmackay9
a80f065188 ArduCopter: Battery failsafe triggers RTL only if we are more than 15m from home, otherwise it performs a LAND 2012-12-22 18:16:50 +09:00
rmackay9
d9873dcd7b ArduCopter with the new Camera and Relay classes for APM1 and APM2.
All changes by Sandro Benigno
2012-12-22 17:26:27 +09:00
rmackay9
ac66d7cac2 ArduCopter: on throttle failsafe, only initiate RTL if we are at least 15m from home 2012-12-21 14:39:48 +09:00
rmackay9
770e1b97f2 ArduCopter: renamed BATT_FAILSAFE to FS_BATT_ENABLE 2012-12-10 23:47:14 +09:00
rmackay9
44773d1f2a ArduCopter: rename throttle failsafe parameters.
Switch to LAND flight mode if throttle failsafe triggers and we do not have a GPS.
THR_FAILSAFE renamed to FS_THR_ENABLE.
THR_FS_VALUE renamed to FS_THR_VALUE.
THR_FS_ACTION removed (action is now controlled by setting FS_THR parameter).
2012-12-10 23:38:43 +09:00
rmackay9
3a4d122e32 ArduCopter: low baterry failsafe 2012-11-15 23:35:41 +09:00
rmackay9
41c0cee292 ArduCopter: failsafe improvements
resolves momentary throttle drop to zero before failsafe engages
resolves motor cut after 30seconds if flying in stabilize without GPS (now switches to ALT_HOLD with target altitude zero)
disables motors if throttle was zero before failsafe event
2012-11-11 22:11:12 +09:00
Jason Short
3e905ec750 Ap state updates 2012-11-09 22:15:15 -08:00
uncrustify
bcad02a1ba uncrustify ArduCopter/events.pde 2012-08-21 18:55:43 -07:00
Jason Short
022c567b47 ACM : Events - renamed target alt 2012-08-09 16:59:44 -07:00
Jason Short
34945b4e38 ACM: Failsafe Fix for Mission planner initiated AUTO mode
Keeps the failsafe from exiting Auto mode when returning from failsafe. Added arming ability for Toy mode.
2012-07-23 19:34:25 -07:00
Andrew Tridgell
af1573ad30 ACM: prevent link flood with "Low Battery" warnings
thanks to Marco for noticing this
2012-06-05 11:31:40 +10:00
Robert Lefebvre
a9349a6e87 More CopterLEDS changes.
Merged CopterLEDS and Piezo functions to eliminate pin conflict on APM2.  Created new Parameter bit to turn piezo function on and off from MP. Moved GPS and Aux pin assignments to allow commonality between APM1 and 2.  Set LED_Mode parameter default to 9 in order to make CopterLEDS completely backwards compatible with old Motor LEDS and Piezo code.  Legacy users should see no difference.
2012-05-15 12:00:21 -04:00
Jason Short
e5a0959394 Found missing Break in Switch statement. 2012-02-09 22:22:01 -08:00
Jason Short
78925d57c2 added set_new_altitude call() 2012-01-10 23:43:44 -08:00
Jason Short
0744179970 Added comments
moved out failsafe check. otherwise the reporting was erroneous.
2012-01-10 23:42:26 -08:00
Jason Short
e908390c64 Made RTL go up 10m for failsafe 2012-01-06 10:20:48 -08:00
Jason Short
67873813ce Added minimum Altitude for RTL failsafe 2011-11-26 16:39:29 -08:00
Jason Short
b09ab99699 added safety checks for RTL 2011-11-26 16:39:29 -08:00
Jason Short
6bdc116176 Enable RTL 2011-11-26 16:39:29 -08:00
Andrew Tridgell
661b6c4508 merged the GCS updates from ArduPlane to ArduCopter
this removes all the non-MAVLink GCS options, and simplifies the HIL
and GCS code a lot. It also adds async sending of low priority GCS
text messages.
2011-10-11 20:53:43 +11:00
Amilcar Lucas
9d3e5a8e11 Use the new AP_Relay library 2011-10-02 14:22:27 +02:00
Jason Short
4425e72034 Added Piezo Support, code from Oliver. 2011-09-18 17:12:28 -07:00
Andrew Tridgell
be8864f424 renamed top level directories
ArduCopterMega -> ArduCopter
added archives directory for old code
2011-09-09 11:27:41 +10:00