Randy Mackay
919b26d28f
GPS Glitch: revert accel max to 10m/s/s
...
This may not be the best real world value but it keeps the autotester
from failing because it recovers from the glitch before the 5second
time-out on the GPS failsafe
2013-11-23 17:06:12 +09:00
Randy Mackay
f0970fc4be
Copter: range check pilot requested lean angles
...
This fixes a bug uncovered by MHA in which the receiver output 900 pwm
for roll and pitch to the APM which was interpreted as requesting an 80
deg lean angle which the copter then attempted to do!
2013-11-23 17:06:11 +09:00
Randy Mackay
5a726ace9b
Copter: add @User and @Increment to motor params description
2013-11-23 17:06:09 +09:00
Randy Mackay
19b02f47ea
Copter: default SPIN_WHEN_ARMED to zero
2013-11-23 17:06:08 +09:00
Randy Mackay
17b0921f17
GPS Glitch: radius and accel max to 5m and 5m/s/s
2013-11-23 17:06:06 +09:00
Andrew Tridgell
6062dd6d00
build: added new copter frame type 'single'
2013-11-23 17:06:04 +09:00
Andrew Tridgell
aaa9bbac6e
build: fixed build_all for heli
2013-11-23 17:06:03 +09:00
Andrew Tridgell
2a776c4466
build: support all copter frame types on all boards
2013-11-23 17:06:01 +09:00
Randy Mackay
898fa2f2a1
Copter: move SINGLE parameters to start at 75
2013-11-23 17:06:00 +09:00
Randy Mackay
e138a12f80
Copter: add SINGLE_FRAME definition
2013-11-23 17:05:58 +09:00
Randy Mackay
586e5a0162
SingleCopter: formatting changes
...
replace tab with 4-spaces
remove blank lines
2013-11-23 17:05:56 +09:00
ssq870424
374f341c76
Copter: add support for singlecopter airframe
...
this is the newest singlecopter airframe programme.
This kind of aerial vehicles include Honeywell T-hawk and Goldeneye.
2013-11-23 17:05:55 +09:00
Randy Mackay
0a911f83bf
Iris: remove ATTTITUDE_FAST, PID and OPTFLOW logging
2013-11-23 17:05:53 +09:00
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