Commit Graph

9216 Commits

Author SHA1 Message Date
Peter Barker d6386cc1fd autotest: add test we don't die with bad RC channel for roll 2024-09-10 22:00:50 +10:00
Randy Mackay c3a1e53bfb Tools: add camera-thermal-range build option 2024-09-10 20:59:49 +09:00
Ryan Friedman d18a2b22f9 Tools: Give ardupilot venv access to system packages
* When possible, we can use the apt-installed python packages which are
  ABI stable
* Same for the other OS's that have VENV setup scripts

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-09-10 15:11:00 +10:00
Ryan Friedman d4a62f22e2 Tools: Use apt for pexpect
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-09-10 15:11:00 +10:00
Ryan Friedman 33d75f10e7 Tools: ros2: Add missing dep and improved instructions
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-09-10 12:46:33 +10:00
Ryan Friedman 1f0f41297b Tools: ros2: Add geopose test
* Add missing deps
* Reduce some duplication

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-09-10 12:46:33 +10:00
Thomas Watson dcd34dd39e AP_Periph: clean up node ID parameter handling
Properly document the range and behavior.

Rename storage variable as it doesn't connect to the DNA preferred ID
feature.
2024-09-10 12:36:34 +10:00
Andrew Tridgell a9455ec3d3 waf: fixed app signature in elf files
this fixes an issue when developing for ChibiOS AP_Periph targets
where loading the elf file in gdb doesn't allow it to run as it
doesn't have the correct AP_Periph signature (crc, board type etc)

This patch modifies the elf file to fill in the signature, so when you
load in gdb the bootloader will be able to run the signature checks
and load the firmware
2024-09-10 12:33:45 +10:00
Thomas Watson ebcb753acc AP_Periph: 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
(except possibly fixes using moving baseline GPSes) but the code now
correctly ignores that ID and retries the allocation as it did before.
2024-09-10 12:31:19 +10:00
Andrew Tridgell d27d34987c autotest: added GliderPullup test 2024-09-10 10:15:34 +10:00
Andrew Tridgell c0b89eccd1 Tools: added AP_PLANE_GLIDER_PULLUP_ENABLED feature 2024-09-10 10:15:34 +10:00
Andrew Tridgell ae6376fcd6 autotest: added CommonOrigin test
test EK2 and EK3 common origin
2024-09-10 09:28:50 +10:00
Andy Piper 1ef89d31f2 autotest: static notch test 2024-09-09 09:29:32 +10:00
Peter Barker 1e8e250459 autotest: add test for ahrs-source.lua 2024-09-08 10:02:29 +10:00
Peter Barker 96fe3da083 autotest: assert that if a feature is supposed to be compiled in that it is
The biggest feature here is the massive whitelist.  Many features can be marked as compiled-in but will be elided by the compiler as it isn't called anywhere.  That's OK, but it does mean we can't check for its  presence or absence based on symbols.
2024-09-08 00:55:43 +10:00
Peter Barker 7280ff3ffd autotest: fix flapping TakeoffAuto3 test 2024-09-07 09:40:43 +10:00
Peter Barker ab77509551 Tools: create and use WaitAndMaintainServoChannelValue
allows for checking for "maintain" on servo channel values
2024-09-07 09:40:43 +10:00
Peter Barker d74050c5e3 autotest: tweak takeoff test names to avoid poor summary output 2024-09-07 00:14:21 +10:00
Ryan Friedman c16fee3f47 Tools: ros2: Reformat
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-09-06 21:28:25 +10:00
Andrew Tridgell 1daf92e499 Tools: raise build time limit
our build is taking over 20hrs now, which means it gets killed and
restarted at 20 hours, and if another commit has come in it means that
AP_Periph may never get built at all

raise to 40 hrs
2024-09-06 14:47:05 +10:00
Peter Barker bbdbf33c21 Tools: param_metadata: do not emit Legacy fields to rst/Wiki 2024-09-06 11:52:58 +10:00
Peter Barker adcf5d3503 Tools: Do a CubeOrange build with EKF2 as part of CI
need to build at least one ChibiOS-based board to be sure we haven't killed things
2024-09-06 08:52:01 +10:00
jamming 2675e293ed bootloaders: Add a new target Holybro DroneCAN-pmu 2024-09-06 08:50:20 +10:00
Peter Barker f7e0b9cb89 Tools: size_compare_branches.py: blacklist build of Pixhack-V3 bootloader
we don't have a hwdef-bl.dat for this board as it uses a bootloader from elsewhere.

