Commit Graph

13391 Commits

Author SHA1 Message Date
Jonathan Challinger 77bbd2532b AC_PosControl: add force_descend option to set_alt_target_from_climb_rate 2014-12-24 14:44:54 +09:00
Randy Mackay 6327f4adf1 Copter: allow arming in GUIDED only from GCS
Also changed mode_allows_arming function to accept arming_from_gcs param
Also remove AUTOTUNE from arming list
2014-12-24 14:44:53 +09:00
Jonathan Challinger c65cb45c07 Copter: move all arm check logic into arm_checks 2014-12-24 14:44:53 +09:00
Jonathan Challinger e05f8d3087 Copter: add mode_allows_arming function 2014-12-24 14:44:52 +09:00
Jonathan Challinger 7ea5e69f9c Copter: auto-disarm if land complete regardless of mode 2014-12-24 14:44:51 +09:00
Jonathan Challinger 9fc62b5db2 Copter: use ap.throttle_zero instead of rc_3.control_in in auto_disarm_check 2014-12-24 14:44:50 +09:00
Jonathan Challinger f64f155c3a Copter: add land_complete to fence disarm check 2014-12-24 14:44:49 +09:00
Randy Mackay 9ced648479 Copter: throttle zero debounce to separate function
Also initialise throttle_zero  to true on startup
Treat throttle less than zero as zero
2014-12-24 14:44:48 +09:00
Jonathan Challinger 8d63a65793 Copter: Change all zero throttle checks that should be conservative to use ap.throttle_zero 2014-12-24 14:44:48 +09:00
Jonathan Challinger 506c7661a4 Copter: add throttle_zero state 2014-12-24 14:44:47 +09:00
Andrew Tridgell 0c371f1b98 DataFlash: don't try and open logfile on failure more than once
this prevents a corrupted microSD card from causing a continuous
attempt to open a log file while in flight, which can cause large
scheduler delays

