Commit Graph

33402 Commits

Author SHA1 Message Date
Andrew Tridgell
0b33a14369 AP_Bootloader: use fast boot after watchdog reset 2019-05-28 17:47:19 +09:00
Andrew Tridgell
3481eda759 Plane: removed an unnecessary delay on init 2019-05-28 17:47:19 +09:00
Andrew Tridgell
f4d8026d6d AP_Compass: flag compass cal as long expected delay 2019-05-28 17:47:19 +09:00
Andrew Tridgell
de2ae7ad24 HAL_ChibiOS: implement scheduler->expect_delay_ms()
# Conflicts:
#	libraries/AP_HAL_ChibiOS/HAL_ChibiOS_Class.cpp
#	libraries/AP_HAL_ChibiOS/Scheduler.h
2019-05-28 17:47:19 +09:00
Andrew Tridgell
2590457c75 AP_Logger: handle long delays in opening log files 2019-05-28 17:47:19 +09:00
Andrew Tridgell
a341eebe69 AP_HAL: added expect_delay_ms() to Scheduler
used to notify scheduler of long expected delay in main thread
2019-05-28 17:47:19 +09:00
Andrew Tridgell
8cd0133a4d HAL_ChibiOS: added commented out test code for watchdog 2019-05-28 17:47:19 +09:00
Andrew Tridgell
43dfc67b96 AP_Baro: skip cal on watchdog reset 2019-05-28 17:47:19 +09:00
Andrew Tridgell
194176ca06 Plane: show message for skipping gyro cal 2019-05-28 17:47:19 +09:00
Andrew Tridgell
69528a9892 AP_Airspeed: skip cal on watchdog reset 2019-05-28 17:47:19 +09:00
Andrew Tridgell
e105bf258c AP_InertialSensor: skip gyro cal on watchdog reset 2019-05-28 17:47:19 +09:00
Andrew Tridgell
0f0fdf1398 HAL_ChibiOS: implement was_watchdog_reset()
# Conflicts:
#	libraries/AP_HAL_ChibiOS/Util.h
2019-05-28 17:47:19 +09:00
Andrew Tridgell
44b6a70377 AP_HAL: added was_watchdog_reset()
# Conflicts:
#	libraries/AP_HAL/Util.h
2019-05-28 17:47:19 +09:00
Andrew Tridgell
4858506a0b HAL_ChibiOS: record reason for reset
allows us to tell if reset was due to watchdog
2019-05-28 17:47:19 +09:00
Andrew Tridgell
96923da60c HAL_ChibiOS: use BRD_OPTIONS to enable watchdog
# Conflicts:
#	libraries/AP_HAL_ChibiOS/HAL_ChibiOS_Class.cpp
2019-05-28 17:47:19 +09:00
Andrew Tridgell
78e234bb6f AP_BoardConfig: added BRD_OPTIONS
used to enable STM32 watchdog

# Conflicts:
#	libraries/AP_BoardConfig/AP_BoardConfig.cpp
#	libraries/AP_BoardConfig/AP_BoardConfig.h
2019-05-28 17:47:19 +09:00
Andrew Tridgell
a7906f9e42 HAL_ChibiOS: added IWDG watchdog support
this resets the MCU if the main loop stops for 1 second

# Conflicts:
#	libraries/AP_HAL_ChibiOS/HAL_ChibiOS_Class.cpp
2019-05-28 17:47:19 +09:00
Guglielmo
234b3391a9 AP_HAL_SITL: fix pthread SITL build on MacOS 2019-05-28 17:47:19 +09:00
Randy Mackay
632be63f05 Copter: version to 3.6.9 2019-05-27 12:21:33 +09:00
Randy Mackay
c49d379ebe Copter: 3.6.9 release notes 2019-05-27 12:21:14 +09:00
Andrew Tridgell
d80d30b7d8 Tools: updated bootloader binaries 2019-05-06 09:48:28 +10:00
Andrew Tridgell
d58bb700a3 HAL_ChibiOS: fixed brick2 valid status in POWR flags for fmuv5
and fixed sense of VBUS
2019-05-03 10:34:08 +10:00
Randy Mackay
0501d52c2a Copter: version to 3.6.9-rc2 2019-04-30 12:51:04 +09:00
Randy Mackay
e03a444087 Copter: 3.6.9-rc2 release notes 2019-04-30 12:50:11 +09:00
Phillip Kocmoud
57f2f1488e AP_Compass: Increase default MAX compass offset
After discussing the @tridge and @rmackay9 it was suggested that raising the maximum allowable compass offset value would allow users of the LIS3MDL and possibly others with larger compass offsets to fly with the default setting. 

