Andrew Tridgell
c0733775bf
AP_Compass: fixed uninitialised CAN device ID bits
2019-08-29 21:01:06 +10:00
Andrew Tridgell
237496ff11
AP_IOMCU: update to latest IO firmware handling
2019-08-17 17:34:09 +10:00
Andrew Tridgell
aa49047ca5
HAL_ChibiOS: allow for blocking unbuffered uarts
...
this is used by AP_IOMCU to avoid a race condition where the mutex is
busy on write() causing a zero-length write and delayed output
2019-08-17 17:20:53 +10:00
Andrew Tridgell
f772e4622c
HAL_ChibiOS: fixed a bug in wait_timeout() on UARTs
...
wait_timeout() could return true on a read of less bytes than are
expected.
2019-08-17 17:20:50 +10:00
Randy Mackay
4b47e6bf91
AP_RangeFinder: LightwareSerial driver handles invalid distances
...
reports the longer of 100m or RNGFNDx_MAX_CM+1m
2019-08-04 09:19:16 +10:00
Andrew Tridgell
d515b40966
AP_GPS: ensure we have full timestamp before setting RTC clock
...
thanks to Martin Sollie for this bug report
2019-07-31 20:14:25 +10:00
Andrew Tridgell
491d1da9e7
AP_InertialSensor: special check for CubeBlack to force INS_USE3=1
...
this will cope with users loading old parameter files
2019-07-31 12:59:41 +10:00
Andrew Tridgell
4e59b8d24a
AP_Baro: check for all 1 ADC read on MS5611
2019-07-31 12:59:41 +10:00
Andrew Tridgell
834e43f339
DataFlash: log baro health
2019-07-31 12:59:41 +10:00
Andrew Tridgell
b9fd3ca78d
AP_Baro: consider a baro unhealthy when outside of -200 to 200 C
...
this helps detects unhealthy baros on SPI where we can't detect comms
failure
2019-07-31 12:55:07 +10:00
Andrew Tridgell
999b503523
AP_InertialSensor: default INS_USE3 to 1
2019-07-31 12:54:28 +10:00
Andrew Tridgell
bd4fc6fad8
AP_NavEKF3: review fixes
...
thanks Paul!
2019-07-29 10:44:51 +10:00
Andrew Tridgell
35ddaa2d42
AP_NavEKF2: review fixes
...
thanks Paul!
2019-07-29 10:44:48 +10:00
Andrew Tridgell
ef0ba9f94d
AP_NavEKF3: ensure that EKF origin stays in sync on all cores
...
this prevents the EKF origin on different cores from being initialised
to different values. A common value is stored in the frontend and used
by a core if it doesn't have an origin
2019-07-29 10:44:46 +10:00
Andrew Tridgell
eeaae5b932
AP_NavEKF2: ensure that EKF origin stays in sync on all cores
...
this prevents the EKF origin on different cores from being initialised
to different values. A common value is stored in the frontend and used
by a core if it doesn't have an origin
2019-07-29 10:44:43 +10:00
Andrew Tridgell
4d57ea27dc
AP_NavEKF3: use origin lat for earth rates
...
home may not yet be set when this code is run, so using home may be
invalid
2019-07-29 10:44:40 +10:00
Andrew Tridgell
6634555e40
AP_NavEKF2: use origin lat for earth rates
...
home may not yet be set when this code is run, so using home may be
invalid
2019-07-29 10:44:37 +10:00
Andrew Tridgell
d43a386f83
AP_NavEKF3: set origin on all cores
...
when EKF origin is set, make sure it is set on all cores
2019-07-29 10:44:34 +10:00
Andrew Tridgell
e9d51bb0c7
AP_NavEKF2: set origin on all cores
...
when EKF origin is set, make sure it is set on all cores
2019-07-29 10:44:32 +10:00
Andrew Tridgell
8ee28b4a66
AP_NavEKF3: restrict setting of EKF origin
...
only allow EKF origin to be set if EKx_GPS_TYPE is set to 3, which is
used for indoor operation
2019-07-29 10:44:29 +10:00
Andrew Tridgell
a75e2e1c0e
AP_NavEKF2: restrict setting of EKF origin
...
only allow EKF origin to be set if EKx_GPS_TYPE is set to 3, which is
used for indoor operation
2019-07-29 10:44:26 +10:00
Andrew Tridgell
1fd6c0c00c
AP_Airspeed: enable MS4525 on 4th I2C bus (for Pixhawk4)
2019-07-26 19:02:47 +10:00
Andrew Tridgell
243d8fcb95
AP_RangeFinder: added a 1.5 delay to probe of LW20 I2C
...
the LW20 takes a long time to boot and be ready to probe
2019-07-19 17:02:50 +10:00
Andrew Tridgell
e52d447c08
SITL: fixed pitch constraint on fixed wing takeoff
...
fixes issue with jet takeoff
2019-07-10 17:56:03 +10:00
Andrew Tridgell
6ff94c1022
SITL: simple implementation of a fast jet
...
just increase the weight and the rest can be done with params
2019-07-10 17:55:56 +10:00
Andrew Tridgell
5e420e2adf
AP_IneertialSensor: fixed startup race in SITL
2019-07-10 11:14:59 +10:00
Andrew Tridgell
cd178a6c4f
AP_Compass: backport master AK09916 driver
...
this allows mRoControlZeroF7 to work in copter stable
2019-07-09 16:23:45 +10:00
Phillip Kocmoud
3011bc1930
AP_Baro.cpp: support DPS280 on SPI
2019-07-09 16:23:45 +10:00
Andrew Tridgell
aee7740ae9
AP_InertialSensor: fixes for backport of BMI088 driver
2019-07-09 16:23:45 +10:00
Andrew Tridgell
9a3ce35d7b
AP_HAL: added Invensensev2 defines
2019-07-09 16:23:45 +10:00
Andrew Tridgell
9773f841b8
AP_InertialSensor: add drivers for register bank based Invensense Sensors
2019-07-09 16:23:45 +10:00
Andrew Tridgell
99bbcddc26
AP_InertialSensor: added driver for BMI088
...
setup for 1600 Hz accel sample, 2kHz gyro sample, 24g accel range
2019-07-09 16:23:45 +10:00
Phillip Kocmoud
d484e9300a
AP_InertialSensor: probe IMUs for mRoControlZeroF7
2019-07-09 16:23:45 +10:00
Phillip Kocmoud
90a7d1dd6a
AP_Baro: support DPS280 on SPI
2019-07-09 16:23:45 +10:00
Andrew Tridgell
f825487b57
AP_HAL: added DPS280 on SPI / added board type for mRoControlZeroF7
2019-07-09 16:23:45 +10:00
Phillip Kocmoud
37429901ab
HAL_ChibiOS: added hwdef for mRoControlZeroF7
2019-07-09 16:23:45 +10:00
Andrew Tridgell
b18d7cfc3d
HAL_ChibiOS: added missing pins for F777
2019-07-09 16:23:45 +10:00
Andrew Tridgell
3f765d8bbe
APM_Control: added decay_I() function
...
used by VTOL planes to decay integrator on fixed wing components when
at very low airspeed
2019-07-09 16:23:44 +10:00
Andrew Tridgell
f0a02bb6ba
AP_NavEKF3: origin handling fixes from Francisco
2019-07-09 16:23:44 +10:00
Andrew Tridgell
450224b420
AP_NavEKF2: origin handling fixes from Francisco
2019-07-09 16:23:44 +10:00
Robin Hilliard
49d9f57c85
AP_HAL_SITL: Fix build on OSX
...
include pthread.h missing from Scheduler.h, similar to PR 11281.
2019-07-09 15:23:15 +10:00
Andrew Tridgell
3293ae4c65
HAL_ChibiOS: switch to new IO firmware for fmuv5
2019-07-08 10:37:22 +10:00
Andrew Tridgell
715e167557
RC_Channel: added get_type() method
2019-07-08 10:37:19 +10:00
Andrew Tridgell
8d076ded1e
AP_IOMCU: fixup
2019-07-08 10:37:16 +10:00
Andrew Tridgell
3ce762ab7c
HAL_ChibiOS: support DSM bind on IOMCU
2019-07-08 10:37:13 +10:00
Andrew Tridgell
5056fa68c7
AP_IOMCU: sync with master IOMCU firmware
2019-07-08 10:37:04 +10:00
Andrew Tridgell
e2155ad02d
AP_NavEKF3: don't allow height datum reset when not on ground
2019-07-06 15:50:34 +10:00
Andrew Tridgell
6c54ba3e7a
AP_NavEKF2: don't allow height datum reset when not on ground
2019-07-06 15:50:34 +10:00
Andrew Tridgell
f44e5b4afb
AP_NavEKF3: set terrainState to zero on height datum reset
2019-07-06 15:50:34 +10:00
Andrew Tridgell
befefc152a
AP_NavEKF2: set terrainState to zero on height datum reset
2019-07-06 15:50:34 +10:00