Commit Graph

65904 Commits

Author SHA1 Message Date
Ryan Friedman
e38154ea31 AntennaTracker: reserve offboard mode ID
Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
2024-12-27 07:15:31 +11:00
Mohammed Lamghari
004d46eb5c Tools: added name to GIT_Success.txt 2024-12-27 07:14:27 +11:00
Peter Barker
42f1aea9f3 Rover: adjust for renaming of RC_Channel and GCS_MAVLink headers 2024-12-26 11:01:22 +11:00
Peter Barker
a78db47e9e Rover: make RC_Channel and GCS_MAVLink filenames consistent 2024-12-26 11:01:22 +11:00
Peter Barker
f2a4253ed2 Blimp: adjust for renaming of RC_Channel and GCS_MAVLink headers 2024-12-26 11:01:22 +11:00
Peter Barker
aedaab4724 Blimp: make RC_Channel and GCS_MAVLink filenames consistent 2024-12-26 11:01:22 +11:00
Peter Barker
f2d0607b90 ArduSub: adjust for renaming of RC_Channel and GCS_MAVLink headers 2024-12-26 11:01:22 +11:00
Peter Barker
e9cf45ac46 ArduSub: make RC_Channel and GCS_MAVLink filenames consistent 2024-12-26 11:01:22 +11:00
Peter Barker
edc812d7f5 ArduPlane: adjust for renaming of RC_Channel and GCS_MAVLink headers 2024-12-26 11:01:22 +11:00
Peter Barker
f00e14900d ArduPlane: make RC_Channel and GCS_MAVLink filenames consistent 2024-12-26 11:01:22 +11:00
Peter Barker
49020a59c9 ArduCopter: adjust for renaming of RC_Channel and GCS_MAVLink headers 2024-12-26 11:01:22 +11:00
Peter Barker
c74b0757a4 ArduCopter: make RC_Channel and GCS_MAVLink filenames consistent 2024-12-26 11:01:22 +11:00
Peter Barker
abdd72ea95 AntennaTracker: adjust for renaming of RC_Channel and GCS_MAVLink headers 2024-12-26 11:01:22 +11:00
Peter Barker
7f552ee05b AntennaTracker: make RC_Channel and GCS_MAVLink filenames consistent 2024-12-26 11:01:22 +11:00
Iampete1
0dbbb87ce2 AP_Scripting: fix remaining luacheck issues 2024-12-24 14:48:58 -06:00
Iampete1
95d4dc1a0d Tools: AP_Periph: Web: scripts: fix luacheck issue 2024-12-24 14:48:58 -06:00
Eric Katzfey
5a8bc16170 AP_HAL_QURT: Added support for PWM channels 4 to 8 when using the IO board 2024-12-24 12:32:04 +11:00
Peter Barker
94eaa71182 ArduPlane: correct comments for ArduPlane.cpp rename 2024-12-24 12:26:42 +11:00
Peter Barker
c438d8a28d AP_HAL: correct comments for ArduPlane.cpp rename 2024-12-24 12:26:42 +11:00
Peter Barker
073edac6ee Plane: rename ArduPlane.cpp to Plane.cpp 2024-12-24 12:26:42 +11:00
Peter Barker
9b96ae7811 Plane: merge Plane.cpp into ArduPlane.cpp 2024-12-24 12:26:42 +11:00
Iampete1
2851aaf76a RC_Channel: use @LoggerEnum to give name for three level source enum 2024-12-24 11:34:07 +11:00
Iampete1
f213edb50b Tools: autotest: logger_metadata: allow @LoggerEnum to override enum name 2024-12-24 11:34:07 +11:00
Iampete1
7fd3106871 GCS_MAVLink: set source index when running aux functions 2024-12-24 11:34:07 +11:00
Iampete1
754fc867c2 AP_Scripting: set source index when running aux functions 2024-12-24 11:34:07 +11:00
Iampete1
440d49c7f3 AP_Mission: set source index when running aux functions 2024-12-24 11:34:07 +11:00
Iampete1
81c5697948 AP_Button: set source index when running aux functions 2024-12-24 11:34:07 +11:00
Iampete1
2ff877688a Plane: set source index when running aux functions 2024-12-24 11:34:07 +11:00
Iampete1
31eb10451c Copter: set source index when running aux functions 2024-12-24 11:34:07 +11:00
Iampete1
9ebb87816a RC_Channel: add source index to aux function trigger 2024-12-24 11:34:07 +11:00
Iampete1
f5dee94a5d AP_ICEngine: reinstate STARTCHN_MIN looking up PWM using source index 2024-12-24 11:34:07 +11:00
Iampete1
9f29cb0fba Plane: RC_Channel: pass trigger object onto ICE 2024-12-24 11:34:07 +11:00
Iampete1
a9b5068fbe Rover: move to AuxFuncTrigger structure 2024-12-24 11:34:07 +11:00
Iampete1
46f30527cb Blimp: move to AuxFuncTrigger structure 2024-12-24 11:34:07 +11:00
Iampete1
f7c4320e86 ArduPlane: move to AuxFuncTrigger structure 2024-12-24 11:34:07 +11:00
Iampete1
0ca5695cb7 ArduCopter: move to AuxFuncTrigger structure 2024-12-24 11:34:07 +11:00
Iampete1
be86284f18 RC_Channel: move to AuxFuncTrigger structure 2024-12-24 11:34:07 +11:00
Iampete1
a5741a53cb GCS_MAVLink: move to AuxFuncTrigger structure 2024-12-24 11:34:07 +11:00
Iampete1
473c39a9e9 AP_Scripting: move to AuxFuncTrigger structure 2024-12-24 11:34:07 +11:00
Iampete1
921b91930a AP_Mission: move to AuxFuncTrigger structure 2024-12-24 11:34:07 +11:00
Iampete1
0732bf8c5f AP_Button: move to AuxFuncTrigger structure 2024-12-24 11:34:07 +11:00
Iampete1
6400ce5833 Tools: autotest: quadplane: MAV_CMD_DO_ENGINE_CONTROL: wait after RC input change before sending command 2024-12-24 11:34:07 +11:00
Iampete1
9185430797 AP_ICEngine: fully move to aux function removing dedicated min PWM and high low thresholds 2024-12-24 11:34:07 +11:00
Iampete1
cc0f3f2915 Plane: do_aux_function call ice_control.do_aux_function 2024-12-24 11:34:07 +11:00
Iampete1
5695480ab3 Tools: autotest: copter: add test for scripting flip mode 2024-12-24 11:05:56 +11:00
Iampete1
6b0d59340e AP_Scripting: Examples: Flip_Mode: combine allow entry methods 2024-12-24 11:05:56 +11:00
Peter Barker
4a52e86131 AP_RangeFinder: tidy defines around bebop rangefinder inclusion 2024-12-23 18:03:55 -06:00
Michael du Breuil
5b961891ee AP_BattMonitor: Handle allocating too many analog channels
If you over allocate the number of analog channels this results in a
crash. It's easy to trigger this if you have voltage only monitors as we
still eat up a current input channel, regarless of if we use it. There
are only 16 channels at this time on ChibiOS, so if you have 9 voltage
only battery monitors you are out.

This PR improves that situation by only allocating channels when needed,
and in the case where we run out we now set a ConfigError, which on a
flight controller is much more friendly then a instant segfault the
moment we read a battery monitor. NOTE: on AP_Periph this takes the
node off the bus, rather then just sitting in the bootloader. This was
consideted acceptable as the current behaviour was to segfault and then
sit in the bootloader, unless you made new firmware that limited the
number of channels allocated it wasn't possible to recover in this
situation anyways.
2024-12-24 09:01:28 +09:00
Thomas Watson
54e3d74b51 AP_HAL_ESP32: drop spurious HAL_PARAM_DEFAULTS_PATH definition
It's already conditionally defined to nullptr in the top-level AP_HAL.
2024-12-24 10:50:21 +11:00
Thomas Watson
f964d3aed3 waf: add defaults.parm support to esp32 using ROMFS
And drop broken remnants of code using apj_tool to do it.
2024-12-24 10:50:21 +11:00