Commit Graph

65953 Commits

Author SHA1 Message Date
Peter Barker
6d7fccecf0 AP_DroneCAN: correct compilation when AP_DRONECAN_VOLZ_FEEDBACK_ENABLED enabled 2024-12-31 12:45:41 +11:00
Peter Barker
5de498f54b Tools: correct enable/disable of AP_DRONECAN_VOLZ_FEEDBACK_ENABLED
recent servo-feedback library didn't record appropriate dependencies in build_options.py
2024-12-31 12:45:41 +11:00
Peter Barker
942039d18b AP_DroneCAN: correct enable/disable of AP_DRONECAN_VOLZ_FEEDBACK_ENABLED
recent servo-feedback library didn't record appropriate dependencies in build_options.py
2024-12-31 12:45:41 +11:00
Thomas Watson
9d7024f89e AP_HAL_ChibiOS: Storage: fix up delay comment
EXPECT_DELAY_MS was used in direct contravention of the comment so it
must be okay. Even when it wasn't and the comment was accurate,
expecting a delay off the main thread never worked properly anyway.
2024-12-31 11:31:53 +11:00
Thomas Watson
d758bad64d Revert "HAL_ChibiOS: expect a long delay on flash page erase"
This reverts commit 8dabd6cefc.

Setting up expected delays from a non-main thread never worked properly
due to the redundant main thread check, and isn't used today.
2024-12-31 11:31:53 +11:00
Thomas Watson
c57ac3b916 AP_Filesystem: FATFS: remove redundant delay expectations
The delays will be canceled on return by the EXPECT_DELAY_MS(3000)
destructor at the start of the function. The current behavior will
unexpectedly cancel delays from higher levels up the stack and is likely
not what was intended.
2024-12-31 11:20:21 +11:00
Peter Barker
d230e9c552 AP_AHRS: remove not-needed virtual methods from backends
we will add them to the data structure rather than having callbacks
2024-12-31 11:12:12 +11:00
Peter Barker
5a62983fba AP_AHRS: remove unused airspeed_vector_true method from backend iface 2024-12-31 11:12:12 +11:00
Peter Barker
2ac92d934f AP_AHRS: remove unused have_inertial_nav method 2024-12-31 11:12:12 +11:00
Peter Barker
25b19f0a08 AP_AHRS: Backend: remove unused methods 2024-12-31 11:12:12 +11:00
Peter Barker
a794688f3b AP_NavEKF3: move definition of MAX_EKF_CORES
if you're not including the AP_NavEKF3 header then you don't get this definition and then you won't be able to compile the DAL.
2024-12-31 10:55:51 +11:00
Peter Barker
cef48fc432 Copter: remove misleading comments about default being conversions
despite these looking likely to be conversion information, these are actually default values embedded within the Copter::convert_pid_parameters method
2024-12-31 10:54:56 +11:00
Peter Barker
e202a4128c Copter: remove stale parameter conversions
this removes stale parameter conversions.

These patches are all in the Copter-4.0.0 tag, meaning that they are all for upgrading from a version prior to that to a version prior-or-equal-to Copter-4.0.0

Past this a user running a version of ArduCopter < 4.0.0 to something >= 4.7.0 will not have smooth parameter conversions
2024-12-31 10:54:56 +11:00
Andy Piper
7e8aab1ae8 bootloaders: add CBU-H7-LC-Stamp 2024-12-31 09:31:33 +11:00
Andy Piper
e5656f0cc4 AP_HAL_ChibiOS: add CBUnmanned CBU-H7-LC-Stamp 2024-12-31 09:31:33 +11:00
Andy Piper
dd28ea2805 AP_Bootloader: add CBUnmanned CBU-H7-LC-Stamp 2024-12-31 09:31:33 +11:00
santhoshini
a1cba7a7aa Tools: add board support for CrazyF405 2024-12-31 09:25:10 +11:00
santhoshini
4e92fc91ec AP_HAL_ChibiOS: add board support for CrazyF405 2024-12-31 09:25:10 +11:00
mateksys
f3fc148e2a AP_HAL_ChibiOS: add MatekG474-GPS hwdef 2024-12-31 09:22:59 +11:00
mateksys
b0c2d87039 Tools: add MatekG474-GPS bootloader 2024-12-31 09:22:59 +11:00
Henry Wurzburg
055c6242f6 ArduPlane:bug fix 2024-12-31 09:18:49 +11:00
Andrew Tridgell
3647c67e73 Plane: added base leg WP to autoland
this gives a cleaner landing, keeping the plane in the part of the
field where the pilot is currently flying
2024-12-31 09:18:49 +11:00
Henry Wurzburg
b76da82387 Tools: add AutoLand fixed-wing mode 2024-12-31 09:18:49 +11:00
Henry Wurzburg
32f5afb22a ArduPlane: add AutoLand fixed-wing mode 2024-12-31 09:18:49 +11:00
Henry Wurzburg
a7f7b37c80 AP_Landing: add AutoLand fixed-wing mode 2024-12-31 09:18:49 +11:00
Henry Wurzburg
b684d4cc81 AP_Vehicle: add AutoLand fixed-wing mode 2024-12-31 09:18:49 +11:00
Andrew Tridgell
33841aaed5 autotest: added non-compass takeoff test
autotest:add test for autoland mode
2024-12-31 09:18:49 +11:00
Thomas Watson
05f024ade7 ardupilotwaf: properly configure double precision tests
Use new setup function. Unsure if this affects anything.
2024-12-31 08:16:55 +11:00
Thomas Watson
084661d099 ardupilotwaf: properly configure double precision tasks
There might be multiple copies of the flags, so remove all of them. Also
pull the setup into a helper function to avoid duplicating the logic.

On ChibiOS boards, this fixes SITL (which had issues with position
quantization) and affects the SBF GPS driver (which was probably fine
before but does change slightly).
2024-12-31 08:16:55 +11:00
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