This should be done on the hwdef content, but that's still coming...
2024-09-06 08:48:30 +10:00
Andy Piper 8b5db8f233 IO_Firmware: update for disable channels 2024-09-04 18:34:10 +10:00
Andy Piper e21e098aa9 IO_Firmware: update to support reversible motors 2024-09-04 18:34:10 +10:00
Peter Barker 4ff6f603b2 autotest: add --enable-fgview option 2024-09-04 14:42:02 +09:00
Фрыман 2a371077e3 Tools: sim_vehicle.py: Added --enable-fgview option in sim_vehicle.py (by @justin-slattery)
Co-authored-by: Peter Barker <pbarker@barker.dropbear.id.au>
2024-09-04 14:42:02 +09:00
Amr Elfeky b450dc3346 Tools: added name to GIT_Success.txt 2024-09-04 14:41:40 +09:00
Andrii Fil d802b0ec9a Tools: support MAV_CMD_EXTERNAL_WIND_ESTIMATE 2024-09-04 10:14:45 +10:00
Kaori Uruga 8d672ca7f8 Tools: fixed airport parameters in Flight Gear shell scripts 2024-09-04 09:49:55 +10:00
Andrew Tridgell 2bb7d11501 Tools: rename bootloader for BotBloxDroneNet 2024-09-04 09:03:56 +10:00
Peter Barker ed512eaabe autotest: add test for logging restart after transfer complete 2024-09-03 11:01:24 +10:00
Andrew Tridgell e934780a29 Tools: rebuild BotBloxSwitch bootloader 2024-09-03 10:41:58 +10:00
Randy Mackay 4bcb3952c3 Tools: siyi image and video download script 2024-09-03 10:15:07 +10:00
Peter Barker a1ff3871f7 autotest: default test-build_options.py to CubeOrange
recent additions of CAN things to hwdef, and the lack of a hardware / lower-level dependency means we need to use something with CAN for now
2024-09-02 11:53:12 +10:00
Peter Barker 46170d7eaa Tools: add EKF3 optical flow fusion to build options 2024-09-02 11:53:12 +10:00
Peter Barker 50dba896ca autotest: AutoContinueOnRCFailsafe extend auto leg to avoid race
saw an instance where it made it to waypoint four before we registered the RC failsafe
2024-09-02 08:29:12 +10:00
Peter Barker 22caa52d58 Tools: build_options.py: OSD_PARAM does not required OSD to build 2024-09-01 13:39:49 +10:00
Peter Barker f050ffa3da autotest: correct and add to the extract_features table
depending on which vehicle we are compilin gfror some symbols may be elided by the compiler, so find other symbols which will work.
2024-09-01 13:39:49 +10:00
Peter Barker 3079ddd1b2 Tools: build_options.py: update feature define whitelist
two of these defines are no longer uses in the codebase, one can't be checked for because there's no symbol for it
2024-09-01 13:39:49 +10:00
Peter Barker 18e1a1f630 Tools: build_options.py: remove some baros from features
these are not probably - if they don't exist in a hwdef already then they can't be included in the build
2024-09-01 13:39:49 +10:00
Peter Barker 790287c1fa Tools: build_options.py: correct some feature dependencies 2024-09-01 13:39:49 +10:00
Peter Barker 4700f09e7d autotest: test_build_options.py: add --resume option 2024-09-01 12:58:50 +10:00
Peter Barker 1439aebf94 autotest: improve diagnostics when receiving unexpected mission ack 2024-08-31 08:16:42 +10:00
Peter Barker 6d844d8c79 autotest: test the simulated rangefinder driver 2024-08-30 11:19:14 +10:00
caijie f8cbd29570 AP_Bootloader: reserve IDs for VIEWPRO 2024-08-30 07:51:02 +09:00
bugobliterator 0dbe9ed27f bootloaders: update PPPGW bootloaders 2024-08-28 18:20:29 +10:00
bugobliterator 8222d65ebe AP_Bootloader: make Content-Length handle case insensitive 2024-08-28 18:20:29 +10:00
George Zogopoulos f7d40c0c73 autotest: Added TKOFF_THR_MIN test 2024-08-28 18:18:55 +10:00
hagerashraf 8d292def15 hwdef: reserve board Ids for DroneBuild boards
I added two new boards to the file, with 10 reserved IDs for DroneBuild drones' boards
2024-08-28 16:26:05 +10:00
CRazy cc182c69e9 AP_Bootloader: ID reserve for HGLRCF405V4 2024-08-27 15:40:02 +10:00
Peter Barker a8b7513287 Tools: build_options.py: sort IMU into single section 2024-08-27 12:00:47 +10:00
Peter Barker bd987aa84b Tools: add build option for batchsampler
also create an IMU category to hold IMU-specific options
2024-08-27 12:00:47 +10:00
Peter Barker c3d89ed9d1 autotest: remove unused parameters from Blimp defaults file 2024-08-27 12:00:03 +10:00
Holden 045059580c Tools: Translate Linux Mint Wilma to Noble 2024-08-27 11:59:53 +10:00
Peter Barker b89256bec4 autotest: add test that jamming simulator works 2024-08-27 11:14:09 +10:00
Willian Galvani 4ec023ac1a Tools: ardupilotwaf: allow automatic upload to BlueOS 2024-08-27 10:25:35 +10:00
Iampete1 44ae148718 Tools: autotest: defualt params: update plane-ice for ICE start stop function 2024-08-27 09:37:34 +10:00
Iampete1 a75a97eb02 Tools: autotest: quadplane: ICE Don't setup ICE start channel its already in model defaults 2024-08-27 09:37:34 +10:00
Peter Barker 14e5fd396a autotest: check altitude in GPSWeightedBlending test 2024-08-27 09:26:06 +10:00
Peter Barker c4fe57d197 autotest: add test for blending while affinity is running 2024-08-27 09:26:06 +10:00
Peter Barker b9158c0491 autotest: remove unused parameters for quadplane-copter-tailsitter 2024-08-27 08:54:10 +10:00
Peter Barker c56439b045 autotest: quadplane-cl84: remove old parameter 2024-08-26 20:41:19 +10:00
Andrew Tridgell fb28e2c24f autotest: added SpringValley4 2024-08-22 08:56:59 +10:00
Andrew Tridgell 5f5d374383 Tools: fixed SpringValley alt 2024-08-22 08:56:47 +10:00
jamming 022b4eed9a hwdef: Add a new target HolybroG4 DroneCAN Airspeed 2024-08-22 08:56:22 +10:00
Andy Piper cdfd89bc1e bootloaders: update KakuteF4-Wing bootloaders for new board id 2024-08-21 12:42:31 +10:00
Andy Piper 6db81885d7 board_types.txt: add AP_HW_Holybro-DroneCAN-Airspeed 2024-08-21 12:42:31 +10:00
Vincent Poon a756268a43 board_types.txt: correct Kakute F4 Wing board ID
Change AP_HW ID to 5406 due to conflict with another product.  The Holybro DroneCAN airspeed sensor uses 5405 and the FW has already been flashed onto actual products.

