Commit Graph

65964 Commits

Author SHA1 Message Date
muramura
dcafda890b Sub: Change division to multiplication 2025-01-02 23:22:42 +11:00
muramura
20dce34988 Copter: Change division to multiplication 2025-01-02 23:22:42 +11:00
muramura
38c6ae3a0e Tracker: Change division to multiplication 2025-01-02 23:22:42 +11:00
Minderring
f2eb188f82 Tools: support for MicoAir743-AIO
Update README.md: uses internal esc

Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>

Update README.md: introduction about RC input

Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>

Update README.md: introduction about PWM groups

Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>

remove defaults.parm and defined default params in hwdef file
2025-01-02 11:37:19 +00:00
Minderring
97b58506fd AP_HAL_ChibiOS: support for MicoAir743-AIO
Update README.md: uses internal esc

Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>

Update README.md: introduction about RC input

Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>

Update README.md: introduction about PWM groups

Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>

remove defaults.parm and defined default params in hwdef file
2025-01-02 11:37:19 +00:00
Randy Mackay
e2e7d1df7f Tools: add CADDX gimbal to build server options 2025-01-02 22:18:19 +11:00
Henry Wurzburg
f3c837ed80 AP_Mount: add CADDX gimbal support
Co-authored-by: Randy Mackay <rmackay9@yahoo.com>
2025-01-02 22:18:19 +11:00
Peter Barker
e1fd90bc6c AP_DroneCAN: correct narrowing-conversion errors 2025-01-01 16:24:05 -06:00
rishabsingh3003
d6e0411e0d hwdef: Add GPS moving baseline 2025-01-02 09:04:01 +11:00
Iampete1
efb5800d07 RC_Channel: re-instate init_aux_function call. 2025-01-02 08:25:34 +11:00
Peter Barker
5726c03e38 autotest: improve debug on wait_gps_disable 2025-01-01 09:15:12 +11:00
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