Commit Graph

37430 Commits

Author SHA1 Message Date
Andrew Tridgell 8d2f094257 AP_HAL: added was_watchdog_safety_off()
used to restore safety state on watchdog reset
2019-04-22 16:53:35 +10:00
Andrew Tridgell 54cbf8ea9e HAL_ChibiOS: change to 2s timeout on watchdog
a bit more of a safety net against false positives for stable release
2019-04-22 16:53:35 +10:00
Andrew Tridgell 5a34470256 Tools: rebuild bootloaders 2019-04-22 16:53:35 +10:00
Andrew Tridgell 58aca561fd HAL_ChibiOS: fixed watchdog on H7 2019-04-22 16:53:35 +10:00
Andrew Tridgell f727f1c62d AP_Bootloader: use fast boot after watchdog reset 2019-04-22 16:53:35 +10:00
Andrew Tridgell 468ee0bd9b Plane: removed an unnecessary delay on init 2019-04-22 16:53:35 +10:00
Andrew Tridgell 21aee52604 AP_Compass: flag compass cal as long expected delay 2019-04-22 16:53:35 +10:00
Andrew Tridgell 19526b5826 HAL_ChibiOS: implement scheduler->expect_delay_ms() 2019-04-22 16:53:35 +10:00
Andrew Tridgell 215c41dbb1 AP_Logger: handle long delays in opening log files 2019-04-22 16:53:35 +10:00
Andrew Tridgell 88352b73bb AP_HAL: added expect_delay_ms() to Scheduler
used to notify scheduler of long expected delay in main thread
2019-04-22 16:53:35 +10:00
Andrew Tridgell 8100c71a96 HAL_ChibiOS: added commented out test code for watchdog 2019-04-22 16:53:35 +10:00
Andrew Tridgell 8d57a6a86a AP_Baro: skip cal on watchdog reset 2019-04-22 16:53:35 +10:00
Andrew Tridgell bbe4c92b58 AP_Airspeed: skip cal on watchdog reset 2019-04-22 16:53:35 +10:00
Andrew Tridgell 77516329fc Plane: show message for skipping gyro cal 2019-04-22 16:53:35 +10:00
Andrew Tridgell 9c48d001ac AP_InertialSensor: skip gyro cal on watchdog reset 2019-04-22 16:53:35 +10:00
Andrew Tridgell 03886f241e HAL_ChibiOS: implement was_watchdog_reset() 2019-04-22 16:53:35 +10:00
Andrew Tridgell 7f96d4ad12 AP_HAL: added was_watchdog_reset() 2019-04-22 16:53:35 +10:00
Andrew Tridgell a5309b3afa HAL_ChibiOS: record reason for reset
allows us to tell if reset was due to watchdog
2019-04-22 16:53:35 +10:00
Andrew Tridgell 272c277056 HAL_ChibiOS: use BRD_OPTIONS to enable watchdog 2019-04-22 16:53:35 +10:00
Andrew Tridgell 288569e156 AP_BoardConfig: added BRD_OPTIONS
used to enable STM32 watchdog
2019-04-22 16:53:35 +10:00
Andrew Tridgell c09df1ea7b HAL_ChibiOS: added IWDG watchdog support
this resets the MCU if the main loop stops for 1 second
2019-04-22 16:53:35 +10:00
Andrew Tridgell c988eb2fd9 AP_InertialSensor: don't set INS_ENABLE_MASK to found IMU mask 2019-04-22 14:56:59 +10:00
Andrew Tridgell c7ed4bfbcc AP_InertialSensor: allow testing of IMU failure 2019-04-22 14:56:42 +10:00
Andrew Tridgell e18f40cc08 SITL: added IMU failure masks 2019-04-22 14:56:30 +10:00
Andrew Tridgell 5e1f9068a1 AP_AHRS: ensure AHRS never uses an unhealthy gyro 2019-04-22 14:56:25 +10:00
Randy Mackay 1969a84e01 Rover: fix omni tri steering and lateral factors 2019-04-22 13:34:48 +09:00
Tomoshi Wagata 53e99027a3 Tools: add kawachii location for SITL 2019-04-22 09:06:48 +09:00
Rajat Singhal a963a0d245 Tools: scripts: Suggest exporting JSBSim path after building
Tools: scripts: Remove debug output in build-jsbsim.sh

Tools: scripts: Restore debug output in build-jsbsim.sh
2019-04-21 17:06:10 +10:00
Andrew Tridgell 43274f5d1b Tools: updated io firmware build 2019-04-20 14:48:59 +10:00
Andrew Tridgell 480d33706c AP_IOMCU: fixed safety state on reboot
fixes issue #11031
2019-04-20 14:48:59 +10:00
Michael du Breuil 078b9e85c2 Travis: Remove boards that were moved to semaphore 2019-04-20 12:33:44 +10:00
Michael du Breuil b0f4611ddc AP_HAL_ChibiOS: Fix python3 with F7 builds 2019-04-20 12:33:44 +10:00
Randy Mackay 8a5141f751 Copter: mode autoyaw lower in mode.h
make ordering of some declarations consistent across child classes
2019-04-20 10:04:33 +09:00
Peter Barker 7945c1fdfd Copter: mode class unfriends everyone, make relevant methods public 2019-04-20 10:04:33 +09:00
Leonard Hall 32cc642b2e AC_AttitudeControl: Formatting Changes 2019-04-20 09:31:56 +09:00
Francisco Ferreira 7d19ba8550
uavcan: update submodule to fix Python 3.7 issues 2019-04-19 13:38:08 +01:00
Peter Barker 9474fa1120 Tools: remove byte order mark from Solo params file 2019-04-19 20:46:03 +09:00
Peter Barker 146b0c69d6 AP_Logger: check return values from get_log_data 2019-04-19 13:34:42 +10:00
Peter Barker 0b44525bda AP_InternalError: correct cast in debug statement 2019-04-19 08:44:41 +09:00
Peter Barker 2cb69366c8 Tools: autotest: facilitate changing mode by number 2019-04-19 07:51:49 +09:00
CAO MUQING 07747c5c09 Tools: autotest: add and update zigzag flight mode test for copter
Tools: autotest: add copter zigzag mode

Tools: autotest: update copter zigzag flight test
2019-04-19 07:51:49 +09:00
Randy Mackay b7d0e4ec10 Copter: remove surface tracking shim functions 2019-04-19 07:45:52 +09:00
Randy Mackay 01909cf4c8 Copter: zigzag mode gets terrain following support 2019-04-19 07:45:52 +09:00
Randy Mackay 6fbbabd333 AC_WPNav: add origin_and_destination_are_terrain_alt accessor 2019-04-19 07:45:52 +09:00
Randy Mackay 5ebaeaf5d2 AC_WPNav: add rangefinder_used accessor
used by zigzag mode to determine if terrain altitudes can be used
2019-04-19 07:45:52 +09:00
Randy Mackay 89eb876faf Copter: move surface tracking variables into structure 2019-04-19 07:45:52 +09:00
Randy Mackay 33a57361bd Copter: reduce args passed to get_surface_tracking_climb_rate
The same arguments are always passed in
2019-04-19 07:45:52 +09:00
Randy Mackay a732dfed6d Copter: minor format fixes to get_pilot_desired_cilmb_rate 2019-04-19 07:45:52 +09:00
Michael du Breuil a2ac0875a7 AP_Airspeed: Fix race condition in SDP3X leading to garbage data 2019-04-18 15:28:46 -07:00
Peter Barker bec9b6dda4 Tools: apj_tool.py: python3 fixes 2019-04-19 07:28:49 +10:00