https://github.com/ArduPilot/ardupilot/pull/27631/files#diff-a720bbf01b6a94de212cea3cb69c06eb00dfb6255f75e4cca8fdba17a43dfa69R357
2024-08-21 12:42:31 +10:00
Andy Piper dcc0be5031 autotest: correct FenceFloorEnabledLanding test 2024-08-21 06:56:41 +10:00
Peter Barker 2e1364e3b0 autotest: include SBF when testing GPS backends work 2024-08-21 06:31:41 +10:00
Peter Barker 21f6e5da71 autotest: augment ClearMission to test clearing from current uploader
in the same way that we allow a link to re-start an upload by sending mission_count, allow a GCS to clear a mission and cancel current upload if it was the one doing the transfer
2024-08-20 20:46:41 +10:00
Ryan Friedman c5484d9d62 Tools: AP_Periph: Add AP_GSOF to libraries
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-08-20 14:50:05 +10:00
Ryan Friedman 724e61fa70 Tools: factor out common library for GSOF
* Add tests too

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-08-20 14:50:05 +10:00
Peter Barker 7037164d08 Tools: make create_OEM_board.py: handle .inc files 2024-08-20 10:47:08 +10:00
Peter Barker 3e50b4cf57 Tools: add test for MAV_CMD_MISSION_START sanity checks 2024-08-20 09:38:43 +10:00
Peter Barker bdea9be7fb Tools: LogAnalyzer: remove
the web-based tools are supplanting this
2024-08-20 09:32:46 +10:00
Iampete1 d5a125a2a9 Tools: ardupilotwaf: boards: enable extended esc telem on sitl_periph_universal 2024-08-20 09:14:11 +10:00
Iampete1 0b551ed7bc AP_Periph: add support for sending extended ESC status 2024-08-20 09:14:11 +10:00
Peter Barker 8e77f859e0 autotest: add test for mission_clear_all message 2024-08-19 19:51:33 +10:00
Pierre Kancir 61bd5e9bae .github: add alpine to environement setup test 2024-08-15 22:33:42 +10:00
Pierre Kancir de85705941 Tools: add alpine initial prereqs script 2024-08-15 22:33:42 +10:00
bugobliterator 0790eb5833 bootloaders: update Cube* and Here* bootloaders 2024-08-15 11:41:21 +10:00
bugobliterator d8df0b716d AP_Bootloader: check ecc error flags only in Flash Status registers 2024-08-15 11:41:21 +10:00
James O'Shannessy 0ec7505e64 scripts: Enable InertialLabs as a build option 2024-08-13 21:32:11 +10:00
Andy Piper 40e7118020 AP_Bootloader: Flywoo H743 Pro 2024-08-13 10:20:15 +10:00
Andy Piper 8e45fb1450 bootloaders: Flywoo H743 Pro 2024-08-13 10:20:15 +10:00
mikefenghao 0f28341a03 bootloaders:add PixPilot-V6PRO bootloaders 2024-08-10 11:06:33 +10:00
Peter Barker 1e4caaec78 autotest: allow max distance on ship test
vehicle moves...
2024-08-10 10:54:20 +10:00
Peter Barker 3963f1b114 autotest: allow reboot_sitl to specify max startup loc dist
useful if your vehicle is on a ship
2024-08-10 10:54:20 +10:00
Peter Barker 5e929e1b39 autotest: poll_message limits polled message to system it was requested from 2024-08-10 10:54:20 +10:00
Peter Barker f3271ce0a6 autotest: add a load_params_file method to take params from test dir 2024-08-10 10:54:20 +10:00
Peter Barker 22360b43a8 autotest: zero throttle when force-rebooting
otherwise we may end up trying to calibrate ESCs...
2024-08-10 10:54:20 +10:00
Peter Barker 33bae74d07 autotest: rename load-parameters method to be more accurate 2024-08-10 10:54:20 +10:00
James O'Shannessy 6ed84a955d scripts: fix missing extract features 2024-08-09 17:56:26 +10:00
James O'Shannessy 154876fcad scripts: Add build options for InertialLabs
The enable flag is AP_EXTERNAL_AHRS_INERTIAL_LABS_ENABLED, but the extract features can only generate based on the class name, which is InertialLabs.
2024-08-09 17:31:27 +10:00
James O'Shannessy 083f9f8139 scripts: Fixed extract_features.py not extracting ExternalAHRS or INS Temp Cal properly 2024-08-09 17:31:27 +10:00
Pierre Kancir 53a6c2d045 Tools: flake8 sitl-on-hw.py 2024-08-08 20:27:14 +10:00
Pierre Kancir 699dfb5385 Tools: improve sitl-on-hw copter handling 2024-08-08 20:27:14 +10:00
Peter Barker f9fde66966 autotest: add test for Battery InternalUseOnly 2024-08-08 09:12:08 +10:00
Andy Piper 48b4e02b08 bootloaders: add KakuteF4-Wing 2024-08-07 17:34:34 +10:00
Andy Piper fa5b898353 AP_Bootloader: add KakuteF4-Wing 2024-08-07 17:34:34 +10:00
Nicole Ashley 7eb9bfc54e autotest: Add IBus test to Arducopter test suite 2024-08-07 14:01:44 +10:00
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 6279f67150 bootloaders: add GEPRCF745BTHD bootloader 2024-08-06 09:12:23 +10:00
YI-BOYANG d54a1e4434 AP_Bootloader: add board id for GEPRCF745BTHD 2024-08-06 09:12:23 +10:00
YI-BOYANG 50b68b608e scripts: add GEPRCF745BTHD to manifest generator 2024-08-06 09:12:23 +10:00
Peter Barker 6c851c4ea3 Tools: rename OFFBOARD_GUIDED to AP_PLANE_OFFBOARD_GUIDED_SLEW_ENABLED
and remove comparison vs ENABLED
2024-08-05 10:20:14 +10:00
Thomas Watson f2f1ac39cf AP_Periph: remove redundant DroneCAN packet buffer initialization
The <msg>_encode method always zeros the buffer up to <msg>_MAX_SIZE
bytes so there is no need to do it before calling the function.

