Commit Graph

13355 Commits

Author SHA1 Message Date
Andrew Tridgell 7b178efd25 Copter: fixes for AP_InertialSensor API changes 2015-01-08 20:50:54 +09:00
Andrew Tridgell 94f3c64df9 HAL_SITL: fixed for changes in AP_InertialSensor API 2015-01-08 20:50:51 +09:00
Andrew Tridgell 827e60f948 AP_InertialSensor: roll up to latest AP_InertialSensor from master 2015-01-08 20:50:48 +09:00
Andrew Tridgell 0ad7a39db2 Copter: import new travis config 2015-01-08 20:49:30 +09:00
Randy Mackay f5fb21b1d7 Copter: run_nav_updates at 50hz on Pixhawk, 25hz on APM2
Based on work by Jon Challinger (see earlier commit)
2015-01-08 20:33:58 +09:00
Jonathan Challinger aa1b0da254 Copter: run_nav_updates at 100hz on pixhawk 2015-01-08 20:33:55 +09:00
Randy Mackay 105e2e19ac Copter: skip pre-arm checks when already armed 2015-01-08 15:17:48 +09:00
Randy Mackay 4033f11a3c Copter: report NAV_CONTROLLER_OUTPUT in RTL, Guided
This allows the GCS to display to the user where the vehicle is flying
to in RTL and Guided flight modes
2015-01-06 16:39:39 +09:00
Randy Mackay 1266a31631 Rally: reduce distance limit to 300m for copter
This reduces the chance that a forgotten rally point will cause the
vehicle to RTL to a distant location because instead it will RTL to
home.
2015-01-06 15:56:34 +09:00
Robert Lefebvre 152a3a2828 ArduCopter: Bug fix, int8t should be uint16t. 2015-01-06 15:52:36 +09:00
Randy Mackay 6b236eb7ea Copter: set pre_arm_gps_check flag 2014-12-26 15:10:34 +09:00
Randy Mackay 44c5fdffdf Notify: add pre_arm_gps_check flag
RGB LED will remain flashing blue when vehicle is disarmed and this
check has failed (i.e. false).
2014-12-26 15:10:31 +09:00
Randy Mackay 59350821a3 AC_PosControl: fix to default force_descend param 2014-12-24 14:44:56 +09:00
Jonathan Challinger f3e9e9cc6f Copter: use force_descend option on auto landings 2014-12-24 14:44:55 +09:00
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