Commit Graph

9326 Commits

Author SHA1 Message Date
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
Andrew Tridgell
7e4a85ba3f autotest: adjust default quadplane tune 2024-11-27 14:07:38 +11:00
Pierre Kancir
5ca1e48040 Tools: build_ci: use /tmp/pip-cache for cache 2024-11-27 09:07:18 +11:00
Pierre Kancir
37c59e224e Tools: autotest: reword WARN to Problem on log link issue to prevent catch by CI 2024-11-27 09:07:18 +11:00
Ryan Friedman
a7bbb1439c Tools: Add tabulate dependency
* Used in filter_size_compare_branches_csv

Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
2024-11-27 08:51:08 +11:00
Mirko Denecke
b7ace6c67b Tools: Add new board ids for UAV-DEV GmbH 2024-11-26 15:42:58 +11:00
Pierre Kancir
bfc94b6e02 Tools: output ccache and diff size output to github action summary 2024-11-26 15:41:03 +11:00
Pierre Kancir
2cd0ac1e35 Tools: move pretty_diff_size to Tools/build_tests 2024-11-26 15:41:03 +11:00
Peter Barker
ef18e9bc84 autotest: add offset_location_heading_distance 2024-11-25 11:37:38 +11:00
Peter Barker
eec8823eb9 autotest: add test for storing many fence items on SD card 2024-11-25 11:37:38 +11:00
Pierre Kancir
a4b27c6c37 Tools: build_ci: disable .profile check on github actions 2024-11-24 06:55:29 +11:00
Pierre Kancir
95a273e18a Tools: build_ci: disable pip root user warning on CI
Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
2024-11-24 06:55:29 +11:00
Pierre Kancir
7980fabeeb Tools: build_ci: disable pip progressbar, use /tmp/pip-cache for cache
prevent :