Saves at least 8 bytes per instance.
2024-08-03 19:02:39 +10:00
Thomas Watson 308ee11ca2 AP_Bootloader: remove redundant DroneCAN packet buffer initialization
The <msg>_encode method always zeros the buffer up to <msg>_MAX_SIZE
bytes so there is no need to do it before calling the function.

Saves at least 8 bytes per instance.
2024-08-03 19:02:39 +10:00
EternAlmox 8fd99468fd Tools: added MFT-SEMA100 2024-08-02 18:40:59 +10:00
Peter Barker 6354a8b912 autotest: add test for forced arm/disarm 2024-08-02 16:29:13 +10:00
Peter Barker 8f8e796e00 autotest: add a disabled test for CRUISE maintaining height when home alt changed 2024-08-01 09:53:41 +10:00
Ryan Friedman 2937fce42f Tools: ROS2: Add missing dependencies with docs
* Depend on all messages used in ardupilot_sitl
* Clarify limitations of wrapping with colcon
* Link github issue to support argument passthrough

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-08-01 09:38:50 +10:00
Iampete1 0d30dd1981 Tools: AutoTest: Rover: DriveMission: add a loiter turns waypoint 2024-07-31 20:25:17 +09:00
George Zogopoulos 548b871168 autotest: Added airspeedless takeoff test with stock parameters 2024-07-31 18:23:40 +10:00
Henry Wurzburg 9311344f4b Tools: correct prearm message 2024-07-31 17:01:07 +10:00
Eric Katzfey 4a3dad2f8f Tools: Added pthread library to the link of the QURT build Linux application 2024-07-31 10:00:35 +10:00
“Jane_ZeroOne” 7f0e7ad097 Tools: add ZeroOneX6 2024-07-30 20:07:31 +10:00
Peter Barker 61196b7d04 autotest: add tests for iBus telemetry 2024-07-30 20:00:16 +10:00
Peter Barker 602f5bc61c autotest: correct applet-testing scripts to use contexts for scripts
means we don't leave the script lying around in case of test failure
2024-07-30 11:39:46 +10:00
Iampete1 106068818e Tools: Scripts: cygwin build: remove setting of git safe directory 2024-07-30 11:39:06 +10:00
Peter Barker c47b795f34 board_types.txt: add comment on limiting allocations to 10-at-a-time 2024-07-30 11:38:17 +10:00
rishabsingh3003 6929ae60f9 board_types.txt: Reserving board id for Easy Aerial 2024-07-30 11:38:17 +10:00
Thomas Watson c797baa37b autotest: add test for require() after rescheduling
It can end up broken due to incorrect assumptions about the executed
function's upvalues, which might change after rescheduling.
2024-07-30 10:33:56 +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 b358c503fb autotest: add test for detection of duplicate AuxSw values 2024-07-30 10:28:42 +10:00
Peter Barker 3c1021d208 Tools: add documentation for SIM_ENGINE_FAIL and SIM_ENGINE_MUL 2024-07-30 09:21:26 +09:00
Peter Barker 535f806c96 Tools: make include file mistakes nicer to interpret 2024-07-30 09:57:01 +10:00
Peter Barker f2ec97e4c7 autotest: correct Rover RangeFinder test
for reasons I can't fathom, defaulting the rangefinder state causes problems with the vehicle orientation in SITL - probably a state update fix somewhere.

