Commit Graph

58215 Commits

Author SHA1 Message Date
bugobliterator 3f7892fc79 modules: update mavlink 2023-05-24 19:03:28 +10:00
bugobliterator f9edc1c37b AP_Scripting: set timestamp for received messages 2023-05-24 19:03:28 +10:00
bugobliterator 28d49834c0 AP_Scripting: do semaphore lock when sending mavlink message from lua 2023-05-24 19:03:28 +10:00
bugobliterator 949f0e36d0 AP_Scripting: change receive_msgid to register_rx_msgid 2023-05-24 19:03:28 +10:00
bugobliterator d056a33dca AP_Scripting: use _chan to mark the methods that are mavlink channel based 2023-05-24 19:03:28 +10:00
bugobliterator dfe87732b5 AP_Scripting: add docs for mavlink scripting 2023-05-24 19:03:28 +10:00
bugobliterator 138464cab8 AP_Scripting: remove example/mavlink.lua and fix lua test 2023-05-24 19:03:28 +10:00
bugobliterator dc8deec351 autotest: add support for testing mavlink in lua 2023-05-24 19:03:28 +10:00
bugobliterator e79af89df3 AP_Scripting: add mavlink test 2023-05-24 19:03:28 +10:00
bugobliterator 9ce37e5f98 GCS_MAVLink: scripting sends mavlink messages directly 2023-05-24 19:03:28 +10:00
bugobliterator 076d00fd1e AP_Scripting: add mavlink support to scripting 2023-05-24 19:03:28 +10:00
Michael du Breuil a934c90e69 GCS_MAVLink: Route MAVLink data to/from scripting 2023-05-24 19:03:28 +10:00
Michael du Breuil 598919d8ad AP_Scripting: Support sending MAVLink buffers from scripts 2023-05-24 19:03:28 +10:00
Iampete1 2254252aff Plane: move mode manual reset into run function removing manual early return 2023-05-24 18:19:53 +10:00
bugobliterator 160629eb18 AP_HAL_ChibiOS: add links to detailed documentation at docs.cubepilot.org 2023-05-24 18:15:16 +10:00
bugobliterator faca23fe74 AP_HAL_ChibiOS: update CubeOrange pinout image 2023-05-24 18:15:16 +10:00
Andrew Tridgell 7a2e2f4927 hwdef: update CubeBlack/Orange/OrangePlus pinouts
the motivation for this was to add the SWD pinouts, but I took the
opportunity to get the orange and orangeplus information more up to
date as well
2023-05-24 18:15:16 +10:00
Pierre Kancir cdfbadbfb6 AP_Math: add test_rotations for custom rotations testing 2023-05-24 17:56:58 +10:00
Pierre Kancir d01f9e3ec5 Tools: add typing and add option for examples on coverage 2023-05-24 17:56:58 +10:00
Pierre Kancir dcb6b59962 Tools: remove build/linux/modules from coverage stats 2023-05-24 17:56:58 +10:00
Pierre Kancir cc563a6562 .github: fix coverage test 2023-05-24 17:56:58 +10:00
Hayden fa800e23e2 AP_Compass: Move health to cpp and add range check
Moved the health check to the cpp file and added checking of max instances
2023-05-24 12:39:47 +10:00
Hayden 30d575df12 AP_Baro: Move health to cpp and add range check
Moved the health checks to the cpp file and added range checking
2023-05-24 12:39:47 +10:00
Hayden 11dd9e8095 AP_IOMCU: Add #pragma once
Added #pragma once to AP_IOMCU as this caused compile issues when adding bindings to the LUA scripting
2023-05-24 12:39:47 +10:00
Hayden 09fd157b9b AP_Scripting: Add health checks
Added health checks for the Baro, InertialSensor, IOMCU, and Compass
2023-05-24 12:39:47 +10:00
Asif Khan 9ef3241949 GCS_MAVLink: add GIMBAL_MANAGER_SET_PITCHYAW message support 2023-05-24 12:36:37 +10:00
Asif Khan 28748dc2c0 AP_Mount: add GIMBAL_MANAGER_SET_PITCHYAW message support 2023-05-24 12:36:37 +10:00
Paul Riseborough c91909032f AP_NavEKF3: Increase delta velocity bias state process noise
Required due to state variance collapse on ground with some systems using RTK GPS.
2023-05-24 10:31:26 +10:00
Paul Riseborough 1053daaf90 AP_NavEKF3: Strengthen recovery from bad delta velocity bias learning 2023-05-24 10:31:26 +10:00
Paul Riseborough b1111e79fe AP_NavEKF3: Increase default value of EK3_ABIAS_P_NSE
This is required because some hardware setups with RTK GPS have experienced a collapse of the delta velocity state variances.
2023-05-24 10:31:26 +10:00
Paul Riseborough ef76890f9b AP_NavEKF3: Retune and fix delta velocity bias state variance protection 2023-05-24 10:31:26 +10:00
Peter Barker 1359b43742 Tools: build_binaries.py: avoid exception while handling exception
From the build server:

  File "./build_binaries.py", line 570, in get_exception_stacktrace
    ret = "%s\n" % e
  File "/usr/lib/python3.8/subprocess.py", line 113, in __str__
    if self.returncode and self.returncode < 0:
