Commit Graph

9700 Commits

Author SHA1 Message Date
Craig3DRobotics
69a00ee4b1 Iris: Enable logging of all message types 2013-11-23 17:05:02 +09:00
Andrew Tridgell
9398fa730e Plane: log the AHRS error terms in dataflash
also log raw IMU at 10Hz with default config
2013-11-23 17:05:01 +09:00
Andrew Tridgell
08e1ce428a DataFlash: make the SITL dataflash log 4x larger 2013-11-23 17:04:59 +09:00
Andrew Tridgell
0967aec802 AP_Menu: fixed double display of prompt 2013-11-23 17:04:57 +09:00
Andrew Tridgell
83f8dd150e AP_Menu: added check_for_input() API
this allows for async use of the menus, so that a main loop can run
while allowing the user to enter menu commands
2013-11-23 17:04:56 +09:00
Andrew Tridgell
ff5ddde905 AP_Menu: zero buffer contents on allocation 2013-11-23 17:04:54 +09:00
Andrew Tridgell
a24e3b555e AP_Menu: dynamically allocate the menu buffers
this saves memory when the menus are not used, and allows for the
commandline and argument limits to be changed
2013-11-23 17:04:52 +09:00
Andrew Tridgell
de4d5add6c autotest: raise timelimits again 2013-11-23 17:04:51 +09:00
Andrew Tridgell
85c48e7b41 Plane: prepare for 2.76 release 2013-11-23 17:04:49 +09:00
Andrew Tridgell
01a32d0632 AP_GPS: try harder to get 5Hz updates from a uBlox
check for getting at least one 5Hz update every 15s
2013-11-23 17:04:48 +09:00
Andrew Tridgell
522f248b63 AP_AHRS: lower default roll and yaw drift correction speed
the gyros sustain accuracy over much longer time periods than
previously expected
2013-11-23 17:04:46 +09:00
Andrew Tridgell
97d8007b08 HAL_PX4: don't check USB for data if not connected 2013-11-23 17:04:44 +09:00
Andrew Tridgell
9f36acbb92 HAL_PX4: switch to delay_microseconds_semaphore() for UART timer
this may prevent some timing jitter on the GPS UARTs
2013-11-23 17:04:43 +09:00
Andrew Tridgell
674ec54b5f Plane: only send GPS_RAW_INT if new data
this reduces link load when asking for high rate telemetry
2013-11-23 17:04:41 +09:00
Andrew Tridgell
1875bbe7d6 Plane: make DataFlash objects static 2013-11-23 17:04:39 +09:00
Andrew Tridgell
6fe3004fcc Plane: added time to most plane log messages 2013-11-23 17:04:38 +09:00
Andrew Tridgell
e2991c0f35 DataFlash: added APM time and GPS velz to logged GPS messages 2013-11-23 17:04:36 +09:00
Andrew Tridgell
fea10c3b97 AP_TECS: added time to TECS messages 2013-11-23 17:04:35 +09:00
Andrew Tridgell
4a60319f79 autotest: fixed clean build 2013-11-23 17:04:33 +09:00
Andrew Tridgell
d722e7024a Plane: prevent too large combined pitch/roll angles
this reduces the roll limit by cos(pitch) and pitch minimum by
cos(roll). This prevents unreasonable attitudes in all stabilised
modes

Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
2013-11-23 17:04:32 +09:00
Andrew Tridgell
c18d1da019 AP_L1_Control: reduced demanded bank angle by cos(pitch)
this prevents attempts to do too tight turns while at a steep pitch

Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
2013-11-23 17:04:30 +09:00
Andrew Tridgell
ffde756d7e APM_Control: reduce roll compensation in pitch controller by cos(pitch)
This reduces the use of the pitch compensation when in a steep climb
or dive

Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
2013-11-23 17:04:28 +09:00
Andrew Tridgell
b22ce9843a DataFlash: added timestamp to IMU and VelZ to GPS logging
both are very useful for analysis
2013-11-23 17:04:27 +09:00
Andrew Tridgell
92a52f5e4a AP_AHRS: added accel sum delay buffer to account for GPS lag 2013-11-23 17:04:25 +09:00
Andrew Tridgell
2f5098598d Rover: update for AHRS API changes 2013-11-23 17:04:24 +09:00
Andrew Tridgell
dca5bee080 Copter: update for AHRS API changes 2013-11-23 17:04:22 +09:00
Andrew Tridgell
8d0d8a05c0 Plane: update for API changes 2013-11-23 17:04:20 +09:00
Andrew Tridgell
4da580e229 VARTest: update for AHRS API change 2013-11-23 17:04:19 +09:00
Andrew Tridgell
f0d5cde9cf AP_InertialNav: update for AHRS API changes 2013-11-23 17:04:17 +09:00
Andrew Tridgell
fc920df8d4 AP_InertialSensor: use const reference returns
saves some vector copies
2013-11-23 17:04:16 +09:00
Andrew Tridgell
a18582673d AP_TECS: update for AHRS API change 2013-11-23 17:04:14 +09:00
Andrew Tridgell
14d2453216 DataFlash: use const ins reference
save some pointer dereferences
2013-11-23 17:04:13 +09:00
Andrew Tridgell
b258a63b8c AP_YawController: update for AHRS API change 2013-11-23 17:04:11 +09:00
Andrew Tridgell
41d0fda92c AC_Fence: update for AHRS API changes 2013-11-23 17:04:09 +09:00
Andrew Tridgell
3004ed9c41 AP_AHRS: save memory and reduce pointer references
use a refence for ins, and don't save gyro and accel between updates
2013-11-23 17:04:08 +09:00
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