Commit Graph

39441 Commits

Author SHA1 Message Date
vierfuffzig 91c77e6df4 AP_BLHeli: fix eRPM conversion 2019-12-09 12:55:37 +11:00
Andy Piper 00406180c4 AP_HAL_ChibiOS: specify Durdanal IMUs so that ordering is correct 2019-12-09 12:54:14 +11:00
Henry Wurzburg 4d4b4d46a2 HWDEF: Speedybeef4 change I2C internal mask to 0 to allow probing ext baros 2019-12-09 12:54:06 +11:00
Andrew Tridgell 3a1b24c9bb HAL_ChibiOS: fixed handling of 16bit timer wrap
this fixes #12948
2019-12-09 12:45:20 +11:00
Andrew Tridgell 6f9abb8a4b HAL_ChibiOS: added assert for systime_t size 2019-12-09 12:45:09 +11:00
Andrew Tridgell 1d77453017 Plane: prepare for 4.0.1 release 2019-11-22 14:52:06 +11:00
Andrew Tridgell 784a613d30 Plane: updated release notes for 4.0.1 2019-11-22 14:51:53 +11:00
Andrew Tridgell 9a978c1eef AP_Airspeed: switched to recursive semaphore
this is needed by the SDP3X driver. It is the simplest fix for the
issue
2019-11-20 07:35:07 +11:00
Peter Barker 435dfcc614 Plane: do not trust fence-channel PWM during RC failsafe 2019-11-19 10:59:28 +11:00
Andrew Tridgell 99932a3319 AP_GPS: fixed cast for comparison with txspace 2019-11-19 07:49:55 +11:00
Andrew Tridgell c8f6697859 AP_TECS: removed TECS_LAND_PMIN
thanks to TunaLobster for pointing out that it is redundent
2019-11-19 07:47:33 +11:00
Andrew Tridgell d86304a315 Plane: prepare for 4.0.1beta1 2019-11-17 11:59:58 +11:00
Andrew Tridgell e909a683b2 Plane: updated release notes for 4.0.1beta1 2019-11-17 11:59:48 +11:00
Andrew Tridgell 9035195fca AP_UAVCAN: support RTCMStream for RTCM injection 2019-11-17 11:58:52 +11:00
Andrew Tridgell 0080f3c011 AP_GPS: fixed sizes of config items 2019-11-17 11:57:51 +11:00
Michael du Breuil ea337209e6 AP_GPS: UBlox: Fix the assumption that all keys are 1 byte keys 2019-11-17 11:57:48 +11:00
Michael du Breuil 62f69cf92f AP_GPS: UBlox fix not listing the time mode as a configuration reason 2019-11-17 11:57:45 +11:00
Andrew Tridgell 3b75b4e5ad AP_GPS: fixed TMODE config issue on non-F9 GPS
thanks to Michel Pastor for reporting this
2019-11-17 11:57:39 +11:00
Andrew Tridgell 58b0f4acf6 AP_GPS: added automatic config of TMODE on F9
the Drotek F9 GPS ships with TMODE enabled, which means we don't get a
3D fix.

This also adds the VALGET/VALSET msgs we will need for automatic
moving baseline config
2019-11-17 11:56:53 +11:00
Andrew Tridgell 76f4420710 AP_GPS: support Fix2 message for UAVCAN
this allows for RTK fix levels
2019-11-17 11:56:11 +11:00
Andrew Tridgell 022dbb2e30 AP_GPS: support RTCMStream for RTCM injection on UAVCAN 2019-11-17 11:55:44 +11:00
Andrew Tridgell 6eb4ccd428 HAL_ChibiOS: retain OPENDRAIN if set on a pin
this allows OPENDRAIN when set on a pin to be retained when set with a
pinMode(). This fixes a partially lit B/E LED on the Pixhawk4
2019-11-17 11:45:55 +11:00
vierfuffzig 1821fc9594 AP_RTC: add local time support 2019-11-17 11:40:29 +11:00
Andrew Tridgell d3d4dff9ba AP_OSD: add clock panel 2019-11-17 11:36:07 +11:00
Andrew Tridgell c3bc1e3dd4 AP_Baro: added register checking and reset to DPS280 driver
this is to fix an issue found on a mRoControlZeroF7
2019-11-17 11:29:53 +11:00
Michael du Breuil a9fabdb278 AP_Logger: Fix logging of current on non primary instances 2019-11-17 11:29:38 +11:00
Andrew Tridgell 752c2872f9 RC_Channel: added RC option for new takeoff mode 2019-11-17 11:29:13 +11:00
Henry Wurzburg 6d2336e326 ArduPlane: added RC option for new takeoff mode 2019-11-17 11:27:38 +11:00
Andrew Tridgell df5e154144 AP_RangeFinder: fixed failover between rangefinders
this fixes the case where we have one rangefinder that can handle
short range and another that is good for long range but no good for
short range (quite common, eg radar and lidar)