The directory '/github/home/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
2024-11-24 06:55:29 +11:00
snktshrma
fcd61c38ae Tools: ros2: Added message and dds test for copter takeoff 2024-11-23 09:00:27 +09:00
Peter Barker
d5e33a7026 autotest: remove parameters from SIM-param-whitelist
these are now documented
2024-11-22 20:21:27 +11:00
Alexey Kozin
7937a93094 Tools: f4BY Flight Controller MCU upgrade 2024-11-22 12:05:59 +11:00
Peter Barker
e5439f0901 Tools: logger_metadata: increase diagnostic output on failure 2024-11-22 10:18:31 +11:00
Tiziano Fiorenzani
dff0f6fc2e AP_DDS: pre-arm check service 2024-11-21 15:53:33 +11:00
Tiziano Fiorenzani
a7d9e694bf AP_DDS: Topic to publish current goal 2024-11-21 15:52:17 +11:00
Kinchin Fong
3d7a20d3d4 Tools: Add bootloaders for AET-H743-Basic 2024-11-20 23:55:35 +11:00
bugobliterator
55d8267f3b IO_Firmware: add separate iofirmwares for cubes with profiled over iomcu support 2024-11-20 19:12:44 +11:00
bugobliterator
93d99ece0a Tools:waf: add option to build IOMCU firmware with profiled support 2024-11-20 19:12:44 +11:00
Peter Barker
a6769e003a autotest: increase debug when retrying parameter download 2024-11-20 15:07:45 +11:00
Peter Barker
7b64263562 Tools: add ability to simulate more than 2 GPSs 2024-11-20 15:07:45 +11:00
Stepan Potapov
42b3bec595 board_types.txt: Reserve a board ID for CSKY-PMU 2024-11-20 15:07:03 +11:00
santhoshini
6923c593d0 board_types.txt: New board id added for CrazyF405 FC 2024-11-20 15:06:09 +11:00
Andrew Tridgell
08761e6066 AP_Periph: fixed build with scripting 2024-11-20 07:32:03 +11:00
Andrew Tridgell
c8e61402ec waf: added AP_MultiHeap 2024-11-20 07:32:03 +11:00
Hayden Donald
79b596d229 AP_Periph: Prepare reboot before rebooting via AP_Periph:reboot()
Call AP_Periph:prepare_reboot() before rebooting via AP_Periph:reboot()
2024-11-19 16:08:40 +11:00
Peter Barker
9941313a9d autotest: augment blended test to ensure three GPSs seen 2024-11-19 12:27:10 +11:00
mikefenghao
7cbc4bd4e3 Tools:add bootloader for MFE_POS3_CAN 2024-11-19 12:25:08 +11:00
mikefenghao
69ebf63cb7 AP_Bootloader: Reserve 4 boards ID for MFE_PDB_CAN、MFE_POS3_CAN、MFE_RTK_CAN、MFE_AirSpeed_CAN. 2024-11-19 08:51:36 +11:00
Peter Barker
7ee9a337e1 Tools: waf: build rally and fencepoint protocols in on SITL
so we continue to autotest them
2024-11-18 08:34:08 +11:00
Prashant
62565e6034 Tools: added name to GIT_Success.txt 2024-11-17 17:15:15 +11:00
bugobliterator
44ef597647 .github: add CubeNode-ETH build to CI 2024-11-15 11:25:19 +11:00
bugobliterator
37cfe71257 AP_Periph: add missing mandatory virtual method define for GCS_MAVLink 2024-11-15 11:25:19 +11:00
Peter Barker
3674eb0c49 autotest: tidy GpsForYaw using new infrastructure 2024-11-14 20:08:30 +11:00
Ryan Friedman
8354bedd51 Tools: Recommend what to do when astyle fails
Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
2024-11-14 09:02:21 +11:00
Peter Barker
dce4396430 Tools: make SRV_Channels::cork non-static
for symmetry with the push function
2024-11-13 19:47:49 +11:00
Peter Barker
573b02fc23 AP_Periph: create and use a singleton for SRV_Channels 2024-11-13 19:47:49 +11:00
Peter Barker
fb4b52fae3 Tools: remove handling of HIL_GPS
... per deprecation/removal schedule
2024-11-13 19:41:00 +11:00
Peter Barker
0ce765aac1 Rover: add specific defines for sending of GPS mavlink messages 2024-11-13 19:40:19 +11:00
George Zogopoulos
19bce3b171 autotest: added test for TKOFF_THR_IDLE 2024-11-13 19:32:00 +11:00
Peter Barker
d1674b089a AP_Periph: rearrange apd periph initialiser for --error=reorder 2024-11-13 06:40:37 +11:00
Peter Barker
8a58642cd1 waf: make initialiser reordering fatal
we were bitten by a nasty bug in CAN because of constructor reordering
2024-11-13 06:40:37 +11:00
Jacob Dahl
3e0c0132c8 Tools: scripts: decode_devid.py: added IIM42653 2024-11-13 06:39:29 +11:00
Ryan Friedman
7e7f56df79 Tools: Add mavcesium option to sim_vehicle.py
Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
2024-11-13 06:39:05 +11:00
Peter Barker
be769a6a7f Tools: correct powr_change.py output for accumulated flags 2024-11-13 06:38:39 +11:00
Ryan Friedman
1e7cd71ad6 Tools: Add astyle dependency
Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
2024-11-12 13:01:32 +11:00
Peter Barker
ca424a165d Tools: add entry for Copter advanced failsafe to custom build server 2024-11-12 12:44:34 +11:00
Tiziano Fiorenzani
601d9ef430 AP_DDS: Vehicle status interface 2024-11-12 12:01:45 +11:00
paul.quillen
405401218d AP_DDS: Add set/get parameters service. 2024-11-12 11:56:15 +11:00
Simon Hancock
43272dd9ee autotest: Handle @LoggerEnum tags for #define sets 2024-11-12 11:11:45 +11:00
Peter Barker
500ec85e52 autotest: add test for mount retract on rc failsafe 2024-11-12 11:01:21 +11:00
Hubert
81a30e8d10 AP_Bootloader: ID reserved for MicoAir743AIOv1 2024-11-10 10:28:00 +11:00
John Cudd
863b6222de Tools: Checksum for gcc-arm download on arch prereqs
This will check to see if the tar.bz2 file exists and if it does it will
run a checksum and skip redownloading the file if its already there. If
the checksum fails or the file doesn't exist it will redownload the
file.

I ran into issues with the download taking so long that my sudo
permissions timed out and the install failed to complete. When rerunning
the script it would redownload the file even if the file was already
there. This change solves this issue.
2024-11-09 10:06:26 +11:00
Ryan Friedman
963095978b Tools: Remove format.sh
* This is now replaced by run_astyle.py
* format.sh was not enforced by CI, now there is too much delta on the
  codebase to enforce this

Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
2024-11-09 09:55:10 +11:00
Ryan Friedman
875acec989 Tools: Fix incorrect astyle option
* It should be called add-braces not add-brackets
* https://astyle.sourceforge.net/astyle.html
* Running newer astyle fails on this option
* Enforcing it has no effect on existing astyle-formatted code

Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
2024-11-09 09:53:09 +11:00
Ryan Friedman
057215b719 Tools: Add wsproto to ubuntu python deps
* Used in pymavlink to add websocket output

Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
2024-11-09 09:52:28 +11:00
Rahul5277425
801dfa4266 AP_Bootloader: reserve board ids and range for Karshak Drones
This commit is to reserve the available board ids within the given range
2024-11-09 09:32:46 +11:00
Peter Barker
874d268aa6 Tools: add bebop to Python all-boards list 2024-11-08 16:00:10 +11:00