Commit Graph

26554 Commits

Author SHA1 Message Date
Andrew Tridgell
0f2f0d4cb2 AP_Math: allow for double EKF build 2021-07-10 07:20:41 +10:00
Andrew Tridgell
6c712c9001 HAL_ChibiOS: use SRAM1 as first ram segment on H7
this is needed to give the linker more than 128k for static variables
with double precision maths.
2021-07-10 07:20:41 +10:00
Andrew Tridgell
f60330c4ef AP_HAL: allow for double EKF build 2021-07-10 07:20:41 +10:00
Andrew Tridgell
4ed0b03f35 HAL_ChibiOS: implement set_RTS/CTS_pin methods 2021-07-09 13:27:57 +10:00
Andrew Tridgell
162cecadec AP_HAL: added set_CTS_pin and set_RTS_pin 2021-07-09 13:27:57 +10:00
Peter Barker
7a9dd8127a AP_HAL_SITL: generate a core file for a given PID
Similarly to dumpstack.sh, uses gdb to dump a core file
2021-07-08 15:46:07 +10:00
Peter Barker
2f7603e08e AP_HAL: generate a core file for a given PID
Similarly to dumpstack.sh, uses gdb to dump a core file
2021-07-08 15:46:07 +10:00
mateksys
40200654af AP_HAL_ChibiOS: add MatekF765-SE hwdef as a variant of MatekF765-Wing 2021-07-08 13:01:44 +10:00
CallanDaniel
396a27b17e AP_AHRS: add semaphore around set_origin
added semaphore around set_origin() to prevent thread racing
2021-07-08 11:54:37 +09:00
CallanDaniel
c34322f6ce AP_Scripting: add set_origin and initialised bindings
added bindings and example scripts
2021-07-08 11:54:37 +09:00
Siddharth Purohit
0217d1c3dc AP_UAVCAN: add BatteryInfoAux dsdl message 2021-07-08 11:56:06 +10:00
Andrew Tridgell
587ce2fd62 AP_Arming: fixed arming checks for no baro 2021-07-08 07:56:51 +10:00
Andrew Tridgell
cd3ac639fe AP_AHRS: added AHRS_GPS_USE=2 for no baro
this allows DCM to use the GPS instead of the baro for height
2021-07-08 07:56:51 +10:00
Andrew Tridgell
8e4d67a7c1 AP_Baro: fixed SITL with SIM_BARO_COUNT==0
this allows for testing of SITL with no baro
2021-07-08 07:56:51 +10:00
Siddharth Purohit
2f8dec7c9b AP_ONVIF: make onvif test empty if ONVIF not enabled 2021-07-07 18:57:25 +10:00
Siddharth Purohit
94a09f1426 AP_ONVIF: move to using hal util random 2021-07-07 18:57:25 +10:00
Siddharth Purohit
2c6659930a AP_ONVIF: remove dependency on C++ STL and std::string 2021-07-07 18:57:25 +10:00
bugobliterator
5f82ef83ad AP_ONVIF: remove init method and move initialisation to start 2021-07-07 18:57:25 +10:00
bugobliterator
d3fce3c41d AP_Vehicle: add method to enable onvif camera control using script 2021-07-07 18:57:25 +10:00
bugobliterator
027d8b4aea AP_Scripting: add support for controlling onvif camera using lua script 2021-07-07 18:57:25 +10:00
Michael Oborne
a81da13c13 AP_Scripting: add support for configuring ONVIF using scripting 2021-07-07 18:57:25 +10:00
Michael Oborne
1db1da9ee5 AP_ONVIF: add support controlling onvif cam using scripting 2021-07-07 18:57:25 +10:00
Siddharth Purohit
45f58367d0 AP_ONVIF: add initial wsdl2h generated header for onvif devicemgmt 2021-07-07 18:57:25 +10:00
Siddharth Purohit
6a0c4ec3f7 AP_HAL: add Random Number Generation test 2021-07-07 18:57:25 +10:00
Siddharth Purohit
1082046134 AP_HAL_SITL: add support for hw random number generation 2021-07-07 18:57:25 +10:00
Siddharth Purohit
f2e947589d AP_HAL_Linux: add support for hw random number generation 2021-07-07 18:57:25 +10:00
Siddharth Purohit
2b93b17fae AP_HAL: add support for hw random number generation 2021-07-07 18:57:25 +10:00
Andrew Tridgell
dd156d8da6 HAL_ChibiOS: run storage writes at 1kHz not 100Hz
The 100Hz update rate means there is a significant chance of an arming
failure after mission upload if you try to arm shortly after the
update.

