Commit Graph

9429 Commits

Author SHA1 Message Date
Iampete1
d4ddea5c64 Tools: autotest: copter: RecordThenPlayMission expect takeoff as first item 2025-01-28 10:30:06 +11:00
Peter Barker
b5ce6f1efd waf: disable battery-balance features on simulated periphs 2025-01-28 09:11:21 +11:00
Peter Barker
b3bc0528e0 Tools: create and use AP_PERIPH_BATTERY_ENABLED
... and AP_PERIPH_BATTERY_BALANCE_ENABLED while we're here
2025-01-28 09:11:21 +11:00
Peter Barker
b4ec9a73ec autotest: point to dotriaconta_octaquad_x setup script in vehicleinfo.py 2025-01-27 14:03:41 +11:00
Peter Barker
f0d6622212 Tools: rename m32 frame to dotriaconta_quad_x 2025-01-27 14:03:41 +11:00
Peter Barker
51a56dc909 autotest: rename dotriaconta_quad_x defaults file 2025-01-27 14:03:41 +11:00
murata
46b1bd6866 autotest: Support Hexadeca-Octa (OCTA-X16) 2025-01-27 14:03:41 +11:00
Peter Barker
00bd5710ab autotest: support installing a script to setup frame motor layout 2025-01-27 14:03:41 +11:00
murata
3b8d1d23dd AP_Periph: support 32 motors in a frame 2025-01-27 14:03:41 +11:00
Andrew Tridgell
843262ca3d autotest: added m32 frame 2025-01-27 14:03:41 +11:00
Cameron
9405cf9c4e Tools: added name to GIT_Success.txt 2025-01-27 11:22:22 +11:00
Peter Barker
00c1f1456e SITL: correct documentation metadata for FETTechOneWireESC and RichenPower and IE24
.... we had documentation for these parameters but it wasn't being used!
2025-01-25 08:10:38 +11:00
Peter Barker
6413da902d autotest: add missing closing-parenthesis
because it is dramatically aesthetically wrong
2025-01-24 19:57:29 +09:00
Jeevan K
24a764c502 Tools : Remove documented params from whitelist 2025-01-24 07:05:51 +11:00
Peter Barker
5269bda748 Tools: exempt kha_eth from bootloader build
no hwdef for this
2025-01-23 17:47:58 +11:00
Peter Barker
04786200c3 Tools: create AP_PERIPH_GPS_ENABLED 2025-01-23 17:47:58 +11:00
Andy Piper
d64cf3ec2d autotest: allow wsl2 networking bridge to be ignored 2025-01-22 18:59:44 +11:00
Gone4Dirt
4343f21a2d Autotest: Heli: Update autorotation tests following restructure
Tools: fix autotest helicopter.py formatting
2025-01-22 18:53:44 +11:00
Andy Piper
98291cd6bd bootloaders: BETAFPV-F405-I2C 2025-01-22 18:27:15 +11:00
Huibean
57e98e2b16 Waf:add --vs-launch 2025-01-22 18:23:57 +11:00
Henry Wurzburg
d7bb1ec359 Tools:reserve bd id for NarinH7 2025-01-22 12:29:56 +11:00
Henry Wurzburg
d59b5a5b40 Tools: mode AUTOLAND enhancements
Co-authored-by: Andrew Tridgell <andrew@tridgell.net>
Co-authored-by: Pete Hall <iampete@hotmail.co.uk>
2025-01-21 11:30:23 +11:00
Thomas Watson
125c64074c ardupilotwaf: fix ESP32 memory zero comment
Followup to PR #29005 (d9e5f2d8a7).
2025-01-20 18:29:35 -06:00
Thomas Watson
949e6bcbba Tools: waf: have boards call superclass initializer
Allows future variables to propagate down to board subclasses.
only build littlefs when hwdef or board calls for it
Avoids issues with build on QURT due to QURT's poor POSIX
implementation.
2025-01-21 11:10:31 +11:00
Andy Piper
7f51f84fc6 waf: disable littlefs debug and asserts 2025-01-21 11:10:31 +11:00
Andy Piper
ce7f4db7ee waf: optionally add littlefs to sitl build options 2025-01-21 11:10:31 +11:00
Andy Piper
d1dd922915 waf: build littlefs filebd 2025-01-21 11:10:31 +11:00
Andy Piper
bc94df6d54 AP_Periph: correct use usage 2025-01-21 11:10:31 +11:00
Andy Piper
514cad3c25 AP_Bootloader: correct use usage 2025-01-21 11:10:31 +11:00
Andy Piper
44ca13c5f3 Replay: account for littlefs when building 2025-01-21 11:10:31 +11:00
Andy Piper
dc9c0fc165 waf: build in littlefs support 2025-01-21 11:10:31 +11:00
Peter Barker
7c101a0846 Replay: add example script for converting from cm to m in RRNI and RRNH messages 2025-01-21 10:54:05 +11:00
Peter Barker
aff20db1a1 autotest: correct copter-tailsitter parameter file for RNGFND1_MIN_CM rename
also fix a race condition in the quadplane-tailsitter test - which is unlikely to ever trigger
2025-01-21 10:54:05 +11:00
Peter Barker
18f95ba41b Tools: allow for more than 327m range rangefinders 2025-01-21 10:54:05 +11:00
Zedd Chen
8e3afa800b bootloaders: add DroneerF405 2025-01-20 17:20:21 +11:00
Zedd Chen
0fc8109a71 AP_Bootloader: add DroneerF405 2025-01-20 17:20:21 +11:00
Jacob Dahl
d8c232d452 Tools: ARK_FPV board support 2025-01-20 10:17:37 +11:00
Andy Piper
201e0e623b bootloaders: TBS LUCID PRO 2025-01-18 15:24:23 +11:00
Jeevan K
f95a8e96a7 Tools: remove sonar_pos param from white list 2025-01-17 08:11:27 +11:00
Vitaliy Nimych
25e1701447 board_types.txt: reserve bootloader id for Stellar F4V2 2025-01-16 15:56:58 +00:00
Jacob Dahl
64bb0ad762 AP_Compass: add IIS2MDC driver 2025-01-15 19:10:16 +11:00
Peter Barker
e7801c1101 Tools: add test for Volz servos 2025-01-15 18:45:45 +11:00
Peter Barker
ed626f57aa Tools: add plane-redundant 2025-01-15 18:45:45 +11:00
Peter Barker
17bfe4ea56 Tools: remove code for sending of BATTERY2 message 2025-01-15 18:16:53 +11:00
Randy Mackay
5be8b19ce4 Tools: param AlphabeticalZeroAtTop handles -1 2025-01-15 14:54:14 +09:00
Hayden Donald
a953cc2019 AP_Periph: Add restart acknowledgement for UAVCAN
There was no acknowledgement for UAVCAN so we add it here
2025-01-15 14:05:48 +11:00
Iampete1
4088ab91c6 Tools: autotest: TestSuite: reboot_check_valgrind_log check file exists before trying to stat it. 2025-01-14 23:26:07 +11:00
Minderring
bbab50115a Tools: add MicoAir743 to manifest generator 2025-01-14 09:21:59 +00:00
Peter Barker
bf54c9c283 Tools: size_compare_branches.py: correct building of bootloader for AP_Periph
we return is_periph on bootloaders built for AP_Periph boards, so we wouldn't build their bootloaders through here
2025-01-14 16:56:42 +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
ca4ffb58a1 autotest: remove misleading and inoperative build_opts lines 2025-01-13 22:14:27 +11:00
mikefenghao
9cb0d8e49e Tools: add hwdef MFE_AirSpeed_CAN 2025-01-11 11:23:11 +11:00
Peter Barker
6264fee765 autotest: add LD06 to ProximitySensor tests 2025-01-09 15:39:34 +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
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