Commit Graph

7310 Commits

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