Pair-Programmed-With: Grant Morphett <grant@gmorph.com>
2014-12-23 16:03:02 +09:00
Andrew Tridgell 60ded486c2 DataFlash: don't write out parameters if log open fails 2014-12-23 16:02:59 +09:00
Andrew Tridgell d5108195da HAL_PX4: FRAM does not support fsync
the fsync just wastes time reopening /fs/mtd
2014-12-19 09:18:31 +09:00
Emile Castelnuovo 412de3cf76 AP_Compass: VRBRAIN add #if !defined() for VRBRAIN 4.5 boards. 2014-11-11 11:14:13 -08:00
LukeMike 45e3b0e9cd VRBRAIN: added script for build all VirtualRobotix binaries 2014-11-11 11:14:10 -08:00
LukeMike f50d48f409 VRBRAIN: added new board VR Brain 5 PRO 2014-11-11 11:14:06 -08:00
LukeMike 12ade1e65c VRBRAIN: added flag for to build versions with different kind of RC Inputs 2014-11-11 11:13:58 -08:00
LukeMike 1455d700d4 VRBRAIN: defined AirSpeed inputs for ArduPlane on VR Micro Brain 5 2014-11-11 11:13:54 -08:00
Emile Castelnuovo 2de18f844b AP_Compass: VRBRAIN. Deal with external mag connected on internal I2C on VRBRAIN 4.5
This enables user to set the external parameter to true even if only one compass is connected
2014-11-11 11:13:49 -08:00
LukeMike 0a3ef32649 VRBRAIN: modified target clean 2014-11-11 11:13:40 -08:00
Randy Mackay c8e0f3e13a Copter: update version to AC3.2 2014-11-07 13:49:50 +09:00
Randy Mackay f8de0ecc9e Copter: update AC3.2 ReleaseNotes 2014-11-07 13:49:25 +09:00
Randy Mackay bd69290e5a Copter: minor update to AC3.2-rc14 ReleaseNotes 2014-10-31 10:56:46 +09:00
Randy Mackay 3a292db7f1 Copter: update AC3.2-rc14 ReleaseNotes 2014-10-29 18:09:11 +09:00
priseborough fecad46336 AP_NavEKF : add INIT_GYRO_BIAS_UNCERTAINTY definition 2014-10-29 17:42:10 +09:00
Randy Mackay ddb8796d2c Copter: return false when arming fails 2014-10-29 15:59:54 +09:00
Randy Mackay 683f3a55c4 Copter: re-enable CPU failsafe if arming fails 2014-10-29 15:59:22 +09:00
Randy Mackay dc3509ef55 Copter: fail to arm if gyro cal fails 2014-10-29 15:45:56 +09:00
priseborough a7caa91cef AP_NavEKF : Add public method to reset gyro bias states 2014-10-29 15:42:34 +09:00
priseborough d04a740bcb AP_AHRS : Add reset of EKF gyro bias states 2014-10-29 15:42:31 +09:00
Randy Mackay 1ab5d71927 GPS: init primary_instance to zero 2014-10-29 15:42:28 +09:00
Benoit PEREIRA DA SILVA a8a6368f05 GPS: use primary for Notification 2014-10-29 15:42:26 +09:00
Randy Mackay 7b4cd9ee37 Copter: reset ahrs gyro drift after gyro calibration 2014-10-29 15:42:22 +09:00
Randy Mackay 95538d2992 AHRS: add reset_gyro_drift method 2014-10-29 15:42:20 +09:00
Jonathan Challinger ef0b934b10 Copter: don't stop logging on disarm when LOG_WHEN_DISARMED is set 2014-10-29 15:42:16 +09:00
Randy Mackay a9e6c06f1a Copter: update version to AC3.2-rc14 2014-10-27 22:27:27 +09:00
Randy Mackay 1921e22265 Copter: ReleaseNotes for AC3.2-rc14 2014-10-27 22:27:14 +09:00
Andrew Tridgell fae45b29fa AP_InertialSensor: fixed timer bug in HIL sensors 2014-10-27 21:10:55 +09:00
Randy Mackay 3a8d4cdcda Copter: fix to dcm-check to be continuous
dcm-check was triggering after 10 bad headings but these did not need to
be continuous meaning if the vehicle was flown long enough it would
almost certainly trigger a dcm-check failure and land
2014-10-27 12:39:24 +09:00
Randy Mackay 8041613c06 RangeFinder: PulsedLight I2C addr to 0x62 2014-10-24 15:00:47 +09:00
Andrew Tridgell 7ad0b6177f AP_RangeFinder: auto-update PX4 ll40ls max/min distance
this allows the range of the Lidar to be set by the user using
RNGFND_MAX_CM and RNGFND_MIN_CM
2014-10-24 13:48:38 +09:00
Randy Mackay 83a5102ec5 Copter: version to AC3.2-rc13 2014-10-23 22:20:10 +09:00
Randy Mackay 4bd3f593ef Copter: ReleaseNotes for AC3.2-rc13 2014-10-23 22:20:07 +09:00
Randy Mackay bafd9fd53f RangeFinder: reduce num instances to 1 2014-10-23 22:20:05 +09:00
Randy Mackay 47418b78d6 Relay: reduce num relays to 2 2014-10-23 22:20:01 +09:00
Randy Mackay fdf6aa5492 Copter: shorten ESC calibration message 2014-10-23 22:19:58 +09:00
Randy Mackay 8b87a407ed Copter: remove debug 2014-10-23 22:19:55 +09:00
Randy Mackay a4da667e2b Mount: remove CMD_DO_MOUNT_CONFIGURE support 2014-10-23 22:19:52 +09:00
Randy Mackay 00f9882241 Copter: remove DO_MOUNT_CONFIGURE support
The functions in the mount lib didn't work anyway
2014-10-23 22:19:48 +09:00
Randy Mackay 43c5a70424 Copter: completely disable vel controller 2014-10-23 22:19:44 +09:00