This test was kind of broken anyway - the RangeFinder was pointing latterally out from the vehicle, but is displayed forward of the vehicle (ther RANGEFINDER mavlink message conveys no orientation information)
2024-07-30 08:42:42 +10:00
Peter Barker f60ecbfe4e autotest: disable PolyFenceObjectAvoidanceBendyRuler as it is unreliable ATM 2024-07-29 20:58:39 +10:00
Peter Barker 2245399ff9 autotest: tidy Rover autotests
autotest: tidy WheelEncoders test

autotest: rover: tidy PolyFenceObjectAvoidance code

autotest: add load_fence_using_mavwp

Also corrects the mission item types being returned by the mission-item-to-misison-item-int converter

autotest: fix Rover PolyFenceAvoidanceBendyRulerEasier test

these tests weren't being run becausethey were disabled based on support for loading fence items from QGC files.

autotest: fix Rover PolyFenceAvoidanceBendyRuler test
2024-07-29 20:58:39 +10:00
Peter Barker d7bc9a420f autotest: tracker; tidy GPSForYaw test 2024-07-29 20:58:39 +10:00
arynrosh 6dae760346 Tools: added name to GIT_Success.txt 2024-07-29 18:33:35 +10:00
George Zogopoulos b5c91a1690 autotest: Converted parameter TKOFF_MODE to TKOFF_OPTIONS 2024-07-29 15:50:32 +10:00
George Zogopoulos 1e6e291b52 autotest: New tests
Autotests for takeoffs have been added for Plane, covering AUTO and
TAKEOFF mode takeoffs.

