Commit Graph

33 Commits

Author SHA1 Message Date
Dr.-Ing. Amilcar do Carmo Lucas b6b4c972f9 Tools: Script to fetch online ArduPilot parameter documentation (if not cached) and
add it to the specified file or to all *.param and *.parm files in the specified directory.

1. Checks if a local cache of the XML file exists in the target directory or on the directory of the target file:
 - If it does, the script loads the file content.
 - If it doesn't, the script sends a GET request to the URL to fetch the XML data for the requested vehicle type.
2. Parses the XML data and creates a dictionary of parameter documentation.
3. DELETES all comments that start at the beginning of a line
4. Adds the parameter documentation to the target file or to all *.param,*.parm files in the target directory.

Supports AP_Periph, AntennaTracker, ArduCopter, ArduPlane, ArduSub, Blimp, Heli, Rover and SITL vehicle types
Supports both Mission Planner and MAVProxy file formats
Supports sorting the parameters
Has unit tests with 88% coverage

AP_FLAKE8_CLEAN

Author: Amilcar do Carmo Lucas, IAV GmbH

# Conflicts:
#	.github/workflows/test_unit_tests.yml
2024-02-22 08:31:57 +11:00
Dr.-Ing. Amilcar do Carmo Lucas 74640c9e65 Tools: Extracts parameter default values from an ArduPilot .bin file.
Supports Mission Planner, MAVProxy and QGCS file format output

Contains unittests with 95% coverage

Amilcar do Carmo Lucas, IAV GmbH
2024-02-21 18:24:16 +11:00
Pierre Kancir 879937fffe .github: update actions/checkout to v4 2023-11-22 18:32:19 +11:00
Pierre Kancir aeed2c113c .github: move containers to v0.1.3 to include latest python stuff 2023-11-22 18:32:19 +11:00
Pierre Kancir 63a836e013 .github: move containers to v0.1.1 to include junitparser 2023-11-22 18:32:19 +11:00
Pierre Kancir d620a1905a .github: use ubuntu-22.04 instead of ubuntu-latest 2023-09-07 07:48:31 +10:00
Pierre Kancir 35b2463069 .github: migrate to docker container based on 22.04 2023-09-07 07:48:31 +10:00
Pierre Kancir c1accc7915 .github: move github action to ubuntu22.04
# Conflicts:
#	.github/workflows/test_scripts.yml
2023-09-07 07:48:31 +10:00
Pierre Kancir 17b1a4c387 .github: don't tests everyting for environment tests workflow change 2023-08-23 17:15:56 +10:00
Pierre Kancir 47f8694a6e .github: use fixed revision for docker dev containers 2023-05-18 07:53:52 +10:00
Pierre Kancir c82ebe6e22 .github: add more blacklist for all tests. 2023-05-17 18:36:06 +10:00
Peter Barker 1391892406 .github: run python cleanliness and validate board list only once 2023-03-11 10:49:06 +11:00
Peter Barker 0c2fc6165a .github: add ci action to validate bord list 2023-03-08 11:51:36 -08:00
Pierre Kancir 34518e433f .github: don't duplicate python test with clang 2023-02-04 12:41:06 +11:00
Pierre Kancir a694b68519 .github: fix git directory permissions 2023-02-04 12:41:06 +11:00
Pierre Kancir 5df7e4e32b .github: update rules 2023-02-04 12:41:06 +11:00
Pierre Kancir 161d360dc3 CI: update github action to remove deprecation warnings from logs 2023-01-31 17:58:42 +11:00
Pierre Kancir aa0afcd037 CI: update github actions to prevent nodejs version warning 2023-01-31 17:58:42 +11:00
Andrew Tridgell 54208574f0 CI: use common ccache environment
and enable CCACHE_SLOPPINESS=file_stat_matches
2022-03-02 18:29:00 +11:00
Pierre Kancir 28a2c1be68 .github: use clang/clang++ instead of clang-7/clang++-7
this prevent failures on build_ci.sh
2021-10-01 19:30:43 +10:00
Pierre Kancir 920ccb089f .github: migrate semaphore to github actions 2021-10-01 19:30:43 +10:00
Pierre Kancir 835a8c7fed CI: correct bash string eq test 2021-06-30 19:08:56 +10:00
Pierre Kancir 9f4b76f0ef .github: allow to skip previous CI jobs on PR 2021-06-24 08:29:44 +10:00
Pierre Kancir 76ed53d033 .github: Disable examples tests 2021-03-08 09:30:22 +11:00
Pierre Kancir ca460d8ad1 .github: use augmented bash to display everything on action 2021-03-03 18:07:38 +11:00
Pierre Kancir 7a5a7b1eb5 CI: add examples test 2021-03-03 18:07:38 +11:00
Peter Barker 0a235cc0d1 .github: run Python cleanliness checks 2021-02-18 10:43:05 +11:00
Andrew Tridgell 55de28c0fd CI: added upload of failed builds 2021-02-09 10:09:43 +11:00
Pierre Kancir a564d58dda .github: migrate to ardupilot image 2021-01-06 18:21:37 +11:00
Pierre Kancir 8be9b44923 .github: add manual control on action run 2020-12-30 19:23:29 +11:00
Pierre Kancir f40a5b978e .github: reduce duplicate for GCC and Clang build 2020-11-20 21:27:15 +11:00
Buzz 284fb53f75 autotest: integrate buildlog and BIN artifact uploads 2020-10-24 08:48:45 +11:00
Pierre Kancir ecd25d35f7 .github: add first github action 2020-10-13 11:38:28 +11:00