Commit Graph

13378 Commits

Author SHA1 Message Date
Randy Mackay
3fd38edc4a Copter: restore baro climb rate check to land_detector 2015-01-14 16:06:27 +09:00
Randy Mackay
651a0182a7 Copter: move land_detector to separate file 2015-01-14 16:06:22 +09:00
Jonathan Challinger
ca68a9a8a3 Copter: clean up land detector and modify to use desired velocity 2015-01-14 16:06:19 +09:00
Jonathan Challinger
2d82672893 AC_PosControl: Fill _vel_desired.z for reporting 2015-01-14 16:06:16 +09:00
Jonathan Challinger
79975b1309 AP_Math: change ROTATION_YAW_293_PITCH_68_ROLL_180 to ROLL_90 2015-01-12 15:19:57 +09:00
Andrew Tridgell
eb9b2bf4e9 AP_Math: fixed build warning 2015-01-12 15:19:47 +09:00
Randy Mackay
4b5411e86a AP_Math: add new rotation to example rotation sketch 2015-01-12 15:18:32 +09:00
Randy Mackay
6b0e636abf AP_Math: add yaw 293, pitch 68, roll 180 rotation 2015-01-12 15:16:53 +09:00
Randy Mackay
343dd16779 Copter: fix typo in AC3.2.1 Release Notes 2015-01-10 22:30:21 +09:00
Randy Mackay
f1207e019d Copter: update AC3.2.1-rc1 Release Notes 2015-01-09 04:58:34 +09:00
Randy Mackay
43762c9fa4 Copter: increase GPS_HDOP_GOOD default to 2.3 2015-01-09 04:54:08 +09:00
Randy Mackay
688088829b Copter: update version to AC3.2.1-rc1 2015-01-08 21:17:53 +09:00
Randy Mackay
c0f5b548e0 Copter: AC3.2.1-rc1 Release Notes 2015-01-08 21:17:20 +09:00
Andrew Tridgell
113475b158 autotest: use small INS offsets so INS is recognised as being calibrated 2015-01-08 20:52:17 +09:00
Andrew Tridgell
18b6c013dd PX4: added px4_common.mk 2015-01-08 20:51:20 +09:00
Andrew Tridgell
b058f3fdce AP_InertialSensor: added missing files 2015-01-08 20:51:17 +09:00
Andrew Tridgell
3761870544 build: update to build rules from master 2015-01-08 20:51:13 +09:00
Andrew Tridgell
e7dcb43407 PX4: update to new PX4 config 2015-01-08 20:51:11 +09:00
Andrew Tridgell
712b95bf8e AP_HAL: added micros64() method 2015-01-08 20:51:08 +09:00
Andrew Tridgell
8da5716ea7 Travis: don't build Linux for travis in copter-3.2 2015-01-08 20:51:05 +09:00
Andrew Tridgell
f053af5312 Travis: only build copter in copter-3.2 branch 2015-01-08 20:51:03 +09:00
Andrew Tridgell
9b9665153e Travis: update to latest prereqs script from master 2015-01-08 20:51:00 +09:00
Andrew Tridgell
fbef07c08d Travis: added build script from master 2015-01-08 20:50:57 +09:00
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