Commit Graph

7348 Commits

Author SHA1 Message Date
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
Andrew Tridgell 235fb52113 Tools: fixed filename for AtomRCF405NAVI bl 2022-11-02 15:00:26 +11:00
Peter Barker c9ce6f28b2 Tools: rename parameter name BRD_SAFETYENABLE to BRD_SAFETY_DEFLT 2022-10-26 19:53:03 +11:00
Peter Barker 4249fc04b7 autotest: tidy advanced failsafe test 2022-10-25 11:31:14 +11:00
Tom Pittenger 4e94046a4a AP_Periph: can_printf() to send longer strings using multiple packets 2022-10-23 21:47:42 -07:00
Tom Pittenger 02d92651f0 build_options: can_printf() to send longer strings using multiple packets in AP_Periph 2022-10-23 21:47:42 -07:00
alexklimaj 2ed679f0a8 AP_Baro: BMP390 2022-10-24 07:27:11 +11:00
alexklimaj e5cd25ff98 hwdef: ARKV6X 2022-10-24 07:27:11 +11:00
Peter Barker 6d19f77325 autotest: add missing unpause_sitl() calls 2022-10-22 15:14:55 +11:00
Peter Barker cafce7671d autotest: slow down specific tests so they pass 2022-10-22 15:14:55 +11:00
Peter Barker 02a6f71df4 autotest: change Copter default speedup time to 100 2022-10-22 15:14:55 +11:00
Andrew Tridgell 1596516283 Tools: added new baro types 2022-10-22 08:15:36 +11:00
Willian Galvani 258d1a1e98 Tools: fix MOT_PWM_MIN/MAX for sub params 2022-10-20 23:42:14 -03:00
Andrew Tridgell 2d6080a52a autotest: added plane-3d model and parameters 2022-10-19 23:25:22 +11:00
Peter Barker 117c5df6ca autotest: ensure optical flow mavlink status roughly correct 2022-10-19 21:00:48 +11:00
Peter Barker b5cd149c1d autotest: test setting non-default-streamed message to default interval 2022-10-18 10:11:00 +11:00
Tom Pittenger 3f4755ea7b AP_Periph: add support for AP_TemperatureSensor 2022-10-18 10:05:31 +11:00
Tom Pittenger b4bb5c71ac Tools: Build_options add AP_TEMPERATURE_SENSOR_ENABLED 2022-10-18 10:05:31 +11:00
Joshua Henderson b7672bf124 autotest: sub dive_manual update TSYS01 desired temperature 2022-10-18 10:05:31 +11:00
Tom Pittenger ed5a0557ca ardupilotwaf: common libraries add AP_TemperatureSensor
Co-authored-by: Joshua Henderson <hendjoshsr71@gmail.com>
2022-10-18 10:05:31 +11:00
Andrew Tridgell ee003d7eee autotest: fixed ICE tests to use an IC engine
we need to use quadplane-ice or plane-ice to get a simulated IC engine
the test was just using an electric motor
2022-10-16 06:25:59 +11:00
Andrew Tridgell 3abdc6ad25 waf: added --enable-gps-logging 2022-10-15 17:20:42 +11:00
Peter Barker bacbac798c autotest: add tests for embedded defaults parsing 2022-10-13 14:38:30 +11:00
Tom Pittenger 53e0c4175e AP_Periph: add support for SLCAN 2022-10-11 11:26:40 +11:00
Tom Pittenger 0767640372 AP_Periph: fix periph-heavy build, wscript 2022-10-11 11:20:50 +11:00
Peter Barker e1e35c1a1a build_options.py: CRSFText requires OSD_PARAM 2022-10-11 10:50:13 +11:00
Peter Barker 6cf07e6aa5 build_options.py: Baro externalahrs sensor requires externalahrs 2022-10-11 10:50:13 +11:00
Peter Barker 3c35315e0f Tools: build_options.py: remove Rangefinder SIM backend
This requires AP_SIM_ENABLED, which is not available in build_options.py yet.
2022-10-11 10:50:13 +11:00
Peter Barker 23ec7a15b2 Tools: build_options.py comment out PRU and bebop rangefinders
neither of these are relevant to the ChibiOS builds and the dafult for ChibiOS (disabled) is appropriate.
2022-10-11 10:50:13 +11:00
Peter Barker cfe9208855 Tools: don't enable-in-turn when checking build options
takes forever and takes extra options to pass
2022-10-11 10:50:13 +11:00
Peter Barker e829595594 Tools: build_options.py: add Currawong and DroneCAN to EFI options 2022-10-11 10:50:13 +11:00
Peter Barker 6b3575f9b4 build_options.py: sort by category then label 2022-10-11 10:50:13 +11:00
Peter Barker 3a76d248a0 autotest: add option to test enabling one feature at a time 2022-10-11 10:50:13 +11:00
Peter Barker f3b748bf0b Tools: make emitting nice strings on aux functions a selectable feature 2022-10-11 10:23:19 +11:00
Tom Pittenger 1944894b76 Tools: remove warning for WSL2 --upload on python.exe 3.10.x, it works fine 2022-10-07 09:35:20 -07:00
Andrew Tridgell aaf7e38fdf Tools: added parameters for Foxtech Altair 370
a really interesting and high performance quadplane
2022-10-07 11:27:10 +11:00
Peter Barker 57e28092f3 Tools: extract_features.py: correct python warning 2022-10-07 09:08:22 +11:00
m.kerneis 094a4bdd1f AP_Bootloader: reserve board ID for JHEMCUGF16F405 2022-10-07 08:30:20 +11:00
Andrew Tridgell 14be09d72c autotest: don't try and fly the ICE aircraft
they would need ignition control
2022-10-07 07:53:50 +11:00
Andrew Tridgell 026290a4e1 autotest: make it easier to run a test plane with ICE 2022-10-07 07:53:50 +11:00
Andrew Tridgell 2a7a7eef89 AP_Bootloader: use new check_limit_flash_1M()
use common function
2022-10-06 10:58:46 +11:00
Andrew Tridgell 7a57fc8c5d waf: ensure we don't try to use non-implemented functions 2022-10-06 10:45:49 +11:00
Andrew Tridgell f6dc6d8b8f Tools: added CubePilot to board recognition for uploader.py
for CubeOrangePlus
2022-10-06 10:45:49 +11:00
Andrew Tridgell ded3a60505 Tools: fixed build of bootloaders with debug 2022-10-06 10:31:51 +11:00
Andrew Tridgell 6e310f4e4e CI: test build fmuv3 bootloader in CI
fmuv3 and other 16k bootloaders were broken by a recent change
2022-10-06 10:31:51 +11:00
Peter Barker 3cbd018877 AP_Periph: correct build for EFI can
no longer an array
2022-10-05 18:03:59 +11:00
Henry Wurzburg 96be774733 Tools: update signing readme for correct reversal instructions 2022-10-04 12:28:13 +11:00
Peter Barker 0cd7668258 autotest: correct sub test now gripper is enabled 2022-10-04 10:58:34 +11:00
Peter Barker c9f72f73bc Tools: add AP_GRIPPER_ENABLED 2022-10-04 10:58:34 +11:00
Andrew Tridgell cc6a93d251 Tools: added MatekL431-GPS bootloader 2022-10-03 17:30:59 +11:00
Shiv Tyagi c6b2ab427f autotest: loosen constraints on docking test 2022-10-02 19:18:23 +11:00
Willian Galvani 650e8652a9 Tools: Sub: add test to make sure changing modes does not cause altitude changes 2022-10-01 09:52:56 -03:00
Peter Barker 49b991b92d autotest: use new altitude_source keyword in EKF/GPS test 2022-10-01 08:27:37 +10:00
Willian Galvani fcafd2c685 Tools: attempt to fix Sub flapping test 2022-09-30 15:24:33 -03:00
Randy Mackay 38360b8c7b Tools: custom build server option for Siyi gimbal mount 2022-09-30 15:17:29 +09:00
Andrew Tridgell 0210d7c60c autotest: added a test for EKF lane change in GUIDED
an EKF lane change when the two lanes are using different GPS should
not cause a height change in GUIDED
2022-09-30 07:44:42 +10:00
Andrew Tridgell 9dd2301198 autotest: move do_aux_function to common 2022-09-30 07:44:42 +10:00
Peter Barker 0c5f972ddb autotest: add ability to watch-and-maintain from SIM_STATE.alt 2022-09-29 20:00:01 +10:00
AerofoxTech 83efcc008e Tools: added AeroFix_PMU bootloader 2022-09-29 15:15:36 +10:00
AerofoxTech 19e24bc514 Tools: added AeroFix_PMU board ID 2022-09-29 15:15:36 +10:00
Peter Barker bd364b6169 autotest: specify baudrate for NMEA GPS for testing 2022-09-28 20:53:34 +10:00
Andrew Tridgell aa757501f4 AP_Periph: removed the old DroneCAN Fix message
only send/process Fix2 message, saving bus bandwidth and flash space
2022-09-28 17:27:32 +10:00
Peter Barker 87dfd7f541 autotest: remove use of fstring
breaks under python2
2022-09-28 08:17:02 +10:00
Andrew Tridgell 304d7472ff AP_Periph: update release notes for 1.4.1 2022-09-28 07:24:27 +10:00
Peter Barker 3bf76dbb64 autotest: augment Plane following test to ensure we terrain follow 2022-09-27 21:32:42 +10:00
Andy Piper 267661d555 bootloaders: make sure SkystarsH7HD has functioning VTX on Camera 1 by default 2022-09-27 09:29:43 +10:00
Andy Piper 864da03679 scripts: add CUAV-Nora-bdshot 2022-09-27 09:28:45 +10:00
Andy Piper 19b71b8f83 bootloaders: add CUAV Nora bdshot bootloaders 2022-09-27 09:28:45 +10:00
bugobliterator 10cd1b65c1 Tools: replace hardware id of HereID with Here3Plus 2022-09-27 08:48:48 +10:00
bugobliterator 2c90625291 AP_Bootloader: reserve board id for CubePilot CAN Module 2022-09-27 08:48:48 +10:00
Paul Riseborough 221dc5c4d1 Tools: Use a more typical wind speed for the PitotBlockage autotest 2022-09-26 14:17:53 +10:00
Paul Riseborough 94f791c13e Tolls/autotest: Fix Flake8 style check fails 2022-09-26 14:17:53 +10:00
Paul Riseborough b2e9d01a2e Tools/autotest: fail pitot tube at start of takeoff 2022-09-26 14:17:53 +10:00
Paul Riseborough 2ee8a34f70 Tools/autotest: rework arming and takeoff mode change order
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
2022-09-26 14:17:53 +10:00
Paul Riseborough 235cbbde1c Tools/autotest: Use clearer method of setting parameters
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
2022-09-26 14:17:53 +10:00
Paul Riseborough 5a1f02bbf2 Tools: Python coding style fixes 2022-09-26 14:17:53 +10:00
Paul Riseborough 3bf3a0348a Tools: Add partial unblockage to pitot blockage test 2022-09-26 14:17:53 +10:00
Paul Riseborough d9321d09b3 Tools: Add autotest for pitot tube blockage handling 2022-09-26 14:17:53 +10:00
Andy Piper df216a4800 scripts: add Skystars variants to manifest generator 2022-09-26 08:00:04 +10:00
Andy Piper 7b1ed2e72f bootloaders: add and correct SkystarsH7HD bootloaders 2022-09-26 08:00:04 +10:00
Peter Barker 8e3021e147 autotest: check target system on return mission_item_int packets 2022-09-25 19:25:53 +10:00
Peter Barker f9bc7e44f8 autotest: add a method to easily install message printer 2022-09-22 18:14:49 +10:00
Peter Barker 426f18fb2c Tools: extract_features.py: correct define name for AP_RPM_ENABLED 2022-09-21 22:41:35 +10:00
m 635df2ca45 autotest: check local home location 2022-09-21 15:58:25 +10:00
Peter Barker d3f6d9eaa3 autotest: make proximity sensor test more reliable 2022-09-21 11:58:38 +10:00
Peter Barker 0266d288cd Tools: add AP_CAMERA_ENABLED support 2022-09-21 11:58:38 +10:00
Reilly Callaway b839fb582c Tools: Add kg per cubic meter unit metadata 2022-09-20 15:24:48 +10:00
Iampete1 ef9f5a9552 Tools: autotest: update copter param validation check 2022-09-19 20:57:51 -04:00
Andy Piper 8ee5c8735d AP_Periph: delegate dshot configuration to BLHeli. Make esc telemetry output rate configurable
correct SRV_Channel initialization order to get ESC masks correct
2022-09-20 09:45:03 +10:00
Peter Barker 5aae259fd5 waf: no CANMANAGER on sitl_periph_gps 2022-09-20 09:39:48 +10:00
Peter Barker ac14c3bba6 autotest: make error in test_build_options.py clearer 2022-09-20 09:28:27 +10:00
Peter Barker 845bc15be9 Tools: build_options.py: add options for RPM backends 2022-09-20 09:28:27 +10:00
Peter Barker 267c16cd72 autotest: wait for heartbeat before determining armed state
Fixes a race condition when finishing a mission where we may receive the disarmed text but the most recent heartbeat says we are armed.
2022-09-19 17:52:18 +10:00
Peter Barker 0e9abea655 autotest: explicitly fail reboot if armed 2022-09-19 17:52:18 +10:00
Shiv Tyagi a4c88ab2c0 autotest: use guided mode to move Rover away for Dock test 2022-09-19 17:51:48 +10:00
Peter Barker b5be0dcd14 autotest: correct reboot in failure case for dock mode test
reboot will fail if we are still armed
2022-09-19 09:29:04 +10:00
Peter Barker d4587e787e autotest: add a drive_to_location for Rover 2022-09-19 09:28:39 +10:00
murata 9c52930d87 autotest: Add test "RC not found" 2022-09-15 17:59:37 +10:00
Joshua Henderson cd49f3b6ba Tools: cygwin install script add pexpect 2022-09-15 13:21:50 +10:00
Luiz Georg be9e0aefd8 Autotest: fixes bisect-helper for python 3.10 2022-09-15 10:52:33 +10:00
Peter Barker 25c3665277 Tools: populate sysid/compid in reboot ACK 2022-09-14 20:16:38 +10:00