Peter Barker
|
b22d3a0103
|
AP_Math: avoid casting floats to int32's for temporary variables
Note the use of 64-bit integer arithmetic further down, however
|
2019-04-23 09:36:17 +10:00 |
|
Pierre Kancir
|
92822a7f01
|
SITL: fix header
|
2019-04-23 09:20:43 +10:00 |
|
Pierre Kancir
|
20928ff8da
|
AP_Beacon: fix header
|
2019-04-23 09:20:43 +10:00 |
|
Pierre Kancir
|
ff4587a33a
|
AP_Math: move location define to Location class
|
2019-04-23 09:20:43 +10:00 |
|
Pierre Kancir
|
1854681e09
|
AP_Math: use past_interval_finish_line and line_path_proportion from Location
|
2019-04-23 09:20:43 +10:00 |
|
Pierre Kancir
|
8168b3c8e4
|
AP_Landing: use past_interval_finish_line and line_path_proportion from Location
|
2019-04-23 09:20:43 +10:00 |
|
Pierre Kancir
|
4f31c3dcd5
|
AP_Math: move line_path_proportion to Location
|
2019-04-23 09:20:43 +10:00 |
|
Pierre Kancir
|
e06d7dbbf7
|
AP_Math: move location_passed_point to Location and rename
|
2019-04-23 09:20:43 +10:00 |
|
Mark Whitehorn
|
732ed17f2f
|
AC_AttitudeControl: bodyframe roll log target attitude bugfix
|
2019-04-23 09:15:55 +10:00 |
|
Mark Whitehorn
|
d72f2feeb5
|
AC_AttitudeControl: constrain input euler roll and pitch in bodyframe roll controls
and limit integrated error in bf_roll_pitch_yaw_3
|
2019-04-23 09:15:55 +10:00 |
|
Andrew Tridgell
|
c7be7d7343
|
AP_IOMCU: cope with IOMCU reset
|
2019-04-22 16:53:35 +10:00 |
|
Andrew Tridgell
|
dbe9e30edc
|
AP_InternalError: added iomcu_reset critical error
|
2019-04-22 16:53:35 +10:00 |
|
Andrew Tridgell
|
0461692ea5
|
HAL_ChibiOS: enable watchdog on IOMCU
|
2019-04-22 16:53:35 +10:00 |
|
Andrew Tridgell
|
6181c66e5c
|
AP_IOMCU: handle watchdog reset in IO firmware
|
2019-04-22 16:53:35 +10:00 |
|
Andrew Tridgell
|
9c6c4101c9
|
AP_Arming: make arm_checks() virtual
# Conflicts:
# libraries/AP_Arming/AP_Arming.h
|
2019-04-22 16:53:35 +10:00 |
|
Andrew Tridgell
|
352546c9f0
|
HAL_ChibiOS: removed unsafe ISR disable for bl update
can't disable interrupts and call a fn that takes a mutex
|
2019-04-22 16:53:35 +10:00 |
|
Andrew Tridgell
|
c63459c237
|
AP_HAL: added save/restore of attitude in backup registers
|
2019-04-22 16:53:35 +10:00 |
|
Andrew Tridgell
|
508aae8f2a
|
HAL_ChibiOS: added save/restore of attitude in backup registers
|
2019-04-22 16:53:35 +10:00 |
|
Andrew Tridgell
|
f7026b854e
|
AP_AHRS: added save/restore of attitude in backup registers
|
2019-04-22 16:53:35 +10:00 |
|
Andrew Tridgell
|
730982b3c4
|
HAL_ChibiOS: fixed build with older gcc
|
2019-04-22 16:53:35 +10:00 |
|
Andrew Tridgell
|
b8605c9ee6
|
AP_AHRS: save/restore home to backup registers
restore on watchdog reset
# Conflicts:
# libraries/AP_AHRS/AP_AHRS_DCM.cpp
|
2019-04-22 16:53:35 +10:00 |
|
Andrew Tridgell
|
2778a1b01e
|
HAL_ChibiOS: save/restore home position in backup registers
# Conflicts:
# libraries/AP_HAL_ChibiOS/hwdef/common/stm32_util.c
|
2019-04-22 16:53:35 +10:00 |
|
Andrew Tridgell
|
bd84c0a8df
|
AP_HAL: added save/restore of home to backup registers
|
2019-04-22 16:53:35 +10:00 |
|
Andrew Tridgell
|
034d476fa5
|
AP_InertialSensor: prevent watchdog in accelcal
|
2019-04-22 16:53:35 +10:00 |
|
Andrew Tridgell
|
f0f36c6237
|
HAL_ChibiOS: fixed watchdog timeout setting
|
2019-04-22 16:53:35 +10:00 |
|
Andrew Tridgell
|
3b5463f061
|
HAL_ChibiOS: allow for delay in bootloader flash
|
2019-04-22 16:53:35 +10:00 |
|
Andrew Tridgell
|
2313970eaf
|
GCS_MAVLink: added method to lockup autopilot
used for watchdog testing
|
2019-04-22 16:53:35 +10:00 |
|
Andrew Tridgell
|
2476927048
|
HAL_ChibiOS: don't call internalerror for iomcu
|
2019-04-22 16:53:35 +10:00 |
|
Andrew Tridgell
|
63d21d995a
|
HAL_ChibiOS: setup watchdog_reset internal error
|
2019-04-22 16:53:35 +10:00 |
|
Andrew Tridgell
|
d5c2b77573
|
AP_InternalError: added bit for watchdog reset
|
2019-04-22 16:53:35 +10:00 |
|
Andrew Tridgell
|
0b20d972cd
|
AP_Logger: prevent log erase from triggering watchdog
|
2019-04-22 16:53:35 +10:00 |
|
Andrew Tridgell
|
24c5bf42ae
|
AP_Logger: force logging on an armed watchdog reset
and don't clear sdcard space
|
2019-04-22 16:53:35 +10:00 |
|
Andrew Tridgell
|
9ca67dc811
|
HAL_ChibiOS: implement was_watchdog_armed()
|
2019-04-22 16:53:35 +10:00 |
|
Andrew Tridgell
|
4a3687fcf6
|
AP_HAL: added was_watchdog_armed()
allow decisions to be based on whether this is a watchdog reset and we
were armed
|
2019-04-22 16:53:35 +10:00 |
|
Andrew Tridgell
|
a4ab44a7b3
|
AP_BoardConfig: auto-restore safety state on watchdog reset
|
2019-04-22 16:53:35 +10:00 |
|
Andrew Tridgell
|
1acb7e977f
|
HAL_ChibiOS: added ability to restore safety state on watchdog reset
|
2019-04-22 16:53:35 +10:00 |
|
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
|
58aca561fd
|
HAL_ChibiOS: fixed watchdog on H7
|
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
|
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 |
|