Commit Graph

6828 Commits

Author SHA1 Message Date
Peter Barker
4a015bd479 autotest: fix race condition in mission-end-behaviour test 2022-06-16 21:24:31 +10:00
Peter Barker
57b0d7f235 autotest: change rover default speedup time to 100 2022-06-16 21:24:31 +10:00
Peter Barker
b150c48b5c Tools: add --no-run-with-defaults option to test-build-options script 2022-06-16 17:20:06 +10:00
Peter Barker
7120d4f750 autotest: fix race condition in need-ekf-to-arm check
At extreme speedups we may not detect the reboot in the Python before the autopilot is ready to arm...
2022-06-16 14:53:21 +10:00
Peter Barker
39a0ecbb4b autotest: check rate is configured after we do the rate check
This is just to make sure that the autopilot isn't losing the configuration somehow.
2022-06-16 10:04:08 +10:00
Peter Barker
6fcdea67c3 autotest: tidy hover_and_check_matched_frequency method
- remove pointless elses
 - clarify why a test is failing in exception messages
 - move variable definitions closer to their use
2022-06-15 19:07:34 +10:00
Andrew Tridgell
5a36d7cf0a AP_Periph: fixed non-contiguous mask for ESC telem output
this fixes the case where a peripheral node has an ESCs that are not
starting at the first channel. Reported here:

https://discuss.ardupilot.org/t/using-matekl431-adapters-for-pwm-and-dshot/85781/22

tested on MatekL431-Periph
2022-06-15 18:16:22 +10:00
Randy Mackay
e55fa6ad92 Tools: add build_options for individual mount drivers 2022-06-15 18:08:58 +10:00
Andrew Tridgell
7e4da1ef85 Tools: added Pixhawk6X bootloader 2022-06-15 17:28:40 +10:00
Andy Piper
f828c690e7 bootloaders: add MambaF405-2022 bootloaders 2022-06-15 17:05:41 +10:00
Andy Piper
3db079d15c Tools: add MambaF405 2022 MK4 2022-06-15 17:05:41 +10:00
Randy Mackay
e0ce8035b9 Tools: arduroller balance bot param update 2022-06-15 08:40:12 +09:00
Peter Barker
0697ce19d2 autotest: tidy wait_disarmed 2022-06-15 09:11:51 +10:00
Peter Barker
b18c597f0b autotest: fix race condition in arduplane.py fly_mission
We can lose the final message when we get_sim_time and wait_heartbeats and similar
2022-06-15 09:11:51 +10:00
Chuck Faber
b657d54336 Tools/scripts: Add Sagtech MXS to custom build server 2022-06-14 07:10:17 -07:00
Tom Pittenger
0c7e107157 Tools/waf: Add Sagetech SDK to WAF build 2022-06-14 07:10:17 -07:00
Peter Barker
1b22de0dd9 autotest: fix race condition in deepstall tests 2022-06-14 08:16:03 +10:00
Peter Barker
b550949766 autotest: scale SITL RC input according to speedup
Too slow when running at 100 times speedup
2022-06-13 21:41:41 +10:00
Peter Barker
abc1b7b644 autotest: factor out extract_median_FTN1_PkAvg_from_current_onboard_log 2022-06-13 21:21:30 +10:00
Peter Barker
d6dc0464dd autotest: tidy extraction of FTN1 data from dflogs in fft tests 2022-06-13 21:21:30 +10:00
Peter Barker
1a9470d635 autotest: return hover throttle from hover_for_interval 2022-06-13 21:21:30 +10:00
Peter Barker
ef29350a72 autotest: tidy hovering in fft tests 2022-06-13 12:01:13 +10:00
Peter Barker
fc2c3604e8 autotest: change plane default speedup time to 100 2022-06-12 15:56:53 +10:00
Peter Barker
171bdd9e5b autotest: better diagnostics for mission transfer 2022-06-12 15:56:53 +10:00
Peter Barker
e02d50d0e8 autotest: increase allowed time for mission item download
Because we're involving round-trip times to the Python and back, we need to allow more time to pass on the autopilot when downloading very large missions.  Add a factor based on speedup
2022-06-12 15:56:53 +10:00
Peter Barker
ad4fc316ec autotest: increase sample period for HIGH_LATENCY2 test
Should be useful at higher speedups
2022-06-12 15:56:53 +10:00
Peter Barker
2e0653ef71 autotest: be more lenient with terrain report fetching 2022-06-12 15:56:53 +10:00
Peter Barker
09ab90b8be autotest: fix flapping AirspeedDrivers test 2022-06-12 15:56:53 +10:00
Peter Barker
bb36cedee3 autotest: correct message hook handling
Fun with closures, and not removing hooks soon enough when popping contexts.
2022-06-12 15:56:53 +10:00
Andrew Tridgell
8441f4a130 autotest: fixed FETTec bad mask test
can support up to 15 outputs with FETTec now
2022-06-10 13:46:43 +10:00
Randy Mackay
104e9202af Tools: remove AP_ToshibaCAN from waf 2022-06-10 12:08:05 +09:00
Randy Mackay
b9f4998fd8 AP_Periph: remove ToshibaCAN from param descriptions 2022-06-10 12:08:05 +09:00
Andrew Tridgell
f728894eec AP_Periph: added EFI support 2022-06-09 21:10:37 +10:00
Andrew Tridgell
b7ddcdfb71 Tools: added MatekL431-EFI bootloader 2022-06-09 21:10:37 +10:00
Andrew Tridgell
25d231187f AP_Periph: added RNGFND_MAX_RATE parameter
prevent duplicate samples and allow setting of maximum rate we sample
rangefinder
2022-06-09 16:51:56 +10:00
Andy Piper
3935971e46 Tools: add MambaH743 to manifest generator 2022-06-08 21:44:21 +10:00
Andy Piper
f952fe8a37 AP_Bootloader: add MambaH743v4 board id 2022-06-08 21:44:21 +10:00
Andy Piper
77928b5688 bootloaders: add MambaH743v4 bootloader 2022-06-08 21:44:21 +10:00
Pierre Kancir
02e23302be Tools: fix line ending 2022-06-08 08:16:42 +09:00
Pierre Kancir
df1fa1d615 Tools: vagrant: fix exec permissions 2022-06-08 08:16:42 +09:00
Pierre Kancir
020bd0ba1e Tools: fix exec permission 2022-06-08 08:16:42 +09:00
Pierre Kancir
e99ddb9f52 Tools: completion: fix permissions 2022-06-08 08:16:42 +09:00
Pierre Kancir
e2ce9b388c Tools: fix rstemit.py permission 2022-06-08 08:16:42 +09:00
Pierre Kancir
9f1784a264 Tools: remove old iris_ros.py files 2022-06-08 08:16:42 +09:00
Pierre Kancir
4b67ed808f Tools: logger_metadata: remove useless shebang 2022-06-08 08:16:42 +09:00
Pierre Kancir
5bdc77a5b9 Tools: param_metadata: remove useless shebang 2022-06-08 08:16:42 +09:00
Pierre Kancir
4e2e4fa4d4 Tools: autotest: remove useless shebang 2022-06-08 08:16:42 +09:00
Pierre Kancir
2cca370a74 Tools: ardupilotwaf: remove useless shebang on non exec files 2022-06-08 08:16:42 +09:00
Pierre Kancir
a8a578970b Tools: make printversion executable 2022-06-08 08:16:42 +09:00
Pierre Kancir
5628b8d230 Tools: fix executable permission and trailing whitespace 2022-06-08 08:16:42 +09:00
Andrew Tridgell
f0c3d5129c Tools: cope with change in cygwin build
copy both with and without exe extension
2022-06-07 11:20:03 +10:00
Pradeep
80e2533cf0 AP_Periph: node stats
- Added new config parameter object - STAT
 - init and update statistics