This has been deemed a fairly safe change that still allows for sufficient overhead to prevent saturation.
2019-04-30 12:42:14 +09:00
Randy Mackay
573e7d9a8a Copter: version to 3.6.9-rc1 2019-04-30 11:00:31 +09:00
Randy Mackay
837978f0b9 Copter: 3.6.9-rc1 release notes 2019-04-30 11:00:19 +09:00
Michael du Breuil
35706def4d AP_GPS: Log reciever status to GPS SD card
This improves log analysis of bad GPS health messages when you have a
report of bad GPS health but lost the MAVLink message, or didn't have
access to the autopilot log with the information for some reason.
2019-04-30 10:48:59 +09:00
Michael du Breuil
94cc27a2f6 AP_GPS: Remove external event from GPS data stream
If the event pin floats, this can lead to UART congestion, causing the
EKF to reject the GPS data, and the vehicle will drift around the sky in
a most disturbing manner
2019-04-30 10:48:56 +09:00
Francisco Ferreira
09c210e10f AP_GPS: use proper macro in array sizes 2019-04-30 10:48:54 +09:00
Francisco Ferreira
75527ef567 AP_GPS: correct blending check 2019-04-30 10:48:51 +09:00
Francisco Ferreira
d88d8fc178 AP_GPS: fix out-of-bounds array access 2019-04-30 10:48:49 +09:00
Michael du Breuil
958b7866c9 AP_GPS: Ensure a lag value is always provided
The value may not be the optimal value for the driver, but we should
always try to provide a value for the caller
2019-04-30 10:48:46 +09:00
bnsgeyer
e3c29a3e88 Copter: Tradheli- removes suppression of hover_trim_roll on auto takeoff 2019-04-30 10:48:03 +09:00
Andrew Tridgell
b1f441abd4 HAL_ChibiOS: mark SDIO and SDMMC IO as pullup
this is needed for boards such as PixhackV3 which don't have hardware
pullups. Thanks to Hongle for reporting this.
2019-04-30 10:48:00 +09:00
Randy Mackay
2d1e02fada AP_OpticalFlow: support cx-of on all boards 2019-04-30 10:47:49 +09:00
ChristopherOlson
a7961ae869 Copter:AP_ARMING - remove collective position prearm check for heli 2019-04-30 10:47:46 +09:00
Bill Geyer
fd1da47bc3 Copter: fix to acro trainer leveling mode 2019-04-30 10:47:43 +09:00
Andrew Tridgell
47827f432d Tools: added CUAVv5Nano bootloader 2019-04-30 10:47:41 +09:00
Andrew Tridgell
b26ae4594f HAL_ChibiOS: change CUAVv5Nano default PWM count to 11 2019-04-30 10:47:38 +09:00
Andrew Tridgell
fc86a7db11 HAL_ChibiOS: fixed CUAVv5Nano uarts 2019-04-30 10:47:36 +09:00
Andrew Tridgell
a9c868a154 HAL_ChibiOS: support for CUAVv5Nano board
F765 with no IOMCU
2019-04-30 10:47:34 +09:00
Andrew Tridgell
06cfdedfb2 HAL_ChibiOS: fixed fallback to microSD for storage
this is used when FRAM fails on a board with microSD support. The
double init caused the validate() in the FATFS code to fail
2019-04-30 10:47:31 +09:00
Andrew Tridgell
481a6ea570 AP_Rangefinder: probe all I2C buses for rangefinders 2019-04-30 10:47:28 +09:00
Randy Mackay
2f40967820 Copter: version to 3.6.8 2019-04-26 13:01:41 +09:00
Randy Mackay
32ef34f55e Copter: 3.6.8-release notes 2019-04-26 13:00:48 +09:00
Andrew Tridgell
7d667650a5 Copter: update version to 3.6.8-rc1 2019-04-24 12:25:04 +10:00
Andrew Tridgell
33ce31b720 Copter: updated release notes for 3.6.8 2019-04-24 12:25:04 +10:00
Andrew Tridgell
87ae7ac422 AP_InertialSensor: don't set INS_ENABLE_MASK to found IMUs
this is needed for detection of failed cubes
2019-04-24 12:24:12 +10:00
Andrew Tridgell
edffc3001b AP_AHRS: ensure AHRS never uses an unhealthy gyro 2019-04-24 11:47:56 +10:00