Commit Graph

58082 Commits

Author SHA1 Message Date
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
Peter Barker
bce2625918 SITL: fix missing method declaration compile failure
RyanF found this when eliminating other problems
2023-05-20 17:28:08 +10:00
Peter Barker
0d38362c1a waf: warn on missing declarations in SITL 2023-05-20 17:28:08 +10:00
Ryan Friedman
f092c22915 AP_GPS: Enforce max of 10 GSOF outputs per the manual
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-05-20 14:23:17 +10:00
Ryan Friedman
77e169b226 AP_GPS: Update GSOF docs with newer data
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-05-20 14:22:15 +10:00
Andrew Tridgell
2a3faf5dff AP_BattMonitor: allow max amps to be configured on INA2XX
this allows for higer current ranges with lower resolution
2023-05-20 09:54:29 +10:00
AerofoxTech
c6d617092f Tools: add Aerofox GNSS F9P module board ID and bootloader 2023-05-20 08:57:25 +10:00
AerofoxTech
91f3e3a9a7 hwdef: add Aerofox GNSS F9P module 2023-05-20 08:57:25 +10:00
Henry Wurzburg
641b086c0f Plane: Make mode takeoff entry climb to TKOFF_ALT before loitering 2023-05-20 08:52:47 +10:00
ES-Alexander
e7b369473b Tools: logger_metadata: add emit_md 2023-05-19 18:44:02 +10:00
Peter Barker
d6f7fddcaf AP_Notify: bump up max number of simulated notify devices 2023-05-19 18:43:49 +10:00
Ryan Friedman
a05af3f3c3 AP_GPS: More const for gsofmsgreq
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-05-19 18:43:31 +10:00
Paul Riseborough
52743787b2 Plane: Fix bug that can cause early exit from loiter to alt and time wp's
The check for the aircraft being lined up for a tangent exit has an early breakout condition if the next waypoint is too close to the loiter circle which can prevent the required ground course to waypoint ever being achieved. This check was using the WP_LOITER_RAD parameter value, not the actual radius being used which can be set differently by the mission plan. If a large value for WP_LOITER_RAD was set and being over-written by the mission plan with a smaller value compatible with the distance to the next waypoint, the aircraft would still exit early.
2023-05-18 02:35:47 -07:00
Peter Barker
07160e2985 AP_Mount: move get_bf_yaw to be a method on the object it takes 2023-05-18 15:07:17 +10:00
Andrew Tridgell
5f469f2596 Tools: whitelist AP_PLANE_BLACKBOX_LOGGING
no signature we can use for this
2023-05-18 12:59:09 +10:00
Andrew Tridgell
6870a15280 Plane: implement AP_PLANE_BLACKBOX_LOGGING
this allows for auto-arming of plane when we reach a specified 3D GPS
speed. Used for blackbox logging of F3A maneuvers
2023-05-18 12:59:09 +10:00
Andrew Tridgell
e0cf5c5802 Tools: added AP_PLANE_BLACKBOX_LOGGING build option for custom build server 2023-05-18 12:59:09 +10:00
Andrew Tridgell
7dc9f418a5 AP_Arming: added BLACKBOX arming method 2023-05-18 12:59:09 +10:00
Peter Barker
fd2d976472 autotest: remove SIM_MAG1_DEVID from missing SITL param whitelist 2023-05-18 11:18:23 +10:00
Henry Wurzburg
68ff5a2b48 SITL: add metadata to simulated compass 2023-05-18 11:18:23 +10:00
lipper-chengdu
b351644583 AP_RCProtocol: Fix the issue of ST24 receiver not working 2023-05-18 08:24:22 +10:00
Pierre Kancir
50525206d5 Tools: apt install python-wxgtk on Lunar as pip install is hard to manage 2023-05-18 07:54:10 +10:00
Pierre Kancir
5e32a04c72 Tools: update setuptools and wheel before pip install pkgs
This allow to get precompiled package from pip depot instead of trying to compile them and failed without all dependencies
2023-05-18 07:54:10 +10:00
Pierre Kancir
c05175074a Tools: enforce python3 on Tools 2023-05-18 07:54:10 +10:00
Pierre Kancir
372209649c Tools: move Debian Buster to python3 2023-05-18 07:54:10 +10:00
Pierre Kancir
39eb7072e1 Tools: install wheel as part of setup
Simplify wx installation
2023-05-18 07:54:10 +10:00
Pierre Kancir
47f8694a6e .github: use fixed revision for docker dev containers 2023-05-18 07:53:52 +10:00
Peter Barker
b90166ab97 Tools: use methods to determine port numbers 2023-05-18 07:53:43 +10:00
Andy Piper
d7bcfd757b AP_HAL_ChibiOS: correct locking on LED thread 2023-05-18 07:53:33 +10:00
Peter Barker
3d05d8c0dd AP_Notify: use chibios_hwdef to define NOTIFY_LED_OVERRIDE_DEFAULT 2023-05-18 07:53:22 +10:00
Peter Barker
0c7a16b03d AP_HAL_ChibiOS: use chibios_hwdef to define NOTIFY_LED_OVERRIDE_DEFAULT 2023-05-18 07:53:22 +10:00
Peter Barker
76a2d89b51 ArduSub: move call of notify.update up to AP_Vehicle 2023-05-17 18:41:15 +10:00
Peter Barker
59bc070555 ArduPlane: move call of notify.update up to AP_Vehicle 2023-05-17 18:41:15 +10:00
Peter Barker
6c5c88061f ArduCopter: move call of notify.update up to AP_Vehicle 2023-05-17 18:41:15 +10:00