An auxiliary `set_servo` method has been added to `vehicle_test_suite.py`.
2024-07-29 15:50:32 +10:00
Peter Barker eadc7c0ecc Tools: install_prereqs_ubuntu.sh: pin setuptools to avoid problems on Focal
focal:     return Version(version)
    focal:   File "/home/vagrant/.local/lib/python3.8/site-packages/packaging/version.py", line 202, in __init__
    focal:     raise InvalidVersion(f"Invalid version: '{version}'")
    focal: packaging.version.InvalidVersion: Invalid version: '1.0.3.linux-x86_64'
2024-07-29 15:27:23 +10:00
Peter Barker 07599ba570 Tools: environment_install: install Python packages one-at-a-time
helps to work out which packages are causing problems
2024-07-29 15:27:23 +10:00
cuav-chen2 3267b91160 bootloaders: Add CUAV-7-Nano bootloader 2024-07-29 12:25:53 +10:00
Peter Barker 317c59c709 autotest: tidy various ArduPlane autotests
autotest: tidy Plane TerrainRally test

autotest: tidy Plane TestFlaps test

autotest: tidy Plane ThrottleFailsafe test

autotest: tidy Plane GripperMission test

autotest: tidy Plane FenceStatic test

autotest: tidy Plane FenceRTL tests

autotest: tidy FenceRetRally test

autotest: tidy Plane ahrs2 test

autotest: tidy Plane RangeFinder test

autotest: tidy Plane ADSB test

autotest: tidy Plane LOITER test

autotest: tidy Plane EKFLaneswitch test

autotest: tidy Plane FenceAltCeilFloor test

autotest: tidy Plane FenceMinAltAutoEnable

autotest: tidy Plane FenceMinAltEnableAutoland

autotest: tidy Plane FenceMinAltAutoEnableAbort

autotest: tidy Plane FenceCircleExclusionAutoEnable

autotest: tidy self.homeloc out of MainFlight
2024-07-28 11:53:44 +10:00
Peter Barker f1a1b11830 autotest: tidy Helicopter missions to use new infrastructure
autotest: tidy PosHoldTakeoff heli test

autotest: tidy StabilizeTakeoff heli test

autotest: tidy SplineWaypoint heli test

autotest: tidy ManAutoRotation heli test

autotest: tidy AirspeedDrivers heli test

autotest: tidy PIDNotches heli test
2024-07-27 09:44:41 +10:00
Peter Barker 605a9d34e3 autotest: tidy various Rover autotests
autotest: tidy Sprayer test

autotest: tidy rover AC_Avoidance test

autotest: tidy rover ModeSwitch test

autotest: tidy rover AuxModeSwitch

autotest: tidy rover RCOverrides test

autotest: tidy rover MANUAL_CONTROL test

autotest: tidy rover PolyFenceObjectAvoidance test
2024-07-26 23:43:16 +10:00
CB Unmanned 763292780a Tools: Reserve ID for CBUnmanned CM405 Flight Controller 2024-07-26 20:13:11 +10:00
Peter Barker 1b1ca35927 build_options.py: add HAL_WITH_FRSKY_TELEM_BIDIRECTIONAL 2024-07-26 20:12:40 +10:00
Peter Barker 1f60ca3342 autotest: add SmartRTL test for rapid switch between smartrtl and althold 2024-07-26 20:11:05 +10:00
Peter Barker 82d59f6ba7 autotest: tidy various tests to take advantage of new infrastructure
autotest: clean MotorVibration test for new infrastructure

autotest: clean VisionPosition test for new infrastructure

autotest: clean MotorFail test for new infrastructure

autotest: clean OpticalFlowLimits test for new infrastructure

autotest: tidy OpticalFlow test for new infrastructure

autotest: tidy SetModeViaModeSwitch test for new infrastructure

autotest: tidy SetModesViaAuxSwitch test for new infrastructure

autotest: tidy SplineLastWaypoint test for new infrastructure

