Commit Graph

7348 Commits

Author SHA1 Message Date
Peter Barker 89ecd8fb17 autotest: create a context-per-check whentesting motors blocked
without this all subsequent tests will find the string in the context's collection of statustexts.  So use a context-per-mode
2022-12-27 11:32:19 +11:00
Peter Barker 5a429a9a79 github: macosx: remove github-installed Python symlinks in /usr/local/bin
installing packages fails as symlinks that brew wants to install already exist

https://github.com/orgs/Homebrew/discussions/3895
2022-12-26 14:14:38 +11:00
Peter Barker ec0b51dadd Tools: add --no-merge-base option to size_compare_branches.py 2022-12-24 08:56:49 +11:00
Henry Wurzburg 6348fd5f86 AP_HAL_ChibiOS: free space on ReaperF745 2022-12-23 11:04:35 +11:00
Henry Wurzburg 5cf6bf1520 Tools: rename to ReaperF745 2022-12-23 11:04:35 +11:00
Bredemeier, Fabian (TD-M) 2abfb1bec8 Copter: Simulink Model and init scripts
- arducopter.slx: Simulates ArduCopter Stabilize and Althold controller and optional plant model
- sid_pre.m: Loads *.bin files to Matlab structs
- sid_sim_init.m: Loads signals and parameters from Matlab structure into Simulink model
- sid_controller_validation.m: Validation of the flight controller model with the flight data loaded to the Matlab workspace.
2022-12-23 09:57:21 +11:00
Peter Barker f44a50bdd8 autotest: use epsilon when testing for zero variance in EK3_RNG_USE_HGT 2022-12-22 21:12:39 +11:00
Peter Barker 73d1c28e23 Tools: macos-env: overwrite files when upgrading Python
the 3.10.8 to 3.10.9 upgrade is failing in CI
2022-12-22 14:58:21 +11:00
Randy Mackay 5148698dc8 Tools: correct autotest copter-gimbal .parm 2022-12-22 10:05:44 +11:00
Andrew Tridgell 909a9f77fa Tools: fixed for new openocd syntax 2022-12-21 19:52:31 +11:00
Andrew Tridgell 3a725ad1b0 autotest: removed deprecated distutils
prevent deprecation warning
2022-12-20 11:14:05 +11:00
Leonard Hall aedac8a6d0 Model: Callisto param update Yaw D 2022-12-20 08:48:43 +09:00
Andrew Tridgell 51acbadcec Tools: added MatekL431-BattMon bootloader 2022-12-20 10:44:52 +11:00
Andrew Tridgell 69cb6796f3 AP_Periph: send GNSS Heading message
if not sending RelPosHeading then send Heading message if we have yaw
2022-12-20 10:23:58 +11:00
Andrew Tridgell dcab2d2f2a AP_Periph: cope with GPS without yaw accuracy 2022-12-20 10:23:58 +11:00
Andrew Tridgell 0a518077ca Tools: added C-RTK2-HP bootloader 2022-12-20 10:23:58 +11:00
Andrew Tridgell 26fbd38f2e Tools: added NMEA_UNICORE to build options 2022-12-20 10:23:58 +11:00
Peter Barker 86864ad3a5 Tools: build_options.py: mention that the DPS280 driver also runs the DPS310 2022-12-19 12:11:27 +11:00
Leonard Hall 350e18fb94 Model: Callisto param update 2022-12-19 07:59:48 +09:00
Peter Barker 274ebbaa44 Tools: add instructions on how to get feature-size results
also create a csv file with the sizes in it
2022-12-18 09:19:12 +11:00
alexklimaj 6ddf2e039f hwdef: Add ARK RTK GPS AP Periph 2022-12-17 12:46:22 +11:00
Andrew Tridgell 0bef5a9dab Tools: added HolybroG4Compass board ID 2022-12-17 08:24:28 +11:00
Andrew Tridgell adb0575f79 Tools: added bootloaders for thepeach 2022-12-16 14:16:16 +11:00
MAD-CRAZY-MAN 0afebe66eb Tools: added ThePeach K1/R1 board types 2022-12-16 14:16:16 +11:00
Peter Barker a9e3b37e69 Tools: extract_features.py: add Richenpower define 2022-12-16 11:07:27 +11:00
Peter Barker c95daeea3e autotest: fix race condition in NeedEKFToArm
EKF may still be active when arming is first attempted
2022-12-16 11:06:56 +11:00
LuaTeo 91e859630c Tools: added name to GIT_Success.txt 2022-12-16 07:53:51 +09:00
Peter Barker d438c8e127 AP_Periph: code-generate chan-fetching methods
A recent PR had to change every single one of these methods, which was kind of unfortunate.

