Commit Graph

1432 Commits

Author SHA1 Message Date
Nicole Ashley 3763d094f6 Tools: Add i-BUS telemetry to build and feature flags 2024-08-07 14:01:44 +10:00
Peter Barker 7537acd3bc Tools: add build_option.py entry for Plane offboard-guided control 2024-08-06 17:45:17 +10:00
Pradeep CK a6fe130225 Tools: addition of ESC extended status message
- Conditional compilation definition : AP_EXTENDED_ESC_TELEM_ENABLE
 - ESCX log structure
 - Update functionalities for ESCX status message
 - ESCX DroneCAN callback
2024-08-06 10:57:36 +10:00
Peter Barker 54a6344bd3 Tool: build_options.py: add AP_ROVER_ADVANCED_FAILSAFE_ENABLED 2024-08-06 09:38:08 +09:00
YI-BOYANG 50b68b608e scripts: add GEPRCF745BTHD to manifest generator 2024-08-06 09:12:23 +10:00
Iampete1 106068818e Tools: Scripts: cygwin build: remove setting of git safe directory 2024-07-30 11:39:06 +10:00
Peter Barker f3e980d687 Tools: add build option to not send RC_CHANNELS_RAW
we keep this around in case we break old OSD setups
2024-07-30 10:29:58 +10:00
Peter Barker 1b1ca35927 build_options.py: add HAL_WITH_FRSKY_TELEM_BIDIRECTIONAL 2024-07-26 20:12:40 +10:00
aditya f849187333 build_options.py: add winch backends 2024-07-25 17:43:05 +10:00
George Zogopoulos cb044d4718 Tools: Optionally include AP_SIM_GLIDER_ENABLED on SIH 2024-07-24 17:03:48 +10:00
Peter Barker 7f1b7182fb Tools: add AP_RSSI_ENABLED to build_options.py 2024-07-24 09:11:39 +10:00
Willian Galvani 7b5c1f16c1 tools: firmware_version_decoder.py: fix detection for BETA+n firmware 2024-07-22 14:57:47 -03:00
Andrew Tridgell c137586374 Tools: fixed typo in HAGL feature
thanks Peter :-)
2024-07-17 10:26:36 +10:00
Andrew Tridgell 36d85c9349 Tools: added build option for MAVLink HAGL command 2024-07-17 08:03:18 +10:00
Peter Barker bf3a8c0044 Tools: correct sitl-on-hw compilation for boards which constrain sensor counts 2024-07-11 21:24:55 +10:00
Peter Barker 0d12cc7693 Tools: build_options.py: add AP_BARO_PROBE_EXTERNAL_COMPASSES 2024-07-11 09:22:42 +10:00
Randy Mackay dd927e1542 Tools: add build option for Topotek mount 2024-07-09 09:08:51 +10:00
Thomas Watson f5cc0b3093 Tools: add feature/option defs for serial device simulation 2024-06-27 12:00:18 +10:00
Peter Barker 72a1b97b4c Tools: create_OEM_board.py: include line-feeds on include lines 2024-06-26 11:17:47 +10:00
Peter Barker 87909b5187 Tools: create_OEM_board.py: include defaults.parm, don't copy it 2024-06-26 11:17:47 +10:00
Peter Barker cd2a30ccda Tools: make create_OEM_board.py flake8-clean 2024-06-26 11:17:47 +10:00
Dr.-Ing. Amilcar do Carmo Lucas 0bbf62938a Tools: add a script to generate vehicle and version dependent apm.pdef.xml files and rsync them to the autotest server 2024-06-20 14:07:07 +10:00
cuav-chen2 869ef0ee04 AP_Baro: Add in BMP581 Driver 2024-06-17 09:50:47 +10:00
Iampete1 364419be81 AP_Scripting: docs: allow overload of manual bindings to allow documentation of optional arguments 2024-06-04 09:29:49 +10:00
Iampete1 c5cdc46fb7 Tools: scripts: run_lua_language_check.py: allow running on a single file and error is no files are checked 2024-06-04 09:29:49 +10:00
Andrew Tridgell 90ab6adebc CI: added test for new without NEW_NOTHROW 2024-06-04 09:20:21 +10:00
Andrew Tridgell 8f9bf6793b Tools: fixed language checker invocation 2024-05-29 12:56:43 +10:00
Iampete1 061d610965 Tools: Scripts: run_lua_language_check: give hint about github-release-downloader 2024-05-28 10:04:15 +10:00
Andy Piper 60493fd11c scripts: add iomcu-f103-8MHz-dshot to size_copmare_branches.py 2024-05-28 06:56:14 +10:00
burgeruser 1c64682602 IO_Firmware: bi-directional dshot on iomcu F103 8MHz 2024-05-28 06:56:14 +10:00
Peter Barker 7194c6e72e Tools: allow handling of AP_MAVLINK_MSG_HIL_GPS_ENABLED to be compiled out 2024-05-23 09:16:32 +10:00
Iampete1 260bc98d92 Tools: scripts: generate_lua_docs: check for local lua-language-server 2024-05-21 09:42:22 +10:00
Iampete1 5e52c7021a Tools: scripts: run_lua_language_check: grab and install latest release 2024-05-21 09:42:22 +10:00
Iampete1 613074e6e8 Tools: scripts: add lua language check and docs generation 2024-05-21 09:42:22 +10:00
Andrew Tridgell 792fdc2fb8 Tools: specify pymonocypher version in more places
and confirm version when running tools
2024-05-19 10:07:54 +10:00
Andrew Tridgell 40fc2eb91c Tools: use previous release of pymonocypher 2024-05-10 16:17:17 +10:00
Henry Wurzburg ab407f3e27 Tools: add blended GPS build option 2024-05-06 12:22:03 +10:00
Peter Barker 5a2b7c0ab2 Tools: build_options.py: add RPM DroneCAN
.... otherwise no board will compile without dronecan enabled - and some won't build that way
2024-05-03 22:59:18 +10:00
Peter Barker 2746a02187 Tools: build_options.py: note that HereFlow requires DroneCAN 2024-05-03 22:59:18 +10:00
Peter Barker c8bcd35f94 Tools: build_options.py: note extended link stats requires MSP 2024-05-03 22:59:18 +10:00
Andrew Tridgell 45114d8b03 Tools: added serial playback tool
for playing back serial data captured by ArduPilot
2024-05-02 12:17:49 +10:00
haarshitgarg 4c95a3b6ef Tools: enabled sending waypoints from a companion computer to ardupilot for copter and rover
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-05-02 09:08:34 +09:00
Tatsuya Yamaguchi c9f7a3c03d Tools: Scripts: Decode devid: add SCHA63T 2024-04-23 14:15:09 +01:00
Andrew Tridgell 72f87edfb4 Tools: added DroneCAN dependencies
See this report:

