Commit Graph

9665 Commits

Author SHA1 Message Date
Andrew Tridgell
a69ecfa06b AP_AHRS: removed limit on normalisation of accel reference vectors
this could lead to a bias in the accel drift correction
2013-11-23 17:04:06 +09:00
Andrew Tridgell
f9c72f9dbf AP_AHRS: removed vertical G limit on GPS velocity correction
this limit could lead to a bias in the accel drift correction, and is
frequenctly exceeded
2013-11-23 17:04:05 +09:00
Andrew Tridgell
820ec465c7 AP_AHRS: fixed wrapping bug in GPS based heading error
this bug could cause the GPS based yaw to use an expensive reset far
too often
2013-11-23 17:04:03 +09:00
Andrew Tridgell
1c9dfb9b8a AP_AHRS: prevent GPS yaw resets on compass errors
when we switch from compass heading to GPS heading we don't want to
trigger a sudden GPS yaw reset
2013-11-23 17:04:01 +09:00
Andrew Tridgell
81ddab4ea8 AP_Notify: make APM2 ToshibaLED driver more efficient
use one I2C transfer, not 3
2013-11-23 17:04:00 +09:00
Randy Mackay
917d9226b2 Copter: formatting fix to config.h 2013-11-23 17:03:58 +09:00
Robert Lefebvre
05397bc024 TradHeli: Change user description for COLYAW parameter. 2013-11-23 17:03:57 +09:00
Robert Lefebvre
7e49f630ad TradHeli: Change default Auto-Yaw to Yaw Look Ahead
This leads to smoother flight in Auto modes, particularly with fast waypoints.
2013-11-23 17:03:55 +09:00
Jason Short
558dd6db04 Copter: updated toy gains 2013-11-23 17:03:53 +09:00
Jason Short
b9a4a7e0bf InertialNav: fix for get_velocity_xy
forgot to sq
2013-11-23 17:03:52 +09:00
Randy Mackay
8e68ca931b AutoTest: remove unnecessary wait from SaveWP test 2013-11-23 17:03:50 +09:00
Randy Mackay
6f29ba3da9 AutoTest: wait 1sec when saving wp 2013-11-23 17:03:49 +09:00
Randy Mackay
fcf188646f AutoTest: copter ch7 option to SaveWP 2013-11-23 17:03:47 +09:00
Jason Short
945b9260b5 Copter: CH7 SaveWP fix corner case
If the user is on the ground and flips CH7, do nothing instead of recording a bad takeoff altitude. Do another check to avoid a land right after a takeoff.
2013-11-23 17:03:46 +09:00
Randy Mackay
bb0f18e2d4 Copter: remove unused get_acro_yaw 2013-11-23 17:03:44 +09:00
Jason Short
cbbd3ae50e Copter: remove unused Toy param 2013-11-23 17:03:42 +09:00
Jason Short
60775e94b9 Copter: TOY mode updates 2013-11-23 17:03:41 +09:00
Jason Short
55b22f8635 InertialNav: added get_velocity_xy 2013-11-23 17:03:39 +09:00
Andrew Tridgell
94deb1d599 Plane: mark 2.76beta1 2013-11-23 17:03:37 +09:00
Andrew Tridgell
36b52b65e1 Rover: fixed PM message 2013-11-23 17:03:36 +09:00
Andrew Tridgell
8775593402 Plane: fixed PM message 2013-11-23 17:03:34 +09:00
Paul Riseborough
e3a96094ca AP_Airspeed : Fixes bug that caused airspeed calibration to be sent a zero airspeed
This bug resulted in the airspeed ratio going to the maximum value of 4 and staying there. This could lead to a very slow flying model and a stall.
2013-11-23 17:03:33 +09:00
Andrew Tridgell
3c19ea050c Plane: added altitude and ground speed to NTUN logs 2013-11-23 17:03:31 +09:00
Andrew Tridgell
3e6a17a89f AP_InertialSensor: SITL doesn't use Oilpan code any more 2013-11-23 17:03:29 +09:00
Andrew Tridgell
50ef260d69 Plane: faster startup
make it less likely to send wrong INS_PRODUCT_ID, plus don't waste as
much time
2013-11-23 17:03:28 +09:00
Andrew Tridgell
8cefe8e198 PX4: changed startup to fail if no px4io on FMUv2 2013-11-23 17:03:26 +09:00
Andrew Tridgell
4194b2fdd7 Copter: int gyros on arm, not on first boot
this makes first boot much faster
2013-11-23 17:03:25 +09:00
Randy Mackay
d06d999903 Copter: arming check that throttle is above failsafe 2013-11-23 17:03:23 +09:00
Randy Mackay
a692790342 Copter: disable autotune if pilot moves yaw stick 2013-11-23 17:03:22 +09:00
Randy Mackay
81ac548e2c Copter: recalc distance to home during arming
fixes an rare edge case in which the fence could trigger immediately
after arming
2013-11-23 17:03:20 +09:00
Randy Mackay
c824ccfb38 Copter: more Ch7/Ch8 event logging
Additional event logging for SaveWP, Fence, Acro trainer, Save Trim
2013-11-23 17:03:18 +09:00
Randy Mackay
249c757b94 Copter: default Ch7 to DO_NOTHING
Ch7/Ch8 Save_WP feature triggers when switch is brought high (instead of
low) to be consistent with other aux features
2013-11-23 17:03:17 +09:00
Randy Mackay
12093f4dd6 Copter: rc10, rc11 available even without MOUNT 2013-11-23 17:03:15 +09:00
Randy Mackay
b98f11d819 RC_Channel: formatting 2013-11-23 17:03:14 +09:00
Randy Mackay
1a8feee298 Copter: disable some aux channels on hexa and octas
Resolves issue #324
2013-11-23 17:03:12 +09:00
Randy Mackay
2240bb80d1 Copter: correct @Range of MOT_TCRV_MAXPCT parameter 2013-11-23 17:03:10 +09:00
Randy Mackay
7f8e9ea27f Copter: remove some commented out send_text code 2013-11-23 17:03:09 +09:00
Randy Mackay
3e139adf08 Copter: add alt and throttle checks to crash detector 2013-11-23 17:03:07 +09:00
Randy Mackay
30d908e2fa Copter: crash checker
Crash is determined to have happened when the copter is 20deg more than
the ANGLE_MAX parameter continuously for more than 2 seconds
Not activated when in ACRO mode or while flipping
2013-11-23 17:03:05 +09:00
Andrew Tridgell
d4af757cbb AP_Airspeed: fixed I2C semaphore handling for I2C airspeed
this affects MS4525DO on APM2
2013-11-23 17:03:04 +09:00
Randy Mackay
b4c8dd5a41 Copter: add ANGLE_RATE_MAX param
Limits the maximum rotation rate requested by the angle controller which
is used in stabilize, loiter, rtl and auto flight modes
2013-11-23 17:03:02 +09:00
Randy Mackay
05cf1015fc Copter: add @Increment to battery failsafe descriptions 2013-11-23 17:03:00 +09:00
Randy Mackay
9a6433eeeb Plane: add @Increment to battery failsafe descriptions 2013-11-23 17:02:59 +09:00
Randy Mackay
c6a6fb29df BattMonitor: add @Increment to CAPACITY description 2013-11-23 17:02:57 +09:00
Randy Mackay
e596bbe147 BoardLEDs: all leds off during init 2013-11-23 17:02:55 +09:00
Andrew Tridgell
c700f61ffa Copter: fixed HIL build 2013-11-23 17:02:54 +09:00
Andrew Tridgell
3a5e21ab93 Plane: ready for 2.75 release 2013-11-23 17:02:52 +09:00
Andrew Tridgell
ea81b05e47 Rover: fixed performance monitoring
now the same as plane
2013-11-23 17:02:51 +09:00
Andrew Tridgell
b91274f44c Plane: improved perf monitoring with SCHED_DEBUG 2013-11-23 17:02:49 +09:00
Andrew Tridgell
3b72741e15 HAL_AVR: switch back to 500kHz SPI for MPU6k until we understand the issues
this is for new plane release. We need for analysis before we can
re-enable high speed SPI
2013-11-23 17:02:48 +09:00