Andrew Tridgell
3529e02675
AP_AHRS: if we have 3 gyros then only use first two
...
the 3rd gyro on a PH2 has a lot more noise as it is not vibration
isolated
10 years ago
Paul Riseborough
cb59570938
AP_NavEKF: Remove bug preventing external selection of optical flow mode
10 years ago
Randy Mackay
3390d9932e
AP_AHRS: fix example sketch
10 years ago
Tom Pittenger
2deb0e08ea
AP_NavEKF: replace fabs() with fabsf()
10 years ago
Tom Pittenger
79605de8f5
AP_Mission: replace fabs() with fabsf()
10 years ago
Tom Pittenger
e20ffa8c75
AP_Math: replace fabs() with fabsf()
10 years ago
Tom Pittenger
1c8efb25a8
AP_HAL_SITL: replace fabs() with fabsf()
10 years ago
Tom Pittenger
4b6d0d8e24
AP_HAL: replace fabs() with fabsf()
10 years ago
Tom Pittenger
9d74f57ed3
AP_PID: replace fabs() with fabsf()
10 years ago
Tom Pittenger
70bef20a29
AC_AttitudeControl: replace fabs() with fabsf()
10 years ago
Andrew Tridgell
1127b716c4
SITL: lower the default noise
...
prevents problems calibrating the gyro
10 years ago
Andrew Tridgell
2552acbf12
AP_Arming: fixed accel cal test in arming
...
use a per-imu time of last cal pass, and triple accel threshold for
IMU3. Raise threshold to 0.5 for IMU1/IMU2
10 years ago
Tom Pittenger
d94c95a6ef
GCS_MAVLink: return true if mission recieve is complete
...
when handing a mission item, and that is the last item, return true so that whoever is handling this knows we have a new mission list. From here we can log a new mission
10 years ago
Paul Riseborough
a232606fc9
AP_NavEKF: Prevent EKF yaw errors due to fast yaw spins
...
Prolonged yaw rotations with gyro scale factor errors can cause yaw errors and gyro bias estimation errors to build up to a point where EKF health checks fail.
This patch introduces the following protections:
1) The assumed yaw gyro error is scaled using a filtered yaw rate and an assumed 3% scale factor error (MPU6000 data sheet)
2) When the filtered yaw rate magnitude is greater than 1 rad/sec, the Z gyro bias process noise is zeroed and the state variance set to zero to inhibit modification of the bias state
3) When the filtered yaw rate magnitude is greater than 1 rad/sec, the magnetometer quaternion corrections are scaled by a factor of four to maintain tighter alignment with the compass
10 years ago
Paul Riseborough
08382373f1
AP_NavEKF: Reduce likelihood of in-air switch to GPS with a bad heading
...
Increases magnetometer weighting on yaw corrections when there there is no other aiding to constrain yaw drift.
Prevents switch to GPS if magnetometer data is failing innovation checks which indicates a bad yaw angle
10 years ago
Randy Mackay
3781f133d7
AC_AttControlHeli: remove unused definitions
10 years ago
Randy Mackay
bef5633ed5
AC_AttControlHeli: use params from parent class
10 years ago
Randy Mackay
7951346d72
AC_AttControl: bf_feedfoward_save made more concise
10 years ago
Randy Mackay
3d9a6a69e2
MotorsHeli: COLYAW to float
10 years ago
Randy Mackay
edfa206bb8
Motors_Heli: nest heli params
10 years ago
Randy Mackay
68b05a4ca2
AP_Motors: is_throttle_mix_min returns bol
10 years ago
Leonard Hall
cf45a1cf3a
AC_AttitudeControl: add get accel and save ff
10 years ago
Leonard Hall
1900cc7582
AC_AttitudeControl: Enable FF by default
10 years ago
Leonard Hall
0f894ac1a8
AP_Motors: Rename and move Throttle Mix / Comp
10 years ago
Jonathan Challinger
142e018a18
AP_NavEKF: fix bug causing takeoff to fail
10 years ago
Randy Mackay
fa4ba456b4
GPS: fix example sketches
10 years ago
Andrew Tridgell
afc9812d0b
AP_InertialSensor: update VibTest after moving messages info DataFlash
10 years ago
Andrew Tridgell
7d90033a36
AP_InertialSensor: support raw accel and gyro dataflash logging
10 years ago
Andrew Tridgell
21d805422d
DataFlash: added defines for raw accel and gyro logging
10 years ago
Andrew Tridgell
f5140e25b0
AP_InertialSensor: updated VibTest for latest PX4 interfaces
10 years ago
Andrew Tridgell
cbdc9f0706
SITL: fixed autotest SITL
10 years ago
Andrew Tridgell
2369e06815
AP_HAL: fixed SITL build on windows
10 years ago
Andrew Tridgell
b09fcfc20e
HAL_Linux: cope with systems without I2C_RDRW_IOCTL_MAX_MSGS
...
such as my ubuntu 14.04 laptop :-)
10 years ago
Andrew Tridgell
6a8da06d19
HAL_SITL: hook in CRRCSim backend
10 years ago
Andrew Tridgell
93d5101bf9
SITL: added CRRCSim simulation connection
10 years ago
Andrew Tridgell
4c11002976
AP_HAL: added HAL_OS_SOCKETS define
...
used for systems with BSD sockets
10 years ago
Andrew Tridgell
08b9ed3342
AP_HAL: added socket handling class
10 years ago
Randy Mackay
9dede2f0ec
Math: remove duplicate HALF_SQRT_2 definition
10 years ago
Randy Mackay
151707cb0a
Filter: replace 2*M_PI_F with M_2PI_F
10 years ago
Peter Barker
463270e0ee
AP_AHRS: avoid FPE when we don't have a compass reading
10 years ago
Andrew Tridgell
77a2b4acf6
AP_Math: removed fast_atan
10 years ago
Andrew Tridgell
872583f441
AC_AttitudeControl: removed fast_atan
10 years ago
Andrew Tridgell
8ba5272b0e
AP_Scheduler: fixed PSTR() usage
10 years ago
Andrew Tridgell
88fb7ddff8
AP_Param: fixed PSTR() usage
10 years ago
Andrew Tridgell
089e63f987
AP_InertialSensor: fixed PSTR handling
...
must use PSTR on code compiled for AVR
10 years ago
Andrew Tridgell
31693e332e
AP_InertialSensor: use non-PSTR printf
...
this is not built on AVR
10 years ago
Andrew Tridgell
730644eaeb
AP_Mount: use M_PI_F instead of (float)M_PI
10 years ago
Andrew Tridgell
84ac721340
AC_AttitudeControl: use M_PI_F instead of (float)M_PI
10 years ago
Andrew Tridgell
f9114f849b
Filter: revert AP_Math class change
10 years ago
Andrew Tridgell
bcc6c7d380
AP_Param: revert AP_Math class change
10 years ago