https://discuss.ardupilot.org/t/after-upgrading-the-aircraft-version-above-4-4-0-the-parameters-of-mnt-cannot-be-found
2024-04-16 09:23:34 +10:00
Henry Wurzburg f15f23d153 Tools: add MicoAir405Mini 2024-04-16 09:21:23 +10:00
richaravoil d63307f881 Tools : add a script to make an OEM setup 2024-04-10 21:52:39 +10:00
Maxim Buzdalov 5e5fde78c2 Tools: use same-bdshotness boards for ccache test 2024-04-09 10:45:08 +10:00
rmaia 5d427b1b70 Tools: add extended RC link stats OSD fields
Adds RSSI dBm, SNR, LQ, Tx power and active antenna OSD fields
2024-04-02 10:30:24 +11:00
zebulon-86 72120e8d44 Tools: extract_features.py: add AP_RangeFinder_RDS02UF 2024-04-01 16:12:53 +11:00
zebulon-86 b9ede21378 Tools: add rangefinder backends to custom build server options 2024-04-01 16:12:53 +11:00
Henry Wurzburg 6d360ec79c Tools: move somne items in build options to different sections 2024-04-01 16:08:21 +11:00
Andrew Tridgell 4ba151151c CI: added --force to git tags --fetch
needed for new git version after server upgrade
2024-03-23 12:37:58 +11:00
Peter Barker e7bf9d2b57 Tools: size_compare_branches.py: write out some.csv less racily
The current construct wipes the old file before reading and collating the data and writing to the file.  This meant the file was empty a lot of the time...

