Commit Graph

9284 Commits

Author SHA1 Message Date
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
Peter Barker 02b0578a6a Tools: strip python2 support from size_compare_branches.py 2024-11-08 15:59:54 +11:00
Mirko Denecke ebba4ac287 AP_Bootloader: Reserve ID range for TM IT-Systemhaus 2024-11-08 11:24:21 +11:00
Patrick José Pereira e4d92ecf9f Tools: ardupilotwaf: Print list of possible groups
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2024-11-08 10:55:38 +11:00
SakuraRC_Yang c709959f4a hwdef: SkySakura H743 fc Support
SkySakura H743 fc Support
2024-11-08 10:50:44 +11:00
Peter Barker 2d08d631de AP_Boootloader: board_types.txt: correct company name for V-UAV reservations 2024-11-08 10:46:56 +11:00
Andy Piper b17f7a5576 bootloaders: TBS LUCID H7 2024-11-07 14:33:38 +00:00
James O'Shannessy 753f9eedef AP_Periph: Fix documentation for INS parameters
Parameters are being generated as `INS_` as the group, so `INS_USE` is actually documented as `INS__USE` (not the double underscore).
2024-11-05 10:05:01 +09:00
Peter Barker e232ccde7d AP_Bootloader: correct compilation when signing enabled
In file included from ../../libraries/AP_CheckFirmware/AP_CheckFirmware.cpp:13:
../../libraries/AP_CheckFirmware/../../Tools/AP_Bootloader/support.h:57:25: error: "CH_CFG_USE_HEAP" is not defined, evaluates to 0 [-Werror=undef]
   57 | #if defined(STM32H7) && CH_CFG_USE_HEAP
      |                         ^~~~~~~~~~~~~~~
compilation terminated due to -Wfatal-errors.
cc1plus: all warnings being treated as errors
2024-11-05 09:35:34 +09:00
Peter Barker 6c643b8d66 autotest: logger_metadata: exempt iofirmware.cpp from checking
uses a macro to generate a value, which makes it problematic from a matching sense
2024-11-05 09:02:27 +09:00
Peter Barker 9e4bdf31b8 Tools: add logger metadata generation to CI 2024-11-05 09:02:27 +09:00
Peter Barker 756df1cfc0 autotest: logger_metadata: flake8 cleanliness 2024-11-05 09:02:27 +09:00
Henry Wurzburg de675641ad Tools:Mugin MUPilot 2024-11-05 08:16:34 +09:00
Ryan Friedman ebfecaddac Tools: Set GPS instance ID in the GPS frame ID
Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
2024-11-01 11:11:41 +09:00
Andy Piper de301dcd23 AP_Bootloader: reserve board ids and range for TBS 2024-10-31 00:06:48 +11:00
Eric Katzfey ab886f1d89 Tools: Frame_params: Added Starling 2 Max params file 2024-10-25 12:35:40 +09:00
bugobliterator b05a6c00b6 AP_Periph: add support for publishing raw imu data 2024-10-23 06:46:22 +09:00
bugobliterator 3e88173847 AP_Bootloader: change board name from CUBEPILOT_CANMOD to CUBENODE 2024-10-23 06:46:22 +09:00
bugobliterator bb1a8a66b0 bootloaders: update CubeNode bootloaders 2024-10-23 06:46:22 +09:00
EREN MERT YİĞİT ef7e39e6c4 Tools: added name to GIT_Success.txt 2024-10-22 19:33:38 +11:00
Peter Barker 8347a86d59 Tools: add --core to solution_status_change.py 2024-10-22 18:20:31 +11:00
Alessandro a22e28cf02 Tools: added name to GIT_Success.txt 2024-10-19 09:52:41 +09:00
bugobliterator 8d3dbd7929 Tools: remove curl from installation as its not needed 2024-10-16 06:42:24 +11:00
Peter Barker ced25ec0d7 Tools: remove use of python (as opposed to python3) 2024-10-15 11:11:38 +11:00
Peter Barker c3affa4e94 autotest: move first landing waypoint further out
pathological conditions can mean we're not lined up correctly afterwards and overshoot
2024-10-11 10:03:41 +11:00
Gone4Dirt bbc2259cff Autotest: Update Autorotation tests for new mode change and bailout methods 2024-10-11 09:54:26 +11:00
MattKear 41694869d5 Autotest: Heli: minor improvements to TurbineCoolDown 2024-10-11 09:54:26 +11:00
MattKear 0281dc3a79 Autotest: Add method for check servo channel in range 2024-10-11 09:54:26 +11:00
Tiziano Fiorenzani 969979cd17 AP_DDS: battery topic to report all the available batteries 2024-10-11 09:53:51 +11:00
Peter Barker b8e84cdcd0 autotest: restart MAVProxy if it exits when running under gdb
this is useful if you are running under GDB and ArduPilot fails early (eg. parameter sanity checks or SITL device configuration issues)
2024-10-11 09:52:26 +11:00
George Zogopoulos ecf11f2208 autotest: Added back-transition throttle test 2024-10-09 19:25:50 +11:00
Peter Barker 39ab13cec4 autotest: quadplane: test AHRS flyFoward flag behaviour 2024-10-09 19:19:29 +11:00
Peter Barker f588e9a230 autotest: add simple test that wind estimates from DCM and EKF3 converge 2024-10-09 10:02:02 +11:00
Ryan Friedman 5f67904d19 Tools: Expose arbitrary waf configure and build args
* This allows someone using colcon full control over the build

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-10-08 20:58:36 +11:00
Thomas Watson 4df758f52a AP_Bootloader: reject allocation of broadcast node ID
It is technically legal to receive an "allocation" of the broadcast node
ID. Fortunately, this was already ignored by `canardSetLocalNodeID`,
though it would trigger an assertion failure if those were enabled.

Fix by rejecting that ID. There is effectively no change in behavior but
the code now correctly ignores that ID and retries the allocation as it
did before.
2024-10-08 11:52:05 +11:00
Nick Exton 2c80c702bc autotest: Add Copter test for AutoYaw with Mount without yaw control 2024-10-08 08:05:27 +09:00
Jonas Niesner 21fc964159 board_types.txt: reservie ID for F4 2-3S 20A AIO FC V1
I want to add full support for this board:
https://betafpv.com/products/f4-2-3s-20a-aio-fc-v1
I have all other files ready but want to reserve a board id first
2024-10-08 08:16:01 +11:00
MattKear 4ce1c5db90 Autotest: Helicopter: Add turbine cooldown test 2024-10-06 14:33:57 +11:00
Randy Mackay e06c9048e0 Tools: add copter pos offset test 2024-10-04 09:25:56 +09:00
Peter Barker e40ae8e649 autotest: install terrain handlers in TerrainLoiter test
needs terrain, was passing because previous tests were providing hte autopilot with the data
2024-10-02 18:10:45 +10:00
Peter Barker 653aff7f8a Tools: split Plane tests into tests1a and tests1b 2024-10-02 18:10:45 +10:00
Peter Barker 23513e3f9a Tools: use /usr/bin/env to find python3
going directly to /usr/bin/python3 means we don't use the venv python
2024-10-02 18:10:34 +10:00
George Zogopoulos 36991de2b8 autotest: Improved takeoff tests
- Also added a ground rolling takeoff test.
- Rebased conflict resolution originating from https://github.com/ArduPilot/ardupilot/pull/28030
2024-10-02 17:09:07 +10:00