2023-05-24 06:23:02 +10:00
Andrew Tridgell 59b24c304f Tools: support beta-4.3 tags for doing new beta releases
temporary measure for new beta-4.3 for RCIN fix
2023-05-23 20:26:42 +10:00
Andrew Tridgell 419a75f0b7 AP_DroneCAN: support hobbywing DroneCAN ESCs
these use different messages from other DroneCAN ESCs
2023-05-23 20:26:11 +10:00
Andrew Tridgell f4f1fe6716 DSDL: submodule update 2023-05-23 20:26:11 +10:00
Andrew Tridgell fed9fb25e7 Tools: rebuild IO firmware 2023-05-23 12:11:04 +10:00
Andrew Tridgell c7f97751cf AP_RCProtocol: return true on initial protocol detection
we need to tell the IO firmware that a byte was consumed when we first
detect a protocol as otherwise the next bad byte on DSM will lock us
on the DSM port
2023-05-23 12:11:04 +10:00
Andrew Tridgell a25ffa266f AP_IOMCU: fixed issue with not regaining RC input
this fixes an issue where when you lose R/C input on IOMCU that you
may not regain it when R/C comes back.

The issue stems from us still processing the DSM uart when we are
using the SD3 "SBUS" uart for RC input, and still doing the switch of
the SD3 config every 2 seconds.

When we are not searching for a new protocol we should not be changing
UART config
2023-05-23 12:11:04 +10:00
Iampete1 4d72a86032 Tools: autotest: Web: remove tools (now here : https://github.com/ArduPilot/WebTools) 2023-05-23 11:03:04 +10:00
Iampete1 f77635a5a6 Filter: Examples: Add Transfer function check and MATLAB 2023-05-23 10:31:13 +10:00
Iampete1 4406570391 Filter: NotchFilter: private varables to protected 2023-05-23 10:31:13 +10:00
Tatsuya Yamaguchi 3fc8f27899 AP_Logger: make SCR name field instance 2023-05-23 10:27:21 +10:00
Iampete1 4fcd767f9e AP_Motors: example: add ability to dump all matrix motor layouts in JSON format 2023-05-23 10:18:17 +10:00
Michael du Breuil 63f57fcdb9 .editorconfig: Update for more standards aware editors 2023-05-23 09:56:28 +10:00
Iampete1 0d6d16d4e4 Plane: Quadplane: move modes fully to run function 2023-05-23 09:52:55 +10:00
bugobliterator b5617a9ff8 Revert "AP_HAL_ChibiOS: disable watchdog in hwdef.h not in-line in code"
This reverts commit ccfad8ceea.
2023-05-23 09:00:11 +10:00
Peter Barker 34a55166f8 SITL: correct compilation for SimOnHardware 2023-05-22 22:55:54 +10:00
Tatsuya Yamaguchi 6b40fd11d6 Copter: Add GCS Failsafe Brake option 2023-05-20 17:28:54 +10:00
Peter Barker 5333f404d3 AP_Common: pre-declare print_vprintf
these seem to override a soft symbol somewhere, so can't be static or be removed or the tests fail
2023-05-20 17:28:08 +10:00
Peter Barker 2e1f8d8b8b AP_BattMonitor: fix missing method declaration compile failure 2023-05-20 17:28:08 +10:00