muramura
95f4b326a4
AP_RangeFinder: Notify different alerts
2025-01-14 10:16:32 +11:00
Peter Barker
beb3dd1519
AP_HAL_SITL: remove redundant nullptr checks on _sitl member
...
nullptr is checked for at the top of this function, no need to check it after that
2025-01-14 09:48:56 +11:00
Peter Barker
7c2d329d75
Tools: remove command-line option enabling synthetic clock
...
it's always on, all the time
this has always been set for many years
2025-01-14 09:38:52 +11:00
Peter Barker
6d31555236
AP_HAL_SITL: remove command-line option enabling synthetic clock
...
it's always on, all the time
this has always been set for many years
2025-01-14 09:38:52 +11:00
Peter Barker
af908c5d2f
AP_HAL: remove command-line option enabling synthetic clock
...
it's always on, all the time
this has always been set for many years
2025-01-14 09:38:52 +11:00
muramura
0c9aaa2ae6
Blimp: fix param increment description
2025-01-13 20:33:33 +09:00
muramura
66da902442
Plane: fix param increment description
2025-01-13 20:33:33 +09:00
muramura
c8d21083ad
Sub: fix param increment description
2025-01-13 20:33:33 +09:00
muramura
ac09362170
Copter: fix param increment description
2025-01-13 20:33:33 +09:00
Peter Barker
61eea7e11c
SITL: correct buffer size in SIM_FETtecOneWireESC read
...
no need to subtract one here; read enough bytes to fill the buffer
2025-01-13 22:14:54 +11:00
Peter Barker
ca4ffb58a1
autotest: remove misleading and inoperative build_opts lines
2025-01-13 22:14:27 +11:00
Hayden Donald
609551212a
AP_HAL_ChibiOS: Here4FC change WS2812 led PWM to 10/11
...
Changed the PWM from 9/10 to 10/11 for the WS2812 leds
2025-01-12 10:20:44 +11:00
Huibean
0f8f2b28c4
AP_Mount: fix param increment description
2025-01-12 10:18:25 +11:00
Huibean
64e845b676
AP_AHRS: fix param increment description
2025-01-12 10:18:25 +11:00
Peter Barker
43061b2d6c
AP_Math: correct description of linear_interpolate
...
the return-value comment was just flat-out wrong.
Fix the parameter naming to make it clearer what is going on
2025-01-11 11:24:36 +11:00
mikefenghao
9cb0d8e49e
Tools: add hwdef MFE_AirSpeed_CAN
2025-01-11 11:23:11 +11:00
mikefenghao
b051f4d557
AP_HAL_ChibiOS: add hwdef MFE_AirSpeed_CAN
2025-01-11 11:23:11 +11:00
Peter Barker
6efe210549
AP_Proximity: add sample data from LD06 sensor
2025-01-09 15:39:34 +11:00
Peter Barker
6264fee765
autotest: add LD06 to ProximitySensor tests
2025-01-09 15:39:34 +11:00
Peter Barker
67bbe83167
SITL: add LD06 simulator
2025-01-09 15:39:34 +11:00
Peter Barker
c1ce04a0ce
AP_HAL_SITL: add LD06 simulator
2025-01-09 15:39:34 +11:00
Peter Barker
3e2428334b
AP_Proximity: correct length sanity check
...
the length field is actually the count of 3-byte data elements
2025-01-09 15:39:34 +11:00
Marco Walther
adf05ea0e6
AP_Proximity: LD06: correct data collection
...
incorrect distances+angles being returned
2025-01-09 15:39:34 +11:00
Peter Barker
c57672a529
hwdef: remove AP_SERVO_TELEM_ENABLED on minimized boards
2025-01-08 18:37:58 +00:00
Ryan Friedman
20c77ae762
AP_GSOF: refactor GSOF to expect packets by ID
...
Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
2025-01-08 08:52:21 +11:00
Ryan Friedman
da1cc33018
AP_GPS: refactor GSOF to expect packets by ID
...
Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
2025-01-08 08:52:21 +11:00
Ryan Friedman
a5ed6ee6d4
AP_Common: Add cont array constructor to AP_Bitmask
...
Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
2025-01-08 08:52:21 +11:00
Peter Barker
f236a6c6fc
AP_Math: tests: we no longer expect an exception when limiting corner case
2025-01-07 16:08:03 +11:00
Peter Barker
9dc992619b
AP_Math: prevent FPE in SITL when limiting accel vectors
...
The cross-product code can produce something slightly negative. Fix
safe_sqrt to avoid barfing on that, as was originally intended, and
clarify why it's being used.
Co-authored-by: Leonard Hall <leonardthall@gmail.com>
Co-authored-by: Thomas Watson <twatson52@icloud.com>
2025-01-07 16:08:03 +11:00
Peter Barker
a968ce8d33
AP_Math: add test for FPE in control code
2025-01-07 16:08:03 +11:00
Peter Barker
1f8067d8a3
hwdef: default HAL_GCS_ENABLED to false on iomcu firmwares
2025-01-07 13:11:15 +11:00
Peter Barker
f46f3f4bca
AP_HAL_ESP32: remove use of HAL_NO_UARTDRIVER
...
we can emit GCS_SEND_TEXT messages via mechanisms that don't involve the UART, so stop looking at that define when including reporting code
2025-01-07 13:11:15 +11:00
Peter Barker
d834dafdca
AP_HAL_ChibiOS: remove use of HAL_NO_UARTDRIVER
...
we can emit GCS_SEND_TEXT messages via mechanisms that don't involve the UART, so stop looking at that define when including reporting code
2025-01-07 13:11:15 +11:00
Thomas Watson
f3e610cdd8
CI: use latest released version of Cygwin install action
...
Using the master branch exposed us to transient breakage as the action
was developed.
2025-01-07 13:08:33 +11:00
Thomas Watson
6c847a2611
Tools: fix Cygwin CI build
...
There are currently issues where the non-.exe-suffixed files can't be
copied into the `artifacts` folder; `cp` claims "File exists".
Previously this worked but the suffix was added by Cygwin so all files
in `artifacts` had a `.exe` suffix anyway.
This is evidently intended, though non-intuitive, behavior:
https://sourceware.org/legacy-ml/cygwin/2009-08/msg00293.html
> On Cygwin, you should avoid having a file "foo" and a file "foo.exe"
> in the same directory at all cost to avoid puzzeling POSIX borderline
> behaviour like this. What you do is essentially in the "not
> supported" class of problems.
> [...] Cygwin does not check for a file "foo", if the name of the file
> is explicitely given as "foo.exe".
Apparently something similar was addressed in PR #20926 ; the current
code installs files with both suffixes, but that fix contradicts the
info above and now has broken.
This PR changes the code to only install .exe-suffixed files, as opposed
to only non-.exe-suffixed files, which was the behavior before that PR.
2025-01-07 13:08:33 +11:00
Peter Barker
1de59f8be6
build_options.py: RateLoopThread is dependent on HarmonicNotches
...
"> AP_INERTIALSENSOR_FAST_SAMPLE_WINDOW_ENABLED should never be built without harmonic notch support, so we should express the dependency a different way if necessary rather than littering the code with extra defines"
2025-01-07 12:39:42 +11:00
Peter Barker
794b43b2ac
Tools: extract_features.py: AP_QUICKTUNE_ENABLED only for Plane
2025-01-07 12:39:42 +11:00
Peter Barker
886c38fbdb
Tools: extract_features.py: AP_PLANE_GLIDER_PULLUP_ENABLED only for Plane
2025-01-07 12:39:42 +11:00
Peter Barker
a17bcf8cbe
Tools: extract_features.py: specify symbol for MODE_AUTOLAND_ENABLED
...
the default, "init" doesn't exist for this mode
2025-01-07 12:39:42 +11:00
Peter Barker
16a3735677
autotest: exempt MODE_AUTOLAND_ENABLED from sanity checks except on Plane
...
... only ever compiled in on Plane
2025-01-07 12:39:42 +11:00
Peter Barker
b929e78285
autotest: test_build_options.py: exempt AP_INERTIALSENSOR_FAST_SAMPLE_WINDOW_ENABLED from sanity check
...
the symbol supplied will only ever exist on Copter as it is nthe only thing that supports the window
2025-01-07 12:39:42 +11:00
Peter Barker
1949e75407
build_options.py: disable AP_NETWORKING_CAN_MCAST_ENABLED
...
Fails:
./Tools/autotest/test_build_options.py --no-disable-all --no-disable-none --no-disable-in-turn --board=CubeOrange --define-match-glob=AP_NETWORKING_CAN_MCAST_ENABLED
2025-01-07 12:39:42 +11:00
Peter Barker
226fc5c53c
AP_Networking: correct closing comment on #if
2025-01-07 12:39:42 +11:00
Peter Barker
b6e3429dcc
build_options.py: runcam now requires camera
2025-01-07 12:39:42 +11:00
Peter Barker
5e6cbc0c63
AP_CANMananger: fix awful defaulting of AP_CAN_LOGGING_ENABLED
2025-01-07 12:39:42 +11:00
Peter Barker
bacf7d8a02
Tools: add missing dependency for can logging
2025-01-07 12:39:42 +11:00
Peter Barker
c0618e7a0a
hwdef: remove bad flashing-last-sector comment
...
the original file these were copied from has a lower limit, so deserves this comment. These hwdefs are making the entire space available, so remove this comment.
2025-01-07 12:24:13 +11:00
Andy Piper
2b46f5a20b
AP_HAL: allow individual boards to define HAL_INS_RATE_LOOP
...
allow fast rate loop on F4 with one IMU
2025-01-07 12:23:13 +11:00
Ryan Friedman
01345e5a38
Tools: ros2: Clean up copter takeoff
...
* Finish timeout implementation missing variables
* Remove unused imports
Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
2025-01-07 11:07:51 +11:00
Andrew Tridgell
bb96db5466
SITL: support up to 32 rotors in a frame
2025-01-07 09:32:33 +11:00