Commit Graph

65924 Commits

Author SHA1 Message Date
Peter Barker
88754798eb AP_AHRS: remove stale comment
not associated with relevant state; the relevant state names make things clearer than this comment does
2024-12-29 20:54:28 +11:00
Yuji Sakamoto
8afc5000d8 Tools: add name to GIT_Success.txt 2024-12-29 17:41:21 +11:00
Thomas Watson
f62f1cdeab AP_HAL_ESP32: RCOutput: add support for brushed PWM mode
Also adds some infrastructure for changing PWM group mode, though this
is likely the complete set that can be supported with the ESP32 PWM
peripheral.
2024-12-27 16:20:26 +00:00
Thomas Watson
881c5fbd78 AP_HAL_ESP32: RCOutput: rework to properly support output groups
Each of the six available timers now handles two consecutive PWM output
channels. This also implements support for changing the group PWM
frequency in a similar manner to the ChibiOS HAL.
2024-12-27 16:20:26 +00:00
Thomas Watson
b2df646b86 AP_HAL_ESP32: RCOutput: appropriately assert PWM array size
Avoid over-running the pending PWM and safe value PWM arrays in case
future chip revisions come out with more channels.
2024-12-27 16:20:26 +00:00
Thomas Watson
f6e01dbee9 AP_HAL_ESP32: RCOutput: fix channel enable/disable
Enabling/disabling the timer would apply the setting to whole groups of
channels. Fix to poke the comparator so that the setting only applies to
the particular channel.

Conveniently, though not necessarily intentionally, this avoids
truncating the output pulse and causing unexpected reactions from
servos. This also preserves the old behavior.
2024-12-27 16:20:26 +00:00
Peter Barker
13f9ad8f8c autotest: add test for return-to-initial-yaw RTL behaviour 2024-12-27 21:32:57 +11:00
Peter Barker
79e8c89cd4 Revert "CI: disable ccache for MacOS builds"
This reverts commit c4327161bc.
2024-12-27 21:32:36 +11:00
Andrew Tridgell
06930cf317 Tools: rebuild AP_Periph bootloaders
cope with very high latency links
2024-12-27 18:14:04 +11:00
Andrew Tridgell
fd56f99218 AP_Bootloader: cope with very delayed links in DroneCAN bootloader
this makes it possible to update a periph over the
support.ardupilot.org link
2024-12-27 18:14:04 +11:00
Peter Barker
dd1b843da4 AP_Logger: add metadata giving enum for RFND.Orient
2024-12-18 02:20:27.446: RFND
    TimeUS: 3111687840 µs
    Instance: 0 instance
    Dist: 0.23 m
    Stat: 4 (Good)
    Orient: 25 (ROTATION_PITCH_270)

(allows ROTATION_PITCH_270 to be filled in)
2024-12-27 16:06:30 +11:00
Thomas Watson
75da82605e AP_HAL_ESP32: set up EKF double like other boards
It's still not enabled.
2024-12-26 19:59:15 -06:00
Rhys Mainwaring
3235a0692c Tools: ardupilotwaf: esp32 does not have hardware double
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2024-12-26 19:59:15 -06:00
Andrew Tridgell
c4327161bc CI: disable ccache for MacOS builds
ccache is segfaulting in CI on MacOS
2024-12-27 11:46:01 +11:00
Patrick José Pereira
c29815644f libraries: AP_HAL_ESP32: README: Add info about ESPPORT
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2024-12-27 09:12:12 +11:00
Ryan Friedman
21c17bdf98 Rover: reserve offboard mode ID
Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
2024-12-27 07:15:31 +11:00
Ryan Friedman
b1c1596e1b Blimp: reserve offboard mode ID
Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
2024-12-27 07:15:31 +11:00
Ryan Friedman
e401d81cdd ArduSub: reserve offboard mode ID
Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
2024-12-27 07:15:31 +11:00
Ryan Friedman
ee5d87f995 ArduPlane: reserve offboard mode ID
Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
2024-12-27 07:15:31 +11:00
Ryan Friedman
ab27d49eee ArduCopter: reserve offboard mode ID
Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
2024-12-27 07:15:31 +11:00
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