Commit Graph

9216 Commits

Author SHA1 Message Date
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
Nick Exton 55de48b60a Tools: Add CAMERA_INFO_FROM_SCRIPT guard to build_options.py 2024-10-01 08:18:54 +09:00
Andrew Tridgell 6bf69eb7dc autotest: fixed MAV_CMD_GUIDED_CHANGE_ALTITUDE
need terrain handlers installed to support terrain targets
2024-10-01 07:15:44 +10:00
Andrew Tridgell 068124358f autotest: fixed incorrect use of min/max/accuracy
we were accepting values outside the specified range
2024-10-01 07:15:44 +10:00
Andrew Tridgell f48b0375d8 autotest: improved GliderPullup test
use LOITER_TO_ALT and a landing, allowing for a much better test of
the full glider pullup mission
2024-10-01 07:15:44 +10:00
Andrew Tridgell 834863fdb7 autotest: adjust tests that need full rate logging 2024-10-01 07:15:28 +10:00
Andrew Tridgell 33268bc037 autotest: lower logging rate
we are starting to get huge downloads for autotest failures. High
logging rates rarely help to diagnose an issue, so lower the default
rate when in autotest
2024-10-01 07:15:28 +10:00
Andrew Tridgell ecec9c47b1 autotest: force use of airspeed in GliderPullup 2024-09-29 11:06:05 +10:00
tompsontan ff29580e05 AP_Bootloader:reserve bd id for X-MAV-AP-H743v2 2024-09-29 09:39:36 +10:00
Bob Long 92c6c22051 Tools: autotest: test ICE max starter retry limit 2024-09-27 16:12:28 +10:00
Peter Barker beb4226740 Plane: add test for MAV_CMD_NAV_LOITER_TO_ALT 2024-09-26 20:23:15 +10:00
Robert Taylor 1dfb0f8042 bootloaders: switch CAN port definiton on Nucleo-496 hwdef
The CAN port as it was is a valid CAN port for the nucleo, but on the development board the CAN silkscreen is actually on PD0 and PD1. This change makes it easier to get the example running on the Nucleo
2024-09-26 08:31:50 +10:00
Henry Wurzburg 1830dd6d75 Tools:clean up displayed text for build options 2024-09-25 23:44:38 +10:00
Peter Barker 01bf3fe6a1 autotest: param_metadata.py: emit bitmask as XML sub-element
make it easy for consumers to get at this data.

leaves the old form, so we don't break older consumers
2024-09-25 23:44:14 +10:00
Andy Piper a8ecc2386e autotest: GainBackoffTakeoff test 2024-09-25 17:13:03 +10:00
Peter Barker c7c95e086c AP_Bootloader: correct definition of function to match declaration
only returns a `uint8_t`
2024-09-25 08:48:44 +10:00
muramura 8f5861283b Replay: The number of elements in a char array can be obtained using SIZEOF 2024-09-25 08:46:36 +10:00
timtuxworth fdbbd320a4 Tools: test use Location::AltFrame for guided_state.target_alt_frame 2024-09-24 22:51:02 +10:00
Peter Barker 24df6f1574 Tools: re-order initialiser lines so -Werror=reorder will work 2024-09-24 22:50:28 +10:00
Alexis Guijarro c058fb0c19 AP_Bootloader: Reserve a board ID for 3DR-ASAUAV 2024-09-24 22:49:04 +10:00
Henry Wurzburg dc0984cd65 AP_Bootloader:reserve bd id for Mugin MUPilot 2024-09-24 12:34:56 +10:00
Peter Barker 29a35baf48 AP_Bootloader: add request to fill gaps rather than add to end
the gap between 7,109 and 10,000 may be useful for reserving a range for some other function in the future.  We have vast numbers of IDs in gaps which should be filled instead.
2024-09-24 11:47:41 +10:00
caijie 1ab778cc6f Tools: add VUAV-V7pro 2024-09-24 10:07:39 +10:00
ARg 04ee66bec4 Tools/environment_install: print how to activate venv if not default 2024-09-23 19:24:33 +10:00
Clyde McQueen 8b37100772 autotest: large outliers in sub terrain test have low sq 2024-09-23 19:14:34 +10:00
muramura cb1a156987 Replay: Declare the type of the loop variable and consolidate the processing 2024-09-21 18:10:12 +10:00
Peter Barker 863c3d3140 Tools: build_options.py: add AP_BATTERY_SUM_ENABLED option 2024-09-21 15:28:42 +10:00
cuav-chen2 29176ebabd Tools: Add in BMM350 Driver 2024-09-21 10:08:36 +10:00
AwkAmr 8f4f20dc32 Tools: added name to GIT_Success.txt
Added name.
2024-09-21 10:07:49 +10:00
Tom Pittenger 810e51be0d AP_Bootloader: reserve new board ID for FlysparkF4 2024-09-21 08:36:58 +10:00
muramura 0e72fc7bd2 Replay: Change NULL to nullptr 2024-09-20 10:38:56 +10:00
muramura 36dcadf652 Replay: Change to a Boolean value 2024-09-20 09:20:12 +10:00
Naveen Kumar 3dea20e5d6 Tools: added name to GIT_Success.txt 2024-09-19 19:10:20 +09:00
Peter Barker 35c25be37e Tools: stop invoking setup.py directly
the command-line interface for setup.py is deprecated

