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
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
Eric Katzfey
1ae898d623
Tools: Frame_params: Added parameter set for the ModalAI Sentinel with IO board and PWM ESCs
2024-12-17 11:21:02 +11:00
Peter Barker
535830665c
Tools: stop making python python3
...
this isn't something we should be doing to people's environments
2024-12-17 09:19:20 +11:00
iwashitakirio
8717921c56
board_types.txt: reserve board ID for JFB200
2024-12-17 08:41:00 +11:00
Peter Barker
0630b83478
autotest: test_build_options.py: exempt AP_COMPASS_AK8963_ENABLED from check
...
we recently removed this sensor on CubeOrange, so the test fails
2024-12-16 07:45:41 +11:00
George Zogopoulos
7e3ae6c6e6
autotest: Enabled/edited old test and added new test on home alt reset
2024-12-14 15:46:14 +11:00
Patrick Huesler
b0490d6400
Tools: update install-prepreqs-ubuntu.sh to support Ubuntu 24.10 Oracular
2024-12-14 15:43:16 +11:00
Peter Barker
b5ba09664e
Tools: remove superfluous linefeed from panic strings
...
panic adds this within the HAL layer.
2024-12-14 10:06:13 +11:00
Andy Piper
631c4944ff
scripts: correct runcam build option description
2024-12-13 11:07:09 +00:00
Andy Piper
00c9d013dd
scripts: HAL_RUNCAM_ENABLED -> AP_CAMERA_RUNCAM_ENABLED
2024-12-13 11:07:09 +00:00
Iampete1
a9ecb4428b
Tools: autotest: defualt_params: quadplane: fix yaw rate tune typo.
2024-12-12 21:52:02 +00:00
Andrew Tridgell
6173356b13
autotest: fixed race condition in Copter.MinAltFenceAvoid
2024-12-11 18:58:00 +11:00
Andrew Tridgell
c9e9b13404
autotest: fixed race in MinAltFenceAvoid copter test
2024-12-11 18:58:00 +11:00
Andrew Tridgell
9dc6e1cbea
autotest: update plane switch fence test
...
the FENCE_AUTOENABLE option should be honoured even with a fence
switch in the disable position
2024-12-11 18:58:00 +11:00
Andrew Tridgell
4c40d66d7d
autotest: fixed test suite for FENCE_AUTOENABLE=2
2024-12-11 18:58:00 +11:00
Andrew Tridgell
42ad2a7911
autotest: added non-compass takeoff test
2024-12-11 08:44:15 +11:00
Andrew Tridgell
4f7a1fc81c
Tools: support CANFD log playback in CAN_playback.py
2024-12-11 08:43:56 +11:00
Andrew Tridgell
7023650c69
Tools: added option for CAN logging
2024-12-11 08:43:56 +11:00
Henry Wurzburg
051c2dcd35
Tools: add Plane autoland applet
2024-12-10 13:18:41 +11:00
rishabsingh3003
031b5268a8
autotest: add test for stuck tether simulation
2024-12-10 10:48:00 +11:00
Thomas Watson
a14fb9ab28
AP_HAL_ESP32: regenerate sdkconfig after sdkconfig.defaults change
...
Ensures the sdkconfig does not get out of date as updates are made to
the defaults. The sdkconfig can still be manually changed for testing.
2024-12-10 10:32:47 +11:00
YI-BOYANG
1b51d6ace3
Tools: add GEPRC_TAKER_H743
2024-12-10 10:30:54 +11:00
Andrew Tridgell
60f6a9deec
waf: enable IMU in simulated AP_Periph
2024-12-10 09:29:37 +11:00
Andrew Tridgell
4c0ef40d3b
AP_Periph: fixed IMU in periph
...
wait_for_sample() can't handle very low sample rates without a
separate delay() by a ms value
2024-12-10 09:29:37 +11:00
Andrew Tridgell
7a0af16d6c
Tools: allow PID filtering to be enabled on custom build server
...
we have a small plane with a SpeedyBeedF405Wing, 1M flash, that needs
PID filtering for some structural modes
2024-12-09 07:40:06 +11:00
shen
f9285112a8
Tools: add AEROFOX H7 bootloaders
2024-12-07 18:10:09 +11:00
George Zogopoulos
768b2eabc4
autotest: Created test for unsuccessful takeoff level off
2024-12-04 18:07:30 +11:00
Andy Piper
21106380b3
waf: add rate loop config abstraction that allows code to be elided on non-copter builds
2024-12-04 07:45:05 +11:00
Andy Piper
ba6da82f07
scripts: add AP_INERTIALSENSOR_FAST_SAMPLE_WINDOW_ENABLED to build_options.py and extract_features.py
2024-12-04 07:45:05 +11:00
Andy Piper
31dc7a85bf
autotest: add rate thread autotest
2024-12-04 07:45:05 +11:00
Andrew Tridgell
13807f24d7
AP_Periph: added simulation of DroneCAN servo status
...
allows for testing of DroneCAN servo logging in SITL
2024-12-03 07:38:17 +11:00
Iampete1
a47aaef2b4
Tools: scripts: build options and extract features: add AP_Servo_Telem
2024-12-03 07:38:17 +11:00
Iampete1
b9dd814935
Tools: ardupilotwaf: add AP_Servo_Telem
to common vehicle libraries
2024-12-03 07:38:17 +11:00
Tom Pittenger
5503ac204e
Tools: update WSL2 use in uploader.py
2024-12-02 11:31:35 -08:00
Thomas Watson
da4fee5a9a
autotest: fix testing and simulated register scaling
...
* make test actually test something
* fix scaling to match datasheet values
2024-12-02 10:10:01 -06:00
Thomas Watson
6abbefde12
autotest: allow assertion of mavlink message array elements
2024-12-02 10:10:01 -06:00
Peter Barker
cc4110140c
Tools: add support for ina3221 triple-channel current/voltage sensor
2024-12-02 10:10:01 -06:00
Baris
6efeef9cec
Tools: added name to GIT_Success.txt
2024-12-02 13:11:21 +00:00
George Zogopoulos
646a1a54c2
autotest: Added TECS test for constantly changing home alt
2024-11-27 19:35:03 +11:00
Andrew Tridgell
5c6be69624
Tools: added QUICKTUNE to build options
2024-11-27 14:07:38 +11:00
Michelle Rossouw
cf1a4b6501
autotest: Added Quicktune C++ tests
...
for quadplane and copter
2024-11-27 14:07:38 +11:00