Commit Graph

39525 Commits

Author SHA1 Message Date
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
Andrew Tridgell b834796f3b HAL_ChibiOS: fixed clock src for I2C4 on H7 2020-01-08 06:02:46 +11:00
Andrew Tridgell 17118977dc HAL_ChibiOS: automatically set AP_FEATURE_RTSCTS 2020-01-02 07:50:35 +11:00
Andrew Tridgell 5c4802ce25 AP_Compass: limit rotations we try to ROTATION_MAX_AUTO_ROTATION 2020-01-01 09:08:31 +11:00
Andrew Tridgell 686b9322cd AP_Math: define ROTATION_MAX_AUTO_ROTATION
we don't want to use ROTATION_PITCH_7 in our auto rotation mix, as it
is too close to level
2020-01-01 09:08:19 +11:00
Gone4Dirt ad9e6f02cd Plane: Prevent FS action overiding VTOL land 2019-12-31 11:43:22 +11:00
Andrew Tridgell 1e0dfaa1fe Plane: prepare for 4.0.2 release 2019-12-30 14:41:43 +11:00
Andrew Tridgell 36820813cb Plane: update release notes for 4.0.2 2019-12-30 14:41:14 +11:00
Andrew Tridgell 8311a5be63 HAL_ChibiOS: fixed H7 I2C timing
we were running the clock at too low speed. This affected the SSD1306 display

# Conflicts:
#	libraries/AP_HAL_ChibiOS/I2CDevice.cpp
2019-12-30 14:35:57 +11:00
Peter Barker abe1a09c7a AP_HAL: stop emitting extra CR before a LF as part of our printf 2019-12-25 12:00:37 +11:00
Andrew Tridgell f3e6b35989 Plane: prepare for 4.0.2beta3 2019-12-23 20:24:56 +11:00
Andrew Tridgell 64a8765de3 Plane: update release notes for 4.0.2beta3 2019-12-23 20:24:10 +11:00
Pierre Kancir ecdd07e793 AP_Compass: add register to checked ones and remove single-use goto
Also fix comment on TMRC register setting
2019-12-23 20:20:12 +11:00
Pierre Kancir d9edd3c8b5 AP_Compass: probe for RM3100 2019-12-23 20:20:01 +11:00
Andrew Tridgell 318c0a958d HAL_ChibiOS: removed PB1 and PB0 TIM1 complementary channels for F76x
these do not work, possibly a datasheet bug
2019-12-23 19:42:04 +11:00
Andrew Tridgell 24e48b5e81 HAL_ChibiOS: switch MatekF765 to timer 12
fixes PWM 5 and 6
2019-12-23 19:42:02 +11:00
Andrew Tridgell 437083b6e6 ChibiOS: allow system timers on TIM12, 13, 14 2019-12-23 19:41:01 +11:00
Andrew Tridgell 635d836957 waf: fixed aligned size of bootloader in ROMFS 2019-12-23 17:36:31 +11:00
Andrew Tridgell af04f1eb93 HAL_ChibiOS: ensure bootloader flash is multiple of 32 bytes 2019-12-23 17:36:28 +11:00
Andrew Tridgell 9c2caf5b12 AP_InertialSensor: default fast sampling on
if we have a first IMU capable of fast sampling then we want it
enabled by default
2019-12-23 09:56:26 +11:00
Andrew Tridgell f733e963df HAL_ChibiOS: scale uart rx buffer size with baudrate
this ensures we have enough buffer space for a RTK GPS, as well as for
high speed comms with a companion computer
2019-12-23 09:56:26 +11:00
Andrew Tridgell 6388372f04 Sub: fixed range check for RC channel 2019-12-23 09:56:26 +11:00
Andrew Tridgell bf39e1dfdd Plane: fixed range check for RC channel 2019-12-23 09:56:26 +11:00
Andrew Tridgell 0775738137 Copter: fixed range check for RC channel 2019-12-23 09:56:26 +11:00
Andrew Tridgell 47daebbb42 Rover: fixed range check for RC channel 2019-12-23 09:56:26 +11:00
Andrew Tridgell c9c72eb9ca Tracker: fixed range check for RC channel 2019-12-23 09:56:26 +11:00
Peter Barker 48a04d21ce AP_NMEA_Output: NavEKF constructors no longer take rangefinder 2019-12-23 09:56:26 +11:00
Randy Mackay e206134fa6 AP_NMEA_Output: 10hz rate limiting uses uint32_t 2019-12-23 09:56:26 +11:00
Peter Barker 46c384b412 AP_NMEA_Output: correct 10Hz rate limiting
integer promotion issue
2019-12-23 09:56:26 +11:00
Peter Barker 9fd53b0dbc AP_NMEA_Output: add example 2019-12-23 09:56:26 +11:00
Peter Barker e90b6bafca AP_NMEA_Output: skip sending sentences if no space on UART
AP_NMEA_Output: clean scope by removing unneeded temps

AP_NMEA_Output: redo last_sent to last_run

AP_NMA_Output: early-exit if no data
2019-12-23 09:56:26 +11:00
Andrew Tridgell 12e51965c9 HAL_ChibiOS: change CUAVv5Nano volt scale to 18.000 2019-12-23 09:56:26 +11:00
Andrew Tridgell 46b364934b Plane: prepare for 4.0.2beta2 2019-12-16 19:01:55 +11:00
Andrew Tridgell 6205a2158e Plane: update release notes for 4.0.2beta2 2019-12-16 19:00:55 +11:00
Andrew Tridgell d604b3f79b Tools: update to latest bootloaders 2019-12-16 18:52:55 +11:00
Andrew Tridgell 12aaccffc8 ChibiOS: handle SB without BUSY in I2Cv1 driver 2019-12-16 18:51:57 +11:00
Andrew Tridgell 96bccba638 HAL_ChibiOS: fixed build of SPI clock test 2019-12-12 20:43:40 +11:00
Andrew Tridgell 87f2839f3e GCS_MAVLink: fixed critical error on prefight cal ops 2019-12-12 20:43:35 +11:00
Andrew Tridgell 042f6c65e7 Plane: prepare for 4.0.2beta1 release 2019-12-09 14:14:43 +11:00
Andrew Tridgell 7b759c7bd8 Plane: updated release notes for 4.0.2beta1 2019-12-09 14:14:08 +11:00
Andrew Tridgell 595a49eec4 GCS_MAVLink: send temperature for IMUs 2019-12-09 13:25:18 +11:00