Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tools: Script to fetch online ArduPilot parameter documentation (if n…
…ot 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
- Loading branch information