Commit Graph

50363 Commits

Author SHA1 Message Date
Andrew Tridgell
2b19b8a988 AP_Compass: switched to GSF based compass learning
this makes inflight compass learning faster, more accurate and much
simpler
2021-11-01 09:00:27 +11:00
Andrew Tridgell
282209e3e6 AP_NavEKF3: add accessor for GSF yaw estimator 2021-11-01 09:00:27 +11:00
Andrew Tridgell
0d8cf00c5a AP_NavEKF2: add accessor for GSF yaw estimator 2021-11-01 09:00:27 +11:00
Andrew Tridgell
bdf903b862 AP_AHRS: add accessor for GSF yaw estimator 2021-11-01 09:00:27 +11:00
divyateja04
001f6a29ee AP_RangeFinder: removed empty constructors 2021-10-31 09:49:25 +11:00
divyateja04
2406877a60 AP_VisualOdom: removed empty constructors 2021-10-31 09:47:12 +11:00
QioTek
952a827287 HAL_ChibiOS: fixed orientation of ADI1674X and optimize SPI3 DMA
HAL_ChibiOS: fixed orientation of ADI1674X and optimize SPI3 DMA
2021-10-31 08:42:05 +11:00
bugobliterator
c6cacee960 Tools: update readme to include Hardfault debugging steps 2021-10-30 20:30:14 +11:00
bugobliterator
57e1fb1a81 HAL_ChibiOS: disable building CrashCatcher for non 2M boards 2021-10-30 19:24:57 +11:00
bugobliterator
91fdf6e875 HAL_ChibiOS: fix issue with writing the last byte 2021-10-30 19:24:57 +11:00
bugobliterator
1a996aa6f9 Tools: fix crash logging using gdb dump 2021-10-30 19:24:57 +11:00
bugobliterator
a28bf358d1 HAL_ChibiOS: skip compiling last_crash_dump if bootloader and GCS disabled 2021-10-30 19:24:57 +11:00
bugobliterator
8651d99de6 HAL_ChibiOS: move to using parameter STORAGE_FLASH_PAGE instead of define 2021-10-30 19:24:57 +11:00
bugobliterator
6adfcd4957 waf: disable building CrashCatcher for non 2M boards 2021-10-30 19:24:57 +11:00
bugobliterator
70f606c480 AP_HAL_ChibiOS: restrict crash dump mechanisms only on boards with 2M flash 2021-10-30 19:24:57 +11:00
bugobliterator
909f59f0e0 HAL_ChibiOS: fix build with boards without HAL_CRASH_SERIAL_PORT 2021-10-30 19:24:57 +11:00
bugobliterator
a6b2018cbf HAL_ChibiOS: fix build and serial crash dump for F4 based boards 2021-10-30 19:24:57 +11:00
bugobliterator
7d199f3e51 HAL_ChibiOS: record info into watchdog as well 2021-10-30 19:24:57 +11:00
bugobliterator
13c83f7010 HAL_ChibiOS: remove build of Crash dump to flash methods when !defined(HAL_CRASH_DUMP_FLASHPAGE) 2021-10-30 19:24:57 +11:00
bugobliterator
94cb546ff0 Tools: add support for parsing crash dumps directly 2021-10-30 19:24:57 +11:00
bugobliterator
66b8b9cf74 HAL_ChibiOS: add support for dumping crash logs to flash page 2021-10-30 19:24:57 +11:00
bugobliterator
b2ffc12092 HAL_ChibiOS: define flash page for dumping crash log 2021-10-30 19:24:57 +11:00
bugobliterator
29568a23ae HAL_ChibiOS: fetch crash_dump stored in flash 2021-10-30 19:24:57 +11:00
bugobliterator
f9f47cbeeb AP_HAL: add method to fetch last crash dump 2021-10-30 19:24:57 +11:00
bugobliterator
2af001541e AP_FileSystem: add crash_dump.bin 2021-10-30 19:24:57 +11:00
bugobliterator
eee7e6cadf waf: add defines for use in CrashCatcher Flash dump 2021-10-30 19:24:57 +11:00
bugobliterator
bd08d2d257 HAL_ChibiOS: move crashcatcher methods out from system.cpp into hwdef common 2021-10-30 19:24:57 +11:00
bugobliterator
06725ed68a Tools: add crash_debugger script to fetch and parse HardFault crashes 2021-10-30 19:24:57 +11:00
bugobliterator
7c96f295b3 HAL_ChibiOS: use CrashCatcher's hardfault method to log and dump crashes 2021-10-30 19:24:57 +11:00
bugobliterator
69f53a6188 HAL_ChibiOS: add defines for CrashCatcher methods to use 2021-10-30 19:24:57 +11:00
bugobliterator
c32bd845f2 HAL_ChibiOS: build crashcatcher lib alongside chibios 2021-10-30 19:24:57 +11:00
bugobliterator
c5dd02fb2b waf: compile in crash catcher library 2021-10-30 19:24:57 +11:00
bugobliterator
db2cc55507 modules: add CrashDebug 2021-10-30 19:24:57 +11:00
Andrew Tridgell
9c617a18f4 Plane: suppress rate D terms in ground mode
this prevents a common oscillation issue on the ground
2021-10-30 18:45:53 +11:00
Andrew Tridgell
8a73bdcbe6 APM_Control: suppress roll/pitch D term in ground_mode
prevent oscillations which are quite common
2021-10-30 18:45:53 +11:00
Shiv Tyagi
dfd7dfc1af Rover: set failsafe_radio flag when RC failsafe is triggered/cleared
This sets failsafe_radio flag when RC failsafe is triggered/cleared which is further used in AP_Arming::manual_transmitter_checks to fail pre-arm checks if failsafe is on
2021-10-30 15:47:53 +09:00
Shiv Tyagi
1b8fc31fcd Rover : add pilot_throttle_checks() to check throttle failsafe
This adds pilot_throttle_checks to check for throttle failsafe and prevents arming if throttle failsafe is triggered
2021-10-30 15:47:53 +09:00
Andrew Tridgell
50f9d2601f AP_Arming: log key @SYS files on arming 2021-10-30 16:44:00 +11:00
Andrew Tridgell
0be1017843 AP_Logger: support logging of files contents
this allows us to see key internal data in log files
2021-10-30 16:44:00 +11:00
Andrew Tridgell
b74dca02ca Plane: avoid qpos approach when very close to destination
this prevents a fwd transition when doing something like LOITER_TIME
close to a VTOL_LAND wp. We use 1.5 times the stopping distance at
cruise airspeed for the threshold
2021-10-29 20:22:19 +11:00
Andrew Tridgell
19b5044223 Plane: fixed VTOL state error when using Q_ENABLE=2
this ensures the poscontrol state is reset if it has not been
initialised before a VTOL loiter operation