So generate the methods using a #define so the duplication happens at preprocessor-time.
2022-12-15 08:31:54 +11:00
Gone4Dirt 01481b2ec4 Autotest: Add copter weathervane tests 2022-12-14 16:08:20 -05:00
rishabsingh3003 27f55ae626 AP_Periph: Add proximity support 2022-12-15 07:20:05 +11:00
Andy Piper 5358b4d8de autotest: add up and down components to baro compensation test 2022-12-14 19:19:58 +11:00
Peter Barker 343b72dc32 waf: whitelist AP_LandingGear_config.h for vehicle-dependant macros 2022-12-14 18:30:23 +11:00
Peter Barker 3c201ae741 Tools: make and use AP_LANDINGGEAR_ENABLED 2022-12-14 18:30:23 +11:00
Peter Barker fc6590fdee Tools: add richenpower generator to build options 2022-12-13 20:18:33 +11:00
Peter Barker b6f1891f9f autotest: add test for loiter-to-alt 2022-12-13 11:41:23 +11:00
Henry Wurzburg 7a3cbf521c Tools: Correct dependencies for CRSF in build options 2022-12-09 09:03:00 +11:00
Peter Barker 237d3f8e3c Tools: move to compiling 64-bit Windows executables
Co-authored-by: davidbuzz@gmail.com
Co-authored-by: robertlong13