autotest: tidy PIDNotches test for new infrastructure

autotest: tidy ThrottleGainBoost test for new infrastructure

autotest: tidy PrecisionLoiterCompanion test for new infrastructure

autotest: tidy BeaconPosition test for new infrastructure
2024-07-26 20:10:49 +10:00
Andy Piper 3c9cf98cca bootloaders: rename 2RAWH743 to IFLIGHT_2RAW_H7 2024-07-26 10:39:38 +10:00
aditya f849187333 build_options.py: add winch backends 2024-07-25 17:43:05 +10:00
Andrew Tridgell 14d94552eb Tools: update BotBloxSwitch bootloader 2024-07-25 10:57:04 +10:00
rishabsingh3003 6a13432a21 AP_Periph: Fix compiling issues with AP_PERIPH_PROBE_CONTIONUS enabled 2024-07-25 10:53:23 +10:00
Clyde McQueen cbef094435 autotest: test mag fusion 2024-07-25 10:52:01 +10:00
Clyde McQueen 872cbc72ff autotest: MAV_CMD_DO_REPOSITION in sub 2024-07-25 10:44:16 +10:00
Luca Pescante 9acd23d196 autotest: use RC6 for tuning 2024-07-25 09:40:13 +10:00
bugobliterator 941f16cd8e bootloaders: update PPPGW bootloaders 2024-07-24 17:47:23 +10:00
bugobliterator e499c2d39f AP_Bootloader: fix stuck in bl on reboot from firmware with network and CAN bootlaoders 2024-07-24 17:47:23 +10:00
bugobliterator 3e8b5ccee4 AP_Bootloader: fix build for STM32H7 without heap
disables ecc check for those boards as well
2024-07-24 17:30:23 +10:00
George Zogopoulos cb044d4718 Tools: Optionally include AP_SIM_GLIDER_ENABLED on SIH 2024-07-24 17:03:48 +10:00
Peter Barker bedc76e0e8 autotest: tidy various tests to take account of new framework capabilities
autotest: simplify AutoDock test

autotest: tidy AP_Proximity_MAV test

autotest: tidy DriveSquare test

autotest: tidy BatteryFailsafe test

autotest: tidy GPSViconSwitching test

autotest: tidy RangeFinder test
2024-07-24 17:01:26 +10:00
Peter Barker 7f1b7182fb Tools: add AP_RSSI_ENABLED to build_options.py 2024-07-24 09:11:39 +10:00
Andy Piper 0b6a1f4fe7 autotest: test for circle exclusion fence using AUTOENABLE=2 2024-07-24 08:24:06 +10:00
Andy Piper b7ce3ff286 autotest: add test for minimum altitude avoidance fence 2024-07-24 08:24:06 +10:00
Andy Piper e30dc2c536 autotest: fix fence autotests
add Plane.FenceMinAltEnableAutoland
test that vehicle can be landed manually after descending below fence floor
2024-07-24 08:24:06 +10:00
Andy Piper c216536a94 autotest: test aborted landing with fence correctly 2024-07-24 08:24:06 +10:00
Andy Piper cedccdb8fe autotest: add test for auto-disabling min alt fence breaches on disarming
clean-up fence manipulation functions and add test for auto-enablement on copter
update tests to have some FENCE_ENABLE tests
add avoidance minimum and maximum altitude fence
add fence switch test while flying
add FenceAutoEnableDisableSwitch for auto mode 2
add more scenarios for plane fence auto-enable
validate fence rc switch behaviour
check fence autoenable by taking off in guided mode
more FENCE_AUTOENABLE tests
add FenceEnableDisableAux and FenceMinAltAutoEnableAbort
2024-07-24 08:24:06 +10:00
Bob Long 230269bed8 HAL_ChibiOS: add adjustable wdg timeout for hwdefs
This allows the watchdog timeout to be adjusted in the hwdef.dat file,
so that critical nodes like ESCs can recover more quickly.
2024-07-23 19:53:38 +10:00
Alex P 0190e70da4 Tools: Reserving board id for Stellar F4 in board_types.txt 2024-07-23 17:01:45 +10:00
Rhys Mainwaring 0272f59d0c Tools: autotest: add rover-omni3mecanum
- Add frame rover-omni3mecanum.
- Remove params with default values.

Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2024-07-23 13:27:04 +10:00
Ben Butterworth 0a9a8d9178 Tools: install-prereqs-ubuntu.sh: fix script after setuptools==71.0.0 release
Use newest `packaging` to avoid packaging incompatibility with `setuptools>=71.0`

