Commit Graph

39815 Commits

Author SHA1 Message Date
Peter Barker d68c9572d9 Tools: autotest: add test for spline-as-last-waypoint 2020-02-05 10:04:08 +11:00
Peter Barker 89cfdb678f AC_WPNav: do not calculate NEU vector from invalid location 2020-02-05 10:04:08 +11:00
Michael du Breuil 14f43f24a9 AP_Common: Include altitude in the init check for a location 2020-02-05 10:04:08 +11:00
Andrew Tridgell 5bac7018b6 AP_GPS: use jitter correction on GPS_INPUT data
this allows for more accurate timing when using GPS_INPUT for indoor
positioning systems
2020-02-05 10:04:08 +11:00
Peter Barker 6c85ee7483 Tools: Replay: add dummy AP::advancedfailsafe method 2020-02-05 10:04:08 +11:00
Peter Barker f1d3d5c2b8 Sub: implement dummy afs singleton getting to avoid linking AFS 2020-02-05 10:04:08 +11:00
Peter Barker dbbda19170 Tracker: implement dummy afs singleton getting to avoid linking AFS 2020-02-05 10:04:08 +11:00
Peter Barker a74c97121e Tools: autotest: add basic tests for AP_AdvancedFailsafe 2020-02-05 10:04:08 +11:00
Peter Barker 882d3b0c0d GCS_MAVLink: use singleton to get AP_AdvancedFailsafe pointer 2020-02-05 10:04:08 +11:00
Peter Barker 7a1afc580d AP_AdvancedFailSafe: add singleton getter 2020-02-05 10:04:08 +11:00
Peter Barker 6a7cce5c22 Plane: remove get_advanced_failsafe override; singleton to be used 2020-02-05 10:04:08 +11:00
Peter Barker 0cc174abbc Copter: remove get_advanced_failsafe override; singleton to be used 2020-02-05 10:04:08 +11:00
Peter Barker d23bd150f2 Rover: remove get_advanced_failsafe override; singleton to be used 2020-02-05 10:04:08 +11:00
Willian Galvani 612fb74595 Sub: improve motor test message 2020-02-05 10:04:08 +11:00
Willian Galvani 0823c297ff Sub: force cam pan and tilt inputs to channels 7 and 8 2020-02-05 10:04:08 +11:00
Peter Barker 56c6ba6a22 Tools: autotest: add test for follow mode 2020-02-05 10:04:08 +11:00
Andrew Tridgell 463227881a Plane: prepare for 4.0.3 release 2020-01-21 08:10:51 +11:00
Andrew Tridgell e3935567c4 Plane: update release notes for 4.0.3 2020-01-21 08:10:36 +11:00
Andrew Tridgell 6db3874334 Plane: prepare for 4.0.3beta2 2020-01-18 20:34:45 +11:00
Andrew Tridgell a300f8451d Plane: update release notes for 4.0.3beta2 2020-01-18 20:34:45 +11:00
Andrew Tridgell 87b65698ba Tools: added --build-target to configure_all.py 2020-01-18 20:34:45 +11:00
Michael du Breuil 43275ac509 Tools: Remove gcc 4.9 from CI prereqs 2020-01-18 13:27:47 +11:00
Andrew Tridgell 5227fa9a43 Tools: fixed compiler path for autotest 2020-01-18 13:27:44 +11:00
Andy Piper 4dd66164c1 Tools: align ci gcc with environment gcc v6 on arm 2020-01-18 13:27:39 +11:00
Andrew Tridgell 00b8e4fb9b Tools: fixed compiler path 2020-01-18 12:35:39 +11:00
Andrew Tridgell f1cb9ed956 AP_FileSystem: chunk IOs to max 4k
this prevents larger IOs from attempting to allocate too much memory
in DMA bouncebuffers
2020-01-18 12:27:51 +11:00
Andrew Tridgell d2abe7ffa5 Tools: fixed CI compiler for Copter 4.0 2020-01-18 12:27:48 +11:00
Andrew Tridgell 2d817db7f3 AP_IOMCU: added a health check based on status read errors
if we have more than 1 in 128 read status requests failing then mark
IOMCU unhealthy
2020-01-18 12:27:42 +11:00
Andrew Tridgell 630ccb2ef9 AP_IOMCU: reduce uart buffer sizes 2020-01-18 12:27:39 +11:00
Andrew Tridgell 23005e6f46 HAL_ChibiOS: use 4k bouncebuffer for sdcard
match AP_Logger IO size
2020-01-18 12:27:36 +11:00
Andrew Tridgell c5b1c88948 HAL_ChibiOS: adjust dma reserve allocation
use larger target and allow for smaller allocation
2020-01-18 12:27:33 +11:00
Andrew Tridgell 64dc29cf98 HAL_ChibiOS: don't extend alloc of iomcu uart 2020-01-18 12:27:29 +11:00
Andrew Tridgell 7c0cb85361 HAL_ChibiOS: added checking on bouncebuffer allocation
fail operations if DMA bouncebuffer alloc fails