cygwin has dropped 32-bit support
2022-12-08 18:03:19 +11:00
Peter Barker 021cb75d5b Tools: autotest: use forced reboot argument 2022-12-06 11:20:08 +11:00
Andrew Tridgell 87c7072d57 Tools: rebuilt bootloaders affected by STORAGE_FLASH_SIZE bug 2022-12-05 15:19:52 +11:00
Andrew Tridgell d9607a0e92 Tools: added --only-bl option to configure_all.py 2022-12-05 15:19:52 +11:00
James O'Shannessy 11ab5e3f3d AP_Periph: Adds a parameter to allow for user configurable timeout
Timeout defaults to 200ms. Timeout can be disabled by setting parameter to 0. Timeout should be configured to be able to handle at small number of missed packets.
2022-12-03 13:55:01 +11:00
James O'Shannessy 4679cb4265 AP_Periph: Add timeout to ESC driving when CAN packets are lost
Fixes a periph continuing to drive an ESC to an output when the esc_rawcommand packets are lost
2022-12-03 13:55:01 +11:00
Peter Barker dfb88839d3 autotest: loosen channel-value constrain in Soaring test
test is flapping here, channel value is moving in right direction
2022-12-02 12:12:32 +11:00
MallikarjunSE e66f23f606 Tools: add board ID for Sierra F1 AP 2022-12-02 09:23:44 +11:00
Andrew Tridgell fc2090161b Tools: added board type for C-RTK2-HP 2022-11-30 10:01:15 +11:00
Peter Barker dcf41f2396 autotest: add additional tests for private channels 2022-11-29 10:32:02 +11:00
Peter Barker d1cff53ba1 autotest: add test for mavlink private-channel 2022-11-29 10:32:02 +11:00
Peter Barker c3efc78f0d autotest: fix warning about deprecated distutils.dir_utils.copy_tree 2022-11-29 10:32:02 +11:00
Wiktor Maslowski 99f6a31188 Tools: fixed builds for ESP32 2022-11-28 12:23:07 +11:00
Andrew Tridgell 76b83c3d57 autotest: fixed aerobatics test for new Schedules location 2022-11-28 10:40:50 +11:00
Andrew Tridgell 2409b69245 autotest: adjust aerobatics test for new airshow schedule 2022-11-28 06:23:29 +11:00
Andrew Tridgell 57fcb91f73 Tools: allocate 1086 for JumperXiake800 2022-11-26 21:28:43 +11:00
Andrew Tridgell fc137d3bdc autotest: update plane-3d SCR params
need more memory for aerobatics
2022-11-26 10:54:39 +11:00
Peter Barker fc767c4f7f Tools: allocate a board ID for AP_HW_JFB100 2022-11-24 08:21:24 +11:00
Henry Wurzburg ef65274b9c Tools: add synthetic current sensor,fix SITL current 2022-11-24 06:53:35 +11:00
Peter Barker ce6763cc91 autotest: add test for Plane MANUAL_CONTROL handling 2022-11-23 19:33:46 +11:00
Peter Barker 65e8f153a3 autotest: add a test for EK3_RNG_USE_HGT 2022-11-23 18:40:58 +11:00
Henry Wurzburg c82df5501f Tools:Add QAUTOTUNE build option 2022-11-22 10:58:03 +11:00
Peter Barker 3a4d2a9403 bootloaders: add bootloader for PixPilot-v6 2022-11-22 07:37:42 +11:00
xiao fad0c84297 Tools: reserve ID for PixPilot-V6 2022-11-22 07:37:42 +11:00
Paul Riseborough 740b7ba041 autotest: allow for reduced overspeed in DO_CHANGE_SPEED_mission plane test
Plane was overspeeding more in legacy TECS which meant it arrived at the test waypoint sooner.
2022-11-18 05:43:59 +11:00
Paul Riseborough 14498001f6 autotest: Reduce flare time advance for plane autotest 2022-11-18 05:43:59 +11:00
bugobliterator 3ec938fae6 waf: add dynamic source option to ap_stlib 2022-11-16 18:05:59 +11:00
bugobliterator 0b3197727a AP_Bootloader: use dronecan_dsdlc generated code instead 2022-11-16 18:05:59 +11:00
bugobliterator e4ada09fc3 waf: use bld for dronecangen export headers for including 2022-11-16 18:05:59 +11:00
Peter Barker 1cfe409189 autotest: tighten tolerances on beacon test
7m is actually pretty much all of the required movement for this fence test!
2022-11-15 18:45:42 +11:00
Peter Barker 7ad1a7c7d4 Tools: allow FRSky to be compiled out 2022-11-15 18:44:45 +11:00
Peter Barker d0ce2ca8f2 autotest: use implicit context for AutoTuneSwitch
the wrapper adds nothing
2022-11-15 16:45:00 +11:00
Peter Barker 658dd2c578 Tools: regularise compass defines
start to make compass backends look like backends from our other libraries
2022-11-15 16:44:38 +11:00
Henry Wurzburg e804b71a79 Tools: blacklist the SkystarsH7HD board,use only bd-shot version 2022-11-15 11:46:47 +11:00
Randy Mackay ef7bb2d4e0 Tools: ArduRoller param file loses ATC_BAL_SPD_FF 2022-11-15 09:00:57 +09:00
Randy Mackay 391bae858b Tools: balancebot test does not set ATC_BAL_SPD_FF
also update autotest balance bot tuning
2022-11-15 09:00:57 +09:00
Peter Barker bac96363f4 autotest: add basic tests for Copter sprayer 2022-11-15 08:45:42 +09:00
Andrew Tridgell 38a9269822 autotest: lower aerobatics speedup to 5 2022-11-12 10:45:18 +11:00
Andrew Tridgell 46d41e5995 autoest: fixed spelling
and adjust max error for aerobatics
2022-11-12 07:34:21 +11:00
Andrew Tridgell 8726962036 autotest: tight turns for plane-3d 2022-11-11 16:00:09 +11:00
Andrew Tridgell f2da06ebdf autotest: adjust aerobatics test for BarrellRoll 2022-11-11 14:19:44 +11:00
Andrew Tridgell 4ab0919d63 autotest: run aerobatics at slower speedup
need more cycles for lua
2022-11-11 08:25:33 +11:00
Andrew Tridgell 0abeca15e2 autotest: added scripting aerobatics test 2022-11-10 13:53:15 +11:00
Andrew Tridgell 98145f7a3f Tools: moved plane-3d.parm to models directory 2022-11-10 10:30:53 +11:00
Peter Barker 9c726b8f68 Tools: change namespace of MultiCopter and FixedWing params
this stops the libraries knowing anything about AP_Vehicle
2022-11-09 19:04:37 +11:00
Peter Barker 8777d68ac1 autotest: drain self.mav while waiting on other link
In the short period of time it takes for us to get organised/draining mavlink connections, the ArduPilot process might block writing to the primary mavlink connection - in which case we'll never get the message we requested.

Should solve