As https://github.com/pypa/setuptools/issues/4496#issuecomment-2240322375 mentions:
> setuptools>=71.0 does not work with packaging<24.0, but will not upgrade it if packaging is already installed

Also relevant: https://github.com/pypa/setuptools/issues/4496
2024-07-23 13:22:04 +10:00
Willian Galvani 7b5c1f16c1 tools: firmware_version_decoder.py: fix detection for BETA+n firmware 2024-07-22 14:57:47 -03:00
Peter Barker 57d6815124 autotest: add Mount test for relative yaw 2024-07-21 19:52:10 +10:00
Peter Barker aab1ae4018 autotest: test Solo mount 2024-07-20 22:44:10 +10:00
rushyam 218724a3fe Tools: ros2: correct ros_ws to ros2_ws
ros_ws -> ros2_ws
2024-07-20 20:26:07 +10:00
Stephen Dade 8674bb84a6 Tools: Add skid steering motorboat 2024-07-20 19:10:09 +10:00
Peter Barker 6eeaa10b7e Tools: add test for final-yaw behaviour in Auto mode RTL 2024-07-20 19:03:48 +10:00
Peter Barker 9c10e64168 Tools: add documentation for SIM_ACC?_RND parameters 2024-07-20 13:43:44 +10:00
Peter Barker 2f0f7aa669 autotest: tidy Copter flip test 2024-07-20 09:57:55 +10:00
Eric Katzfey a4bfab8cdc Tools: Added default parameter file for ModalAI D0013 drone 2024-07-20 07:27:53 +10:00
bugobliterator 2ee760e114 bootloaders: update Cube and Here bootloaders 2024-07-17 17:31:15 +10:00
bugobliterator 39c5322133 AP_Bootloader: use malloc_dma to allocate dma safe memory for ecc check 2024-07-17 17:31:15 +10:00
Andrew Tridgell c137586374 Tools: fixed typo in HAGL feature
thanks Peter :-)
2024-07-17 10:26:36 +10:00
Peter Barker 8dcd3986c7 autotest: correct uploading of exclusion circles 2024-07-17 08:33:44 +10:00
Peter Barker 1de60a31b0 autotest: rename do_reposition to send_do_reposition 2024-07-17 08:33:44 +10:00
Andrew Tridgell 36d85c9349 Tools: added build option for MAVLink HAGL command 2024-07-17 08:03:18 +10:00
Andrew Tridgell 39b28a3e7c Tools: setup motor ordering for ModalAI Autonomy DevKit 2024-07-16 10:54:03 +10:00
Iampete1 49e77718ac Tools: autotest: Copter: add battery unhealthy prearm and failsafe test 2024-07-14 17:11:47 +10:00
Andrew Tridgell 07493edb06 Tools: adjust default ModalAI parameters 2024-07-13 14:38:31 +10:00
Andrew Tridgell 38ea100c5f waf: rename QURT host program to "ardupilot" 2024-07-13 14:38:31 +10:00
Andrew Tridgell ef24bedabb Tools: added ModalAI dev kit parameters 2024-07-12 15:56:48 +10:00
Andrew Tridgell af34df2b9f waf: added QURT board target 2024-07-12 15:56:48 +10:00
Andrew Tridgell a136c28122 waf: don't build CAN libraries if CAN not supported 2024-07-12 15:56:48 +10:00
Andrew Tridgell 354a40651d Replay: use AP_Filesystem to load parameter file
fixes replay build with posix compat changes
2024-07-12 15:56:48 +10:00
Willian Galvani bd27edc9f5 autotest: test mag fusion and origin backup
Co-authored-by: Clyde McQueen <clyde@mcqueen.net>
2024-07-11 14:17:54 -03:00
Peter Barker bf3a8c0044 Tools: correct sitl-on-hw compilation for boards which constrain sensor counts 2024-07-11 21:24:55 +10:00
Andrew Tridgell 24a6e6bfa1 waf: Revert "waf: use debug option 3 which records defines as well"
this change made use of gdb so slow it is completely unusable for
ArduPilot. Far too many macros, loading gdb takes forever
2024-07-11 14:20:04 +10:00
emshibuya 0b866a4bec Tools: add name to GIT_Success.txt 2024-07-11 08:45:54 +09:00
Andrew Tridgell 096cfdcb61 waf: fixed ESP32 build 2024-07-11 09:28:17 +10:00