2022-06-07 09:57:32 +10:00
Pradeep
183352cdfe AP_Periph: choose node stats - build files
Added - AP_Stat library and AP_STATS_ENABLED build options
2022-06-07 09:57:32 +10:00
bugobliterator
a30f239069 bootloaders: update CubeOrange and related hardware bootloaders 2022-06-03 16:41:22 +10:00
bugobliterator
c4fe3dec91 bootloaders: update CubeOrangePlus bootloader with correct hwdef 2022-06-03 16:41:22 +10:00
bugobliterator
ca12a621cf bootloaders: update CubeOrangePlus bootloader to use H757 chipset 2022-06-03 16:41:22 +10:00
Andy Piper
f244866329 autotest: add test for FFT continuous averaging 2022-06-01 15:49:32 +01:00
Andrew Tridgell
8f2f770e93 Replay: support set source events 2022-05-31 09:17:37 +10:00
Ruffalo-sunghwan
d8dc73289d Tools: add name to GIT_Success.txt
RuffaloLavoisier (Jeon sunghwan)
2022-05-28 15:03:30 -07:00
Sion Vaughan-Thomas
12e3206ddd Tools: added board IDs for GreenSight boards 2022-05-27 05:51:24 +10:00
Peter Barker
a09e8527ff Tools: build_options.py: disable MSP, UAVCAN, Dummy and ExternalAHRS baro backends by default
Causes build errors as (e.g. ExternalAHRS is disable by default)
2022-05-26 21:45:45 +10:00
ES-Alexander
f6544ca25a Tools: uploader.py: exit with error on failure
- Script was already exiting at this point anyway, this just sets a non-zero program return code in the case of a failure
- Means programatic callers can detect if flashing fails, without needing to monitor (and parse) stdout
2022-05-26 09:30:27 +10:00
Peter Barker
b99c4b3a89 build_options.py: enable baro backends by default 2022-05-25 18:17:49 +10:00
Peter Barker
069fdfae60 autotest: test SITL airspeed sensor backend 2022-05-25 17:52:44 +10:00
Peter Barker
0e9236a116 Tools: build_options.py: fix double-definition of AP_BARO_MSP_ENABLED
Fixes redefinition on custom build server
2022-05-25 17:49:38 +10:00
Pierre Kancir
0e1297177b Tools: fix arch install script 2022-05-25 06:42:57 +10:00
Peter Barker
973b2d11a2 Tools: add parameters to test_build_options.py script
filtering by define name is the most useful bit
2022-05-22 12:11:45 +10:00
Peter Barker
e7d8ad4096 Tools: add baro backend drivers to build options 2022-05-22 12:11:45 +10:00
Peter Barker
c8bc8a8824 Tools: allow baro backends to be individually compiled out 2022-05-22 12:11:45 +10:00
Iampete1
d5e282c5a1 Tools: allow FBWB alt control option in LOITER 2022-05-22 12:09:43 +10:00
Andrew Tridgell
5e184e167c AP_Periph: allow peripherals to handle servos beyond 16 2022-05-22 12:07:37 +10:00
Andrew Tridgell
10d7a559d2 AP_Periph: 32 servo conversion 2022-05-22 12:07:37 +10:00
Peter Barker
24771ab2a4 autotest: fix DO_CHANGE_SPEED autotest
Recent airspeed fixes means we need to give the vehicle more time to achieve the initial airspeed
2022-05-20 09:56:31 +10:00
Randy Mackay
e1d7b81f9d Tools: update holybro s500 default params 2022-05-19 08:39:32 +09:00
Peter Barker
d6504bcaa8 autotest: remove hack to get dual-airspeed-autocal passing 2022-05-18 18:06:18 +10:00
bugobliterator
28f03e64bc AP_Bootloader: add CubeRed and CubeRed IO board types 2022-05-18 15:33:06 +10:00
Peter Barker
4240ad7ae9 autotest: update test for which entry is last in tasks table 2022-05-18 12:25:26 +09:00
Andrew Tridgell
985e24275a autotest: don't try to arm in RTL mode for quadplanes 2022-05-18 06:43:16 +10:00
Andrew Tridgell
895c57562c autotest: adjust DO_CHANGE_SPEED test for EAS2TAS corrections 2022-05-17 19:34:32 +10:00
Andrew Tridgell
7fb38f8b22 autotest: removed SIM_WIND_DELAY 2022-05-17 19:34:32 +10:00
Pierre Kancir
1090a881b0 Tools: environment_install: set python3 as default on ubuntu 2022-05-17 09:27:03 +10:00
Peter Barker
cebb57266d autotest: calibrate two airspeed sensors in-flight 2022-05-16 09:50:52 +10:00
Peter Barker
b8407a4bec autotest: adjust current wp reset 2022-05-15 21:17:50 +10:00
Andrew Tridgell
151f17d563 autotest: reset mission on takeoff for quadplanes 2022-05-15 21:17:50 +10:00
kenking2536
5e528ba7a1 Tools: install aarch64 ARM compiler if required
Co-authored-by: Peter Barker <pbarker@barker.dropbear.id.au>
2022-05-14 21:14:53 +10:00
Peter Barker
287573fff7 autotest: add test for large circle radii in NAV_LOITER_TURNS 2022-05-11 17:40:35 +10:00
Peter Barker
336079ddfa autotest: add test for compass error state logging 2022-05-10 19:46:40 +10:00
Andrew Tridgell
69508804b4 Tools: added Foxtech GreatShark parameters 2022-05-10 15:12:38 +10:00
Andrew Tridgell
38c3c965cb Tools: rename quadplane param files
follws convention used in MissionPlanner for frame file selection
2022-05-10 11:38:52 +10:00
Peter Barker
74ca672caf Tools: add build options for airspeed to custom build server 2022-05-10 09:02:51 +10:00
Andrew Tridgell
bc1ced0779 Tools: added FlyingMoonF427 bootloader 2022-05-08 18:41:39 +10:00
Andrew Tridgell
8cb1519034 Tools: added FlyingMoon407 bootloader 2022-05-08 18:41:39 +10:00
Andrew Tridgell
a27a76c4f5 Tools: added board IDs for FlyingMoon boards 2022-05-08 18:41:39 +10:00
QioTek
f5bae62dbb Tools: added QioTekAdeptF427 and F407 board ID
Tools: added QioTekAdeptF427 and F407 board ID
2022-05-08 06:55:49 +10:00
Andrew Tridgell
6bfaa3ef62 Tools: added notch params for quadplanes 2022-05-05 17:49:24 +10:00
Andrew Tridgell
ab9d13f5dd Tools: added SparkleTech airframes 2022-05-05 17:45:17 +10:00
Peter Barker
b659360d64 autotest: test DO_CHANGE_SPEED mission item for Plane 2022-05-05 10:48:35 +10:00
Andrew Tridgell
bd1df121f8 Tools: added MFD CrossWind VTOL parameters 2022-05-04 17:35:50 +10:00
Andy Piper
0fa0a27c77 autotest: add FFT averaging test.
add harmonic test for FFT averaging
reduce configuration for averaged FFT test
enable harmonic notch in-flight
2022-05-04 17:05:51 +10:00
Peter Barker
b2d811a444 autotest: add test for sensor health logging 2022-05-03 17:38:09 +10:00