If possible we want to use the first rangefinder that is in range for
the right orientation. If none are in range then use the first for the
orientation
2019-11-17 11:27:13 +11:00
Andrew Tridgell b19ad689a6 AP_GPS: fixed GPS to UART mapping
this allows for first GPS as UAVCAN and 2nd as UART. That is not
possible currently unless you waste a uart
2019-11-17 11:26:44 +11:00
Andrew Tridgell a5e79f4231 AP_TECS: added TECS_LAND_PMIN for min pitch in flare
this is useful to narrow the range of available pitch after flare
2019-11-17 11:26:07 +11:00
Peter Barker fffed10692 GCS_MAVLink: check reply channel for space rather than current channel 2019-11-02 14:08:47 +11:00
Andrew Tridgell 65c3d4ff20 HAL_ChibiOS: enable advanced timers if we have any N PWM channels 2019-11-02 13:46:43 +11:00
Andrew Tridgell 88e78afb19 HAL_ChibiOS: fixed SPI timeout bug
thanks to CUAV for noticing
2019-11-01 21:54:43 +11:00
Andrew Tridgell 8ab1e67b13 Plane: added Q_ASSIST_ALT parameter
this allows for quadplane assistance in fixed wing modes when the
aircraft drops below a given altitude. This could help save an
aircraft that is flying badly in fixed wing mode
2019-11-01 21:45:59 +11:00
Andrew Tridgell aad00db692 Plane: prepare for 4.0.0 release 2019-10-28 16:38:03 +11:00
Andrew Tridgell f709f80dcb Plane: updated release notes for 4.0.0 2019-10-28 16:36:23 +11:00
Andrew Tridgell f3bd5c0b6a Plane: fixed takeoff alt handling
thanks to Henry for noticing
2019-10-20 09:37:39 +11:00
Andrew Tridgell c284a070e0 Plane: prepare for 4.0.0beta4 2019-10-19 09:10:18 +11:00
Andrew Tridgell 2432cfeaaf Plane: update release notes for 4.0.0beta4 2019-10-19 09:10:08 +11:00
Andrew Tridgell 837e0ac604 Plane: allow TAKEOFF mode on board with no compass 2019-10-17 12:20:35 +11:00
Andrew Tridgell 13edbb0531 Plane: if already flying in TAKEOFF mode then skip takeoff 2019-10-17 12:19:10 +11:00
Andrew Tridgell e983b94a2f Plane: deny reverse thrust in takeoff mode 2019-10-17 12:19:07 +11:00
Andrew Tridgell d74d8fac95 Plane: added a new TAKEOFF flight mode
takeoff then circle in direction of takeoff
2019-10-17 12:19:05 +11:00
Henry Wurzburg 2fb75a9961 Plane: add QACRO to flight mode list 2019-10-17 12:18:55 +11:00
Andrew Tridgell 3c1a362d90 GCS_MAVLink: fixed uninitialised bytes in send_named_float()
this fixes an issue with mavproxy with python3
2019-10-17 11:52:53 +11:00
liang 194ea66912 AP_Airspeed: protect sample timestamp while get data 2019-10-15 21:12:15 +11:00
Andrew Tridgell fe889b6f4e Plane: prepare for release of 4.0.0beta3 2019-10-07 21:39:21 +11:00
Andrew Tridgell 82d2a02971 Plane: updated release notes for 4.0.0beta3 2019-10-07 21:38:51 +11:00
Andrew Tridgell b3834457bd Plane: check airspeed and active Z controll for hover learning 2019-10-07 21:18:28 +11:00