thanks to Pete Hall for finding this
2021-10-29 20:22:19 +11:00
Andrew Tridgell
a0b662f161 hwdef: fixed reported flash on boards with storage at end of flash
this was in hwdef-bl.dat but had been left out of hwdef.dat which led
to flash_free being wrong in apj file
2021-10-29 18:28:36 +11:00
Shiv Tyagi
1c33cfca5d AP_MSP: factor code in init method
This factors code in AP_MSP:init() and removes two of the three identical implementations for initialising backends
2021-10-28 20:37:24 +11:00
Andrew Tridgell
3eae5b54d2 DroneCAN: update DSDL
added hygrometer for CUAV
2021-10-28 15:53:24 +11:00
Tom Pittenger
6107dcc8e7 AP_ADSB: bugfix vertical velocity sign was backwards 2021-10-28 09:51:33 +11:00
Peter Barker
02dc42275c AP_HAL_SITL: remove unused/unimplemented methods/vars, tidy namespacing 2021-10-28 09:09:44 +11:00
divyateja04
7f0bf89003 AC_AttitudeControl: removed empty constructors 2021-10-28 09:07:56 +11:00
Andy Piper
7daa276769 waf: stricter lua bindings build processing 2021-10-28 07:19:16 +11:00
Supernovae
00e4d2ee37 ArduPilot: README, grammar fixups
minor fixes for better readablity
2021-10-27 22:05:50 +11:00
Supernovae
0e023f21a6 ArduCopter: Tuning, NFC grammar fixups
changes to improve overall readablity
2021-10-27 22:05:50 +11:00