Each mission item is 15 bytes, so with a 1200 item mission we need to
write 18000 bytes to storage. At 100Hz, with 8 bytes per storage line,
that takes over 22 seconds.
2021-07-07 17:32:21 +10:00
Siddharth Purohit
f4b2b3b214 AP_DAL: move to using tool instead of tools program group 2021-07-07 17:31:09 +10:00
Stephen Dade
035f65fe03 GCS_MAVLink: Add support for HIGH_LATENCY2 messages 2021-07-07 17:10:05 +10:00
yaapu
afa6e30b94 AP_Frsky_Telem: added airspeed flag to frame 0x5005 enabled by a new parameter 2021-07-07 11:53:12 +10:00
Michelle Rossouw
3bfd577a49 RC_Channel: Add blimp param frame values 2021-07-06 14:56:02 +10:00
Michelle Rossouw
3379a1a215 Filter: Add Vector2f option to notch filter 2021-07-06 14:56:02 +10:00
Michelle Rossouw
f95cb16434 AP_Math: Add Vector2f+z initialiser for Vector3f 2021-07-06 14:56:02 +10:00
Michelle Rossouw
ad2aca4900 AP_BattMonitor: Add blimp param frame values 2021-07-06 14:56:02 +10:00
Michelle Rossouw
c7e71874c3 AP_Arming: Add blimp param frame to rudder arming 2021-07-06 14:56:02 +10:00
Peter Barker
a7ab766fda AP_Landing: enable deepstall landing to be compiled out of the code 2021-07-06 12:38:21 +10:00
Michel Pastor
765b71adb6 AP_OSD: rename BLH elements to ESC 2021-07-06 12:18:21 +10:00
Michel Pastor
61073de909 AP_MSP: fix DJI FPV temperature and RPM 2021-07-06 12:18:21 +10:00
Michel Pastor
26c6224b2e AP_ESC_Telem: add method to get the temperature of the motor with highest temperature 2021-07-06 12:18:21 +10:00
Michel Pastor
f9b149e793 AP_ESC_Telem: add method to get average motor RPM 2021-07-06 12:18:21 +10:00
Andy Piper
e9f0c59e61 AP_HAL_ChibiOS: re-enable LEDs on MatekF405-bdshot 2021-07-06 10:10:04 +10:00
Andrew Tridgell
1633afb6cd APM_Control: adjust fixed wing filter defaults
adjust defaults based on discussions with Paul, and initialise the
FLTT value based on the controller time constant
2021-07-05 20:07:47 +10:00
Rishabh
290174f9d9 AC_PrecLand: NFC: Refactor EKF code 2021-07-05 15:21:27 +09:00
Randy Mackay
4fde26aa01 AP_NavEKF3: EK3_RNG_USE_HGT param references EK3_SRCx_POSZ 2021-07-05 08:42:06 +09:00
Andrew Tridgell
31a31963c9 AP_Notify: disable DShot buzzer by default 2021-07-05 07:36:28 +10:00
Andy Piper
a6eaa77ff8 AP_Notify: re-enable display on 1Mb boards 2021-07-04 08:21:47 +10:00
Andrew Tridgell
7ac895db77 HAL_ChibiOS: always send zero DShot when disarmed
this prevents a misconfigured system (for example SERVOn_REVERSED=1)
from running a motor while disarmed.