See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html
2024-09-19 11:43:03 +10:00
Peter Barker 69f2d0d0c6 Tools: Replay: fix use-after-free in Replay error path 2024-09-19 11:42:50 +10:00
Peter Barker 35a8a04787 waf: add -Werror=use-after-free to CFLAGS and CXXFLAGS 2024-09-19 11:42:50 +10:00
Peter Barker c6491d6b45 CI: build CubeBlack-EKF2 not CubeOrange-EKF2 in CI
we really just care that EKF2 builds here, the board really isn't that important
2024-09-19 11:42:37 +10:00
Rahul 1038b458b5 Tools: build_options.py: add MLX90614 2024-09-18 19:10:01 +10:00
Tsuyoshi Arakawa 03476704ce Tools: added name to GIT_Success.txt 2024-09-18 08:54:47 +10:00
Ryan Friedman 86f51ee5a4 Tools: Remove bionic support for ubuntu setup
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-09-17 22:11:22 +10:00
Thomas Watson a9ea760cad Tools/ardupilotwaf: improve dronecangen dependency tracking
Have the build depend on the input message definition files and the
generator source code so that the code is regenerated if either change.
2024-09-17 10:45:17 +10:00
Ryan Friedman 0cc07ac1ab AP_DDS: Add test for geopose heading
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-09-17 10:32:25 +10:00
Peter Barker 6b7cb893d7 Tool: build_options.py: add missing IST8310 feature 2024-09-17 10:31:27 +10:00
Andy Piper 202de8cc40 autotest: FAST_ATTITUDE looks at ANG now 2024-09-17 10:12:35 +10:00
Andrew Tridgell c23815e705 Tools: rebuild PPPGW bootloaders 2024-09-17 10:02:29 +10:00
Andrew Tridgell 6d94bb8f81 Tools: added build option AP_NETWORKING_CAN_MCAST_ENABLED 2024-09-17 10:02:29 +10:00
Andrew Tridgell ef4fce80fb AP_Bootloader: support CAN multicast server
allows for fw update of network peripheral devices
2024-09-17 10:02:29 +10:00
bugobliterator 27b202e984 AP_Periph: make can broadcast threadsafe, like can_printf call from lua thread 2024-09-16 19:45:24 +10:00
Yuxin Pan a717283c62 Tools: remove baro param from white list 2024-09-16 17:25:02 +10:00
Andrew Tridgell fc2f518934 autotest: added CopterTailsitter test
test rearward rangefinder
2024-09-14 08:39:51 +10:00
Ikko Eltociear Ashimine 78f0e78977 Tools: update param_parse.py
seperator -> separator
2024-09-12 14:55:03 +10:00
Yuxin Pan adc147aba3 Tools: remove params from whiltelist 2024-09-12 06:54:15 +10:00
Andrew Tridgell ef5e3c5662 Tools: use "--enable-PPP" not "--enable-PPP_Support" 2024-09-11 16:11:22 +10:00
Andrew Tridgell bcf19b6d0d Tools: adjust usage of --enable for uppercase names 2024-09-11 16:11:22 +10:00
Andrew Tridgell b2b9226863 waf: allow any custom build option to be specified in waf configure
this makes it easy to configure with any option from build_options.py
2024-09-11 16:11:22 +10:00
Ryan Friedman 236b3e5eb3 Tools: Hotfix missing 3 and linters
* CI was disabled, we missed these

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-09-11 13:54:53 +10:00
Yuxin Pan e7359c12f1 Tools: add some parameter documentation
SITL: vehicle_test_suite.py parameters removal from whitelist

SITL: Add known unit amp hour

SITL: Add known unit Ah

Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
2024-09-11 10:22:22 +10:00