Commit Graph

9326 Commits

Author SHA1 Message Date
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
b6e3429dcc build_options.py: runcam now requires camera 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
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
Thomas Watson
2d9865760d Tools: ensure ESP32 malloc is wrapped to zero memory
The relevant linker flag needed to be put in the CMake script.
2025-01-05 10:27:32 +11:00
Minderring
4360a7ee7a Tools: add hwdef MicoAir743v2
Update README.md: add bluetooth introduction to features

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

Update README.md: fix description about SERIAL8

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

Update README.md: fix description about RC

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

Update README.md: add description about "LED" pin

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

Update README.md: fix description about Loading Firmware

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

Update README.md: fix description about update firmware

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

remove defaults.parm and defined default params in hwdef file

Update README.md: fix description about osd

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

remove parameter define about serial4

Update README.md: add a section about BlueTooth
2025-01-03 14:24:47 +11:00
Ryan Friedman
e0068ec81c Tools: Install and update necessary xterm fonts for WSL
* WSL is missing the default fonts
* Without this, the xterm font size is unusably small on high DPI
  displays
* xfonts-base is already installed on standard ubuntu versions

Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
2025-01-03 14:22:29 +11:00
Peter Barker
58eb6367e9 autotest: correct diagnostic string
that "f" in front of an f-string is important
2025-01-03 14:19:17 +11:00
Peter Barker
1bc4515a39 Tools: remove MOUNT_CONFIGURE and MOUNT_CONTROL support 2025-01-03 14:18:25 +11:00
muramura
bdacfdc76d AP_Periph: 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
Randy Mackay
e2e7d1df7f Tools: add CADDX gimbal to build server options 2025-01-02 22:18:19 +11:00
Peter Barker
5726c03e38 autotest: improve debug on wait_gps_disable 2025-01-01 09:15:12 +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
Andy Piper
7e8aab1ae8 bootloaders: add 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
mateksys
b0c2d87039 Tools: add MatekG474-GPS bootloader 2024-12-31 09:22:59 +11:00
Henry Wurzburg
b76da82387 Tools: 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
Yuji Sakamoto
8afc5000d8 Tools: add name to GIT_Success.txt 2024-12-29 17:41:21 +11:00
Peter Barker
13f9ad8f8c autotest: add test for return-to-initial-yaw RTL behaviour 2024-12-27 21:32:57 +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
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
Mohammed Lamghari
004d46eb5c Tools: added name to GIT_Success.txt 2024-12-27 07:14:27 +11:00
Iampete1
95d4dc1a0d Tools: AP_Periph: Web: scripts: fix luacheck issue 2024-12-24 14:48:58 -06:00
Iampete1
f213edb50b Tools: autotest: logger_metadata: allow @LoggerEnum to override enum name 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
5695480ab3 Tools: autotest: copter: add test for scripting flip mode 2024-12-24 11:05:56 +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
Vitaliy Nimych
827dc73cf1 board_types.txt: reserve bootloader id for stellar H7V2 2024-12-24 10:45:27 +11:00
Peter Barker
f94a698471 autotest: ensure WATER_DEPTH has correct rate with multiple backends 2024-12-23 10:05:23 +09:00
Michelle Rossouw
106e131591 autotest: Added Copter Smart RTL repeat detection test 2024-12-21 16:32:17 +11:00
Bob Long
3982d576eb autotest: plane: enable ICE frames in FlyEachFrame
Now that starter control is an aux channel, engine commands are no
longer blocked by default, so it's easy to enable ICE frames by adding
an engine start command to the beginning of the missions.
2024-12-19 22:11:00 +11:00
Bob Long
b908f1cb9c autotest: update broken reason for plane-tailsitter 2024-12-19 22:11:00 +11:00
Bob Long
058f66fbe6 autotest: plane: fix flyeachframe param loading
This was previously fixed in copter
2024-12-19 22:11:00 +11:00
Bob Long
726e05afb2 autotest: update SIM_ENGINE_FAIL to mask 2024-12-18 18:06:50 +11:00
Bob Long
dee88b4ecb SITL: default SIM_ENGINE_MUL to 0
This makes SIM_ENGINE_FAIL work a little more intuitively, since it is
usually used to simulate a complete failure.

Also, drive-by fix of the SIM_ENGINE_MUL documentation.
2024-12-18 18:06:50 +11:00
Peter Barker
7c084e9955 autotest: use perfect sim gps to avoid races in frsky test
can't get mavlink and frsky to agree on a value!
2024-12-17 21:31:15 +11:00
Peter Barker
31ec6f66d9 autotest: fix FRSkyPassThroughSensorIDs test
need to clear the read buffers before re-polling sensors - just in case we don't need to!
2024-12-17 21:31:15 +11:00