See https://discuss.ardupilot.org/t/plane-4-1-0-beta/72434/34?u=tridge
2021-07-03 11:37:28 +10:00
yaapu
28905a1e67 AP_RPM: fixed #ifdef HAL_WITH_ESC_TELEM to #if HAL_WITH_ESC_TELEM 2021-07-02 15:35:05 +10:00
yaapu
cdc874c366 AP_RPM: added a new RPM driver based on ESC telem
this adds a new RPM driver based on average RPM of selected motors.
A new bitmask parameter has been added to select which motor to average.
2021-07-02 15:35:05 +10:00
yaapu
b4d54cf565 AP_ESC_Telem: added methods to get average rpm data by motor mask 2021-07-02 15:35:05 +10:00
Samuel Tabor
326b65c7ad AP_Soaring: Vario filter cleanup and convert in-line filters to LowPassFilter instances 2021-07-02 15:31:27 +10:00
Siddharth Purohit
9a19a86a81 GCS_MAVLink: omit code that breaks build for herepro 2021-07-02 08:50:16 +10:00
Siddharth Purohit
fcca8564a2 AP_Volz_Protocol: omit code that breaks build for herepro 2021-07-02 08:50:16 +10:00
Siddharth Purohit
a5a29fe3ec AP_Vehicle: solve for undefined vehicle object in herepro build 2021-07-02 08:50:16 +10:00
Siddharth Purohit
347872f6d6 AP_RobotisServo: omit code that breaks build for herepro 2021-07-02 08:50:16 +10:00
Siddharth Purohit
1ffc18006b AP_Rally: omit code that breaks build for herepro 2021-07-02 08:50:16 +10:00
Siddharth Purohit
503a676e44 AP_Logger: omit code that breaks build for herepro 2021-07-02 08:50:16 +10:00
Siddharth Purohit
9b2359b34c AP_HAL_ChibiOS: allow option to enable ChibiOS features in bootloader 2021-07-02 08:50:16 +10:00
Siddharth Purohit
c18652f35a AP_GPS: add option to enable configuring PPS pin in UBLOX driver 2021-07-02 08:50:16 +10:00
Siddharth Purohit
7cbb3d8a3f AP_Compass: allow compass cal option for AP_Periph if defined 2021-07-02 08:50:16 +10:00
Siddharth Purohit
8a062ab9a1 AP_Arming: place defines to omit parts that break HerePro build 2021-07-02 08:50:16 +10:00
Siddharth Purohit
e22ca19640 AP_Notify: add support for ProfiLED over SPI 2021-07-02 08:50:16 +10:00
Siddharth Purohit
1a1dd76a4c AP_HAL_ChibiOS: add initial herepro hwdef 2021-07-02 08:50:16 +10:00
Andrew Tridgell
421faa0ada AP_Logger: fixed log creation on forced arm
when we force arm we need to ask the IO thread to create the log, not
create it ourselves
2021-07-01 15:30:11 +10:00
Andrew Tridgell
b4b02b4ffc HAL_ChibiOS: use nargs='+' for chibios_hwdef.py 2021-07-01 09:33:16 +10:00
willpiper
ce1ee6334f AP_HAL_ChibiOS: addressed reviewed comments 2021-07-01 09:33:16 +10:00
willpiper
fb4a4e609a AP_HAL_ChibiOS: added --extra-hwdef option 2021-07-01 09:33:16 +10:00
Siddharth Purohit
245f9d21b3 AP_HAL_ChibiOS: update clock config for FDCAN and External Flash 2021-06-30 19:34:36 +10:00
Siddharth Purohit
babcb31c1a AP_FlashIface: remove any delay from is device busy 2021-06-30 19:33:17 +10:00
Siddharth Purohit
be28a55364 AP_FlashIface: fix comments and correct ms to us in vars 2021-06-30 19:33:17 +10:00
Andy Piper
bc65bfa3f3 AP_FlashIface: add more wait_ready() and support XIP on W25Q 2021-06-30 19:33:17 +10:00
Siddharth Purohit
7156493242 AP_FlashIface: remove references to 4-4-4 mode 2021-06-30 19:33:17 +10:00
Siddharth Purohit
28dbbc2bc4 AP_HAL_ChibiOS: do not even initialise empty qspi driver 2021-06-30 19:33:17 +10:00
Siddharth Purohit
2af3864b61 AP_HAL: add support for entering XIP mode 2021-06-30 19:33:17 +10:00
Siddharth Purohit
d3e081c100 AP_HAL_ChibiOS: add support for entering XIP mode 2021-06-30 19:33:17 +10:00
Siddharth Purohit
1a66b5afd7 AP_FlashIface: panic if we haven't found a matching flash device 2021-06-30 19:33:17 +10:00
Siddharth Purohit
30eb5501ce AP_FlashIface_JEDEC: adjust for where only one mmode clock is req 2021-06-30 19:33:17 +10:00
Siddharth Purohit
dd9f3257cc AP_FlashIface_JEDEC: make delays support bootloader builds 2021-06-30 19:33:17 +10:00
Siddharth Purohit
1d3c001963 AP_FlashIface: fix build for non bootloader example 2021-06-30 19:33:17 +10:00
Andy Piper
676f90c595 AP_FlashIface: support Winbond W25Q 2021-06-30 19:33:17 +10:00
Siddharth Purohit
bc1474ed52 AP_FlashIface: limit flash size to how much we can address 2021-06-30 19:33:17 +10:00
Siddharth Purohit
3797bdc4b8 AP_FlashIface: move to using 1-4-4 read mode instead of 4-4-4 2021-06-30 19:33:17 +10:00
Siddharth Purohit
6b0f6f3bc0 AP_FlashIface: add support for entering XIP mode 2021-06-30 19:33:17 +10:00
Siddharth Purohit
e09e3fe59f AP_FlashIface_JEDEC: allow for different print setting for bl and fw 2021-06-30 19:33:17 +10:00
Siddharth Purohit
17e6cab729 AP_FlashIface: setup examples and driver for use with bootloader 2021-06-30 19:33:17 +10:00
Siddharth Purohit
0120d8eeec AP_DAL: take into account for addition of QSPIDevice in AP_HAL 2021-06-30 19:33:17 +10:00
Siddharth Purohit
6a284ea59d AP_HAL_Empty: add QSPIDevice empty HAL Iface 2021-06-30 19:33:17 +10:00
Siddharth Purohit
f0cfaa17dc AP_HAL_SITL: add empty qspi mgr instance 2021-06-30 19:33:17 +10:00
Siddharth Purohit
eed706c46b AP_HAL_Linux: add empty qspi mgr instance 2021-06-30 19:33:17 +10:00
Siddharth Purohit
263fbbbdb0 AP_HAL_ChibiOS: add echo safe debug flag bouncebuffer 2021-06-30 19:33:17 +10:00
Siddharth Purohit
3b3cc0b194 AP_FlashIface: add initial files for AP_FlashIface library 2021-06-30 19:33:17 +10:00
Siddharth Purohit
c962292bae AP_HAL_ChibiOS: add support for H757I Evaluation board 2021-06-30 19:33:17 +10:00
Siddharth Purohit
a323807644 AP_HAL: add support for QSPIDevice 2021-06-30 19:33:17 +10:00
Siddharth Purohit
abc26d1993 AP_HAL_ChibiOS: add QSPI Device Driver in HAL 2021-06-30 19:33:17 +10:00
Siddharth Purohit
4cb48da984 modules: update ChibiOS 2021-06-30 19:33:17 +10:00
Samuel Tabor
0c381435cc AP_Soaring: Reduce the number of messages emmitted. 2021-06-30 18:21:03 +10:00
Siddharth Purohit
0d393a3cf7 AP_AccelCal: do not add accelcal if no GCS iface available 2021-06-30 17:06:02 +10:00
Siddharth Purohit
c4caf2ff54 AP_InertialSensor: add HAL_INS_ENABLED 2021-06-30 17:06:02 +10:00
Siddharth Purohit
69009568b2 AP_HAL: add HAL_INS_ENABLED 2021-06-30 17:06:02 +10:00