Randy Mackay
1bbc7d7185
Copter: gps failsafe disabled until we get first 3d lock
2013-11-23 17:05:52 +09:00
Randy Mackay
acd5846994
Copter: bug fix to take-off in Loiter and AltHold
...
Always set the target altitude after take-off to be current altitude +
20cm. This resolves a bug in which the target altitude could end up
being a couple of meters higher than the current altitude if the user
entered Loiter / Alt Hold mode before inertial nav altitude estimate had
settled.
2013-11-23 17:05:50 +09:00
Randy Mackay
259988a0be
Copter: GPS ok only when not glitching
...
Removed redundant checks to GPS_ok before setting flight mode to RTL
(this check is already performed inside the set_mode function)
Removed reset of home distance and bearing when GPS lock is lost, it now
remains at the last known value
2013-11-23 17:05:48 +09:00
Randy Mackay
b33ea01366
Copter: force gyro calibration on start-up
2013-11-23 17:05:47 +09:00
Andrew Tridgell
41f9eebb32
AP_InertialSensor: make PX4 healthy call _get_sample()
...
this prevents a false positive during times like arming where we are
not reading the sensors
2013-11-23 17:05:45 +09:00
Andrew Tridgell
8114df083f
Plane: make batter failsafe docs clearer
2013-11-23 17:05:44 +09:00
Andrew Tridgell
8a68fd236d
AP_L1_Control: fixed switchover from loiter capture to circling
...
Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
2013-11-23 17:05:42 +09:00
Paul Riseborough
4d2fe4a488
L1_Control : Added hysteresis for rear WP capture
2013-11-23 17:05:40 +09:00
Andrew Tridgell
49bd45cf3a
AP_L1_Control: fixed waypoint approach logic
...
this could cause the RTL approach to not break off onto the circle
correctly
2013-11-23 17:05:39 +09:00
Andrew Tridgell
d435547cf8
AP_InertialSensor: fixed semaphore error on startup for MPU6000
2013-11-23 17:05:37 +09:00
Andrew Tridgell
cccdf27dd2
DataFlash: print FMT messages for wrapped logs
...
this ensures we have FMT messages in every log, even if the log was
wrapped and the FMT messages were overwritten
2013-11-23 17:05:36 +09:00
Andrew Tridgell
1bec20482f
Copter: show git and firmware version in tlog
2013-11-23 17:05:34 +09:00
Andrew Tridgell
407bbed179
Rover: show git and firmware version in tlog
2013-11-23 17:05:32 +09:00
Andrew Tridgell
4cd6040064
Plane: send firmware and git version in tlog
2013-11-23 17:05:31 +09:00
Andrew Tridgell
dccc86957f
build: added GIT_VERSION define to Makefile build
2013-11-23 17:05:29 +09:00
Andrew Tridgell
10d2e9a9b6
Plane: update comments on ALT_CTRL_ALG and NAV_CONTROLLER
2013-11-23 17:05:28 +09:00
Andrew Tridgell
a2ea323512
Plane: removed unused variable
2013-11-23 17:05:26 +09:00
Andrew Tridgell
70b0bb475f
AP_AHRS: detect and try to cope with bad accels
2013-11-23 17:05:24 +09:00
Andrew Tridgell
74bf82a09b
AP_InertialSensor: added healthy check for PX4 and HIL
...
used to detect bad accels
2013-11-23 17:05:23 +09:00
Andrew Tridgell
8a5729de0a
SITL: added SIM_ACCEL_FAIL option
...
used to test accelerometer failure in flight
2013-11-23 17:05:21 +09:00
Andrew Tridgell
0c5caac632
AP_Airspeed: added healthy() API
2013-11-23 17:05:20 +09:00
Andrew Tridgell
b62ad0d5fb
Plane: report INS and airspeed health
2013-11-23 17:05:18 +09:00
Andrew Tridgell
f182169c01
Copter: report INS health
2013-11-23 17:05:16 +09:00
Andrew Tridgell
d8fbfb8ddd
Rover: report INS health
2013-11-23 17:05:15 +09:00
Andrew Tridgell
d87b50c35c
AP_Baro: start MS5611 at high speed
2013-11-23 17:05:13 +09:00
Andrew Tridgell
ee2fb33567
AP_InertialSensor: detect bad MPU6000 SPI transactions and lower bus speed
...
this uses bad data or bad INT_STATUS values from the MPU6000 to detect
the sensor running too fast and lower bus speed
2013-11-23 17:05:12 +09:00
Andrew Tridgell
8e55ab5072
AP_Math: fixed zero function for integer vectors
2013-11-23 17:05:10 +09:00
Andrew Tridgell
23eed03852
AP_InertialSensor: automatically lower bus speed on mpu6k bad reads
2013-11-23 17:05:09 +09:00
Andrew Tridgell
f049d19aa3
AP_InertialSensor: try to lower SPI bus speed on errors
2013-11-23 17:05:07 +09:00
Andrew Tridgell
0bda21a3fc
HAL_AVR: changed to 16 byte bulk transfer on SPI0
2013-11-23 17:05:05 +09:00
Andrew Tridgell
e3966bdab6
Plane: allow changing of loiter direction while loitering
...
useful for causing path capture failures in the sim
2013-11-23 17:05:04 +09:00
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