Commit Graph

50589 Commits

Author SHA1 Message Date
Iampete1
a45e7608f2 GCS_MAVLink: set RC is_calibrating from command_preflight_calibration param4 2021-11-02 10:05:07 +11:00
Iampete1
c9107b2e98 RC_Channel: add gcs_is_calibrating bool 2021-11-02 10:05:07 +11:00
Iampete1
f7a788dc44 AP_Arming: add rc_in_calibration_check to manual_transmitter_checks and mandatory_checks 2021-11-02 10:05:07 +11:00
Iampete1
0613ce64d7 Blimp: run parent mandatory_checks 2021-11-02 10:05:07 +11:00
Iampete1
7e2604ef1a Copter: run parent mandatory_checks 2021-11-02 10:05:07 +11:00
Peter Barker
1abef3275e SITL: make ToshibaLED simulator optional 2021-11-02 09:40:09 +11:00
Peter Barker
d0872abdf9 autotest: FETtec tests: give vehicle a chance to realise ESCs are dead
Should remove the race condition where we disable an ESC but the vehicle
doesn't realise and lets the vehicle arm.

Also, waiting this long causes the ESCs to just go missing, not give a
telemetry failure
2021-11-02 09:39:17 +11:00
Peter Barker
59bda177ff SITL: cope with fewer than three INS_MAX_INSTANCEs 2021-11-02 09:38:59 +11:00
Josh Henderson
38ef0fd4fa AP_Param: eedump_apparam match Param_header and sentinals to AP_Param.h 2021-11-02 06:06:16 +11:00
Peter Barker
581629b332 SITL: make Ship simulator optional 2021-11-01 21:34:04 +11:00
yaapu
b97e335940 AP_CRSF_Telem: adjusted status text frame size based on actually used bytes 2021-11-01 21:32:24 +11:00
yaapu
1850851869 AP_CRSF_Telem: adjusted flight mode frame length based on actually used bytes 2021-11-01 21:32:24 +11:00
Peter Barker
0627ee66c5 AP_Compass: clarify all_configured calculations 2021-11-01 21:28:17 +11:00
Andrew Tridgell
e8926f8518 AP_Logger: avoid all opens of log files in main thread
this fixes a problem with sdcards where file open is very slow. It can
trigger a watchdog if it is slow enough. Peter and I hit this issue on
a pixracer today with a new sd card
2021-11-01 20:32:38 +11:00
Buzz
351a77f678 modules: new HAL layer for esp32
see libraries/AP_HAL_ESP32/README.md for more.

Author: Charles Villard <charlesvillard10@gmail.com>
Author: Buzz <davidbuzz@gmail.com>
2021-11-01 17:40:31 +11:00
Buzz
228fafeffe Tools: add esp32 support
see libraries/AP_HAL_ESP32/README.md for more.

Author: Charles Villard <charlesvillard10@gmail.com>
Author: Buzz <davidbuzz@gmail.com>
2021-11-01 17:40:31 +11:00
Buzz
3ecfdd5f88 GCS_MAVLink: esp target is not STM32, so don't do stm32 specific magic
see libraries/AP_HAL_ESP32/README.md for more.

Author: Charles Villard <charlesvillard10@gmail.com>
Author: Buzz <davidbuzz@gmail.com>
2021-11-01 17:40:31 +11:00
Buzz
adaccdf0ba AP_Math: esp32 with esp_idf have MIN and MAX defined to something else.
Author: Charles Villard <charlesvillard10@gmail.com>
Author: Buzz <davidbuzz@gmail.com>
2021-11-01 17:40:31 +11:00
Buzz
d4e2828540 AP_Logger: esp32 takes longer to init its SD card after boot.
see libraries/AP_HAL_ESP32/README.md for more.

Author: Charles Villard <charlesvillard10@gmail.com>
Author: Buzz <davidbuzz@gmail.com>
2021-11-01 17:40:31 +11:00
Buzz
168dc34566 AP_InertialSensor: New fallback type = NONE, which successfully does nothing like an INS, but without needing a real one, like esp32 dev boards.
Good for boards that u want to boot even when they dont have an IMU attached.
Author: Charles Villard <charlesvillard10@gmail.com>
Author: Buzz <davidbuzz@gmail.com>
2021-11-01 17:40:31 +11:00
Buzz
ecfdd80bc7 AP_HAL: new HAL layer for esp32
see libraries/AP_HAL_ESP32/README.md for more.

Author: Charles Villard <charlesvillard10@gmail.com>
Author: Buzz <davidbuzz@gmail.com>
2021-11-01 17:40:31 +11:00
Buzz
bb8998bdef AP_HAL_ESP32: new HAL layer for esp32
see libraries/AP_HAL_ESP32/README.md for more.

Author: Charles Villard <charlesvillard10@gmail.com>
Author: Buzz <davidbuzz@gmail.com>
2021-11-01 17:40:31 +11:00
Buzz
7c893d7cc9 AP_Filesystem: add ESP32 support
Author: Charles Villard <charlesvillard10@gmail.com>
Author: Buzz <davidbuzz@gmail.com>
2021-11-01 17:40:31 +11:00
Buzz
8d9f161b40 AP_Compass: add support for ICM20948 I2C variant and rename existing one as SPI variant
Author: Charles Villard <charlesvillard10@gmail.com>
Author: Buzz <davidbuzz@gmail.com>
2021-11-01 17:40:31 +11:00
Andrew Tridgell
98849a3998 HAL_ChibiOS: fixed build for EMPTY uarts
this fixes NucleoH743 build
2021-11-01 15:48:25 +11:00
divyateja04
2d7076fd39 AP_SerialLED: removed empty constructors 2021-11-01 10:24:40 +11:00
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