Commit Graph

9272 Commits

Author SHA1 Message Date
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
Tarik 5ea787a46d Autotest: Modify look_for_wiggle to test for individual servo movements 2024-10-02 17:05:45 +10:00
Peter Barker b73bef5b13 autotest: correct frame in reposition command 2024-10-02 12:10:16 +10:00
Stephen Dade dad98d99eb Tools: Fix message rate setting in tests 2024-10-02 09:22:43 +10:00
Stephen Dade 9042e7de1a Tools: Add test for SET_MESSAGE_INTERVAL limiting 2024-10-02 09:22:43 +10:00
Willian Galvani 1a15e50434 CI: add navigator64 build 2024-10-02 06:18:32 +10:00
Willian Galvani 64b9d0ebea Tools: ardupilotwaf: add entry for 64bit versions of Navigator 2024-10-02 06:18:32 +10:00
Ryan Friedman 9d6190b4fd Tools: Do not use system packages on openSUSE
* We only tested on apt, don't blindly change dev env stuff that's not
  tested in CI

Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
2024-10-01 16:00:56 +10:00
Ryan Friedman 1bdc635ba8 AP_DDS: Implement joystick support
Signed-off-by: Ryan Friedman <ryan.friedman+github@avinc.com>
Co-Authored-by: Tiziano Fiorenzani
2024-10-01 10:46:35 +10:00
Peter Barker 5ab9cda206 autotest: add autotest for invalid battery backend checks 2024-10-01 09:48:13 +10:00
tompsontan c5964ecd35 Tools: add board X-MAV-AP-H743v2
Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>
2024-10-01 09:39:55 +10:00
ARg f3a39105b9 Tools: Migration of ESP32 targets from idf 4.4 to 5.3 consisting of:
- Updated installation scripts of esp-idf toolchain;
- Adding ESP_PLATFORM define to ESP32 targets, it is required to compile FreeRTOS with idf 5.3;
2024-10-01 09:25:35 +10:00
Nick Exton 53877ac986 Tools: Add VIDEO_STREAM_INFORMATION guard to build_options.py 2024-10-01 08:18:54 +09:00