2022-08-31T23:17:43.6904119Z AT-0227.6: waiting for a message - any message....
2022-08-31T23:17:43.6904958Z AT-0227.6: Received (ATTITUDE {time_boot_ms : 3146, roll : 0.00013471684360411018, pitch : -4.076504410477355e-05, yaw : -2.1274349689483643, rollspeed : 6.679168291157112e-05, pitchspeed : 3.297374496469274e-05, yawspeed : 9.125166684498254e-07})
2022-08-31T23:17:43.6905505Z AT-0227.6: Waiting for mission count of (3) from (1:1) to (243:250)
2022-08-31T23:17:43.6905909Z AT-0227.6: Asserted mission count (type=2) is 3 after 0.100000s
2022-08-31T23:17:43.6906252Z AT-0227.6: Get first item on new link
2022-08-31T23:17:43.6906620Z AT-0289.2: Received exception (Did not receive MISSION_ITEM_INT
2022-08-31T23:17:43.6907047Z Traceback (most recent call last):
2022-08-31T23:17:43.6907386Z   File "/__w/ardupilot/ardupilot/Tools/autotest/rover.py", line 3067, in test_rally
2022-08-31T23:17:43.6907719Z     m2 = self.get_mission_item_int_on_link(
2022-08-31T23:17:43.6908080Z   File "/__w/ardupilot/ardupilot/Tools/autotest/rover.py", line 2288, in get_mission_item_int_on_link
2022-08-31T23:17:43.6908469Z     raise NotAchievedException("Did not receive MISSION_ITEM_INT")
2022-08-31T23:17:43.6908841Z common.NotAchievedException: Did not receive MISSION_ITEM_INT
2022-08-31T23:17:43.6909118Z )
2022-08-31T23:17:43.6909468Z AT-0289.2: Exception caught: Did not receive MISSION_ITEM_INT
2022-11-09 09:17:08 +11:00
Lucas De Marchi 175e6d3e7e Tools: Update fram params for skyviper
Set the necessary SERVO*_FUNCTION params so it doesn't conflict.
2022-11-08 08:21:06 +09:00
Peter Barker ab4b508311 Tools: remove OMNIBUSF7V2-bdshot 2022-11-08 09:01:57 +11:00
Peter Barker b3b0abe6c1 Tools: bisect_helper.py: update submodules when bisecting build 2022-11-08 09:01:12 +11:00
Peter Barker 3a859b4173 Tools: fix bisect helper
Python3 made stringification different, showing up this problem
2022-11-08 09:01:12 +11:00
Peter Barker 49ec94af1b autotest: add test for manual throttle control for ICEngine 2022-11-08 08:59:56 +11:00
Peter Barker a5cc8d6da3 AP_HAL_ChibiOS: specify AUTOBUILD_TARGETS for IOMCU
... which is just the iofirmware target
2022-11-06 12:58:18 +11:00
Peter Barker 134f21762f Tools: size_compare_branches.py: add option to build IO firmware 2022-11-06 12:58:18 +11:00
Peter Barker 76e0f59dce Tools: make size_compare_branches.py do all vehicles/all boards 2022-11-05 19:44:35 +11:00
Peter Barker b29a1f4291 Tools: fix Python warning in size_compare_branches.py 2022-11-05 19:44:35 +11:00
Peter Barker 90fc6cfdae Tools: scripts: add environment variables so we get consistent builds 2022-11-05 19:44:35 +11:00
Peter Barker 218409c490 Tools: look for AP_GyroFFT rather than HAL-DSP support 2022-11-05 14:52:10 +11:00
Andrew Tridgell 0fbeff58fc Tools: update plane-3d tune 2022-11-04 07:17:30 +11:00
Andy Piper b4fb355886 scripts: add SpeedyBee F405 v3 to manifest generator 2022-11-02 18:16:33 +00:00
Andy Piper 3a9e9d2c75 bootloaders: add SpeedyBee F405 v3 bootloader 2022-11-02 18:16:33 +00:00
Andy Piper b9b08c79c5 AP_Bootloader: add board id for SpeedyBee F405 v3 2022-11-02 18:16:33 +00:00
Michael du Breuil 58cdf8154a Tools: Support force erase for flash on uploader 2022-11-02 18:43:33 +11:00
Michael du Breuil b846bc9d77 AP_Bootloader: Add support for skipping the cleared flash check 2022-11-02 18:43:33 +11:00
Peter Barker e7509ccf66 waf: remove AP_RunCam.h from vehicle-dependent-header whitelist 2022-11-02 18:35:48 +11:00