Commit Graph

9104 Commits

Author SHA1 Message Date
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