# Conflicts:
#	libraries/AP_HAL_ChibiOS/I2CDevice.cpp
2020-01-18 12:27:23 +11:00
Andrew Tridgell af79571388 ChibiOS: check bouncebuffer alloc in SDIO calls 2020-01-18 12:26:32 +11:00
Andrew Tridgell b60fd97f32 AP_Logger: add a semaphore to protect creation of new log formats 2020-01-18 12:26:29 +11:00
Andrew Tridgell 66b14f4aaf AP_Filesystem: fixed set_mtime semaphore 2020-01-18 12:26:25 +11:00
Michael du Breuil 0fe9763e19 AP_Param: Fix failing to invalidate the cached parameter count
This would cause a GCS to download fewer then the requested number of
parameters
2020-01-15 14:03:36 +11:00
Andrew Tridgell 995c61b47a Plane: prepare for release of 4.0.3beta1 2020-01-10 19:12:10 +11:00
Andrew Tridgell 2af0397ff0 Plane: update release notes for 4.0.3beta1 2020-01-10 19:12:10 +11:00
Andrew Tridgell e9f60ede1b AP_SerialManager: ensure users can't break SERIAL0_PROTOCOL
this prevents users from setting SERIAL0_PROTOCOL to something that
prevents them accessing the board. This can happen when users are
trying to setup SLCAN
2020-01-10 19:12:10 +11:00
Andrew Tridgell 7d91460e85 AP_Declination: re-generate mag tables
max interpolate error between -60 and 60 latitude is 13.86 mGauss
2020-01-10 19:12:10 +11:00
Andrew Tridgell 3584f1b779 AP_Declination: update generate script
added ability to display max error
2020-01-10 19:12:10 +11:00
Andrew Tridgell 9261b32430 AP_GPS: fixed build 2020-01-10 19:12:10 +11:00
Andrew Tridgell ac65b6ec47 mavlink: update for fixed yaw mag cal 2020-01-10 19:12:10 +11:00
Andrew Tridgell 0ed02b1d88 AP_Compass: added mag_cal_fixed_yaw()
this is a fast compass calibration that uses a yaw value provided by
the user.
2020-01-10 18:48:52 +11:00
Andrew Tridgell aea2238936 GCS_MAVLink: support MAV_CMD_FIXED_MAG_CAL_YAW 2020-01-10 18:48:49 +11:00
Andrew Tridgell b95a31ccfc AP_RCProtocol: fixed support for 22ms multi-frame DSM 2020-01-10 18:48:42 +11:00
Andrew Tridgell 1a9a70f935 Tools: rebuilt IO fw for DSM 22ms fix 2020-01-10 18:48:39 +11:00
Andrew Tridgell 0dc22331d0 AP_Frsky_Telem: fixed a race condition with statustext handling
this fixes an issue that can cause a hardfault. See this bug report:

https://discuss.ardupilot.org/t/hexa-crash-after-watchdog-reset/50917

ObjectArray is not thread safe
2020-01-10 18:48:17 +11:00
Andrew Tridgell f1c5cefd13 ChibiOS: fixed I2C4 on STM32H7
this fixes 4th I2C port on Durandal
2020-01-08 06:03:39 +11:00