Formulate the output then write to file....
2024-03-22 19:30:09 +11:00
Peter Barker c17a11b3c8 Tools: shorten labels in build options
long names here push out the display on a generated Wiki page.
2024-03-20 16:26:23 +11:00
Peter Barker 0e4b41baa6 Tools: rename GPS_ to GPS1_ 2024-03-19 19:50:12 +11:00
Peter Barker dcbd2c6782 Tools: allow HarmonicNotches to be compiled out of the code 2024-03-19 07:04:13 +11:00
Andrew Tridgell e019488dcc CI: added a 6X plane build for SOHW 2024-03-18 14:12:25 +11:00
Andrew Tridgell 562da161fe Tools: added HiRes DroneCAN compass as selectable option 2024-03-16 20:10:35 +11:00
Peter Barker 47d4451370 Tools: build_parameters: stop using --sitl option
this option was removed because we now mix the SIM parameters in with everything else.
2024-03-16 06:55:25 +11:00
Minderring a189fe2ecc scripts: add MicoAir405v2 to manifest generator 2024-03-15 13:04:29 +11:00
Andrew Tridgell a654962b4c Tools: added crc32.py 2024-03-13 18:50:29 +11:00
Peter Barker f6e7b9de5b Tools: move AC_Avoidance defines into libraries 2024-03-11 18:07:18 +11:00
olliw42 31e2353c11 Tools: add RC_MAVLINK_RADIO to build options 2024-03-09 10:47:39 +11:00
Henry Wurzburg d657f40a41 Tools: fix logging feature extract 2024-03-07 18:12:53 +11:00
Peter Barker f88d0a7d54 build_ci.sh: do a test build with HAL_LOGGING_ENABLED false 2024-03-06 18:40:34 +11:00
Peter Barker d6df142eaa GCS_MAVLink: allow FTP to be compiled out with build_options.py 2024-03-03 08:38:22 +11:00
Peter Barker 40a0e06db3 Tools: add and use AP_CUSTOMROTATIONS_ENABLED
also add to build_options.py
2024-03-03 08:22:46 +11:00
Andrew Tridgell 03910b8df4 Tools: run examples with SITL 2024-02-28 19:22:14 +11:00
Andrew Tridgell fee5374cb6 Tools: only produce _with_bl.hex not *.hex for vehicle firmware
if we are producing _with_bl.hex then don't also build *.hex as it can
confuse users who think they should flash *.hex with a DFU flashing
tool
2024-02-27 11:24:24 +11:00
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
Simon Hancock e01e697343 Autotest: Generate LogMessages.xml for Sub 2024-02-21 21:05:22 +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
Andrew Tridgell 3668616c53 Tools: added -e to cygwin build
error if any part of build fails

also ensure cygwin build in CI is parallelised
2024-02-16 18:59:32 +11:00
Peter Barker 492bbe4830 Tools: remove HerePro
to be replaced by a HereProAP
2024-02-15 13:42:14 +11:00
Richard Marko 04b46678a4 treewide: fix shebangs - /bin/bash -> /usr/bin/env bash
Most scripts/tools use non-portable `/bin/bash`, switch
to environment agnostic `/usr/bin/env bash`.
2024-02-13 11:36:23 +11:00
Peter Barker 2fe2c3b520 Tools: move RC bits in mavlink to common code
Plane's semantics change to be like Copter. Rover, Sub and Tracker will start reporting the bits
2024-02-10 11:46:44 +11:00
Peter Barker 1e7df560aa Revert "board_list.py: correct autobuild target name"
This reverts commit 039701b616.

This broken builds on the build server.  We should be correcting the other way anyway, from antennatracker -> tracker
2024-02-10 11:46:14 +11:00
Peter Barker 857547ba55 Tools: build_options.py: include fixed-yaw and in-flight learning options 2024-02-06 11:11:27 +11:00
Peter Barker cd1e1273fa Tools: size_compare_branches.py: correct pruning of threads 2024-02-01 14:27:36 +11:00
Peter Barker 039701b616 board_list.py: correct autobuild target name
this has to be the waf target name
2024-02-01 12:31:04 +11:00
Andrew Tridgell bf60a3b385 Tools: added convert_param_scale.py 2024-01-23 15:00:30 +11:00
Peter Barker b35431beb5 Tools: build_options.py: add option for HAL_LOGGING_ENABLED 2024-01-23 11:55:49 +11:00
Andrew Tridgell ebe7fc23b3 Tools: build a web enabled bootloader in CI 2024-01-21 12:30:08 +11:00
Henry Wurzburg 1bac278a38 Tools: add button build server option 2024-01-21 11:51:47 +11:00
Andrew Tridgell fb26452b8d Tools: added linux boards to build sizes web page 2024-01-19 11:41:02 +11:00
Peter Barker 7c52d8b468 build_options.py: add option to force APJ_TOOL parameter area 2024-01-17 18:28:48 +11:00
Peter Barker 3f9062d676 Tools: extend error message when not finding defaults 2024-01-17 18:28:48 +11:00
Peter Barker 0c98369fd5 Tools: remove script which generates MissionPlanner-style xml files
it now uses apm.pdef.xml
2024-01-17 14:10:01 +11:00
Peter Barker a77df87b01 Tools: rename sim_periph_gps to sim_gps_universal, recreate sim_periph_gps 2024-01-16 12:16:35 +11:00
Peter Barker 2ca8cc572c Tools: build_options.py: Ghost telem requires ghost RC 2024-01-15 09:39:41 +11:00
Peter Barker fe30a93602 build_options.py: correct entries for Ghost telem protocol 2024-01-15 09:39:41 +11:00
AndersonRayner d53807cb6c Tools: Update sitl-on-hardware README.md to match new file paths.
The sitl-on-hardware paths have changed.  This updates the readme file to reflect the new file locations.
2024-01-13 13:55:25 -08:00
Siddharth Purohit d278ed3f2c Tools: add bin file when building binaries for Here4FC 2024-01-13 23:03:52 +11:00
Andrew Tridgell 2e8be66353 CI: added Pixhawk6X-PPPGW to CI builds 2024-01-12 19:06:49 -08:00
Peter Barker 34bc01ec71 Tools: size_compare_branches.py: upon process failure write out a file containing diagnostics 2024-01-12 15:23:47 +11:00
Peter Barker 1748711b99 Tools: size_compare_branches.py: restart failed threads 2024-01-12 15:23:47 +11:00
Andy Piper 3c9c4a58b8 scripts: add Ghost protocol to build_options.py 2024-01-10 18:32:53 +11:00
Bob Long eb10b81964 Tools: uploader.py: set write_timeout
This is needed to prevent Windows from hanging when trying to write to
"Standard Serial over Bluetooth" ports.
2024-01-09 01:32:16 -08:00
Andrew Tridgell 40e9b94f58 CI: test sim-on-hw build in CI 2024-01-07 20:51:55 +11:00
Andrew Tridgell 30ad0560f4 Tools: added CAN playback tool
uses frames from lua CAN bus capture and plays back for driver
development
2024-01-07 12:23:39 +11:00