Peter Barker
208554d402
autotest: correct diagnostic message
2022-06-29 21:03:42 +10:00
Peter Barker
f6816f38dc
autotest: add timeout in drain_mav
...
At large speedups we can create more telemetry than we can consume. Detect that and raise an exception, assuming we should be able to drain anything within 2 minutes
2022-06-29 21:03:42 +10:00
Peter Barker
ef0f5110cb
autotest: set Rover speedup to 30
...
This is closer to what's achieved on modern CPUs.
Running at 100 can lead to very rapid RC inputs which can cause issues.
2022-06-29 21:02:27 +10:00
Peter Barker
b6f7887182
Tools: remove non-functional FRSKY_TELEM_ENABLED define
2022-06-29 10:59:50 +09:00
Andrew Tridgell
a554ac3500
Tools: added log scale option to FilterTool
2022-06-26 18:08:32 +10:00
Andrew Tridgell
7b8da9385d
Tools: load FLTD from RLL_FLTD in FilterTool
2022-06-26 18:08:32 +10:00
Randy Mackay
66f1603aea
Tools: autotest default params for sub use MNT_RC_RATE
2022-06-21 13:37:11 +09:00
Randy Mackay
1a5216aaee
Tools: autotest for mount sets MNT_RC_RATE
2022-06-21 13:37:11 +09:00
Andrew Tridgell
3a6b153d55
Tools: added filter tool to web-firmware
...
makes it easier others to PR changes to improve the tool
2022-06-18 09:34:50 +10:00
Peter Barker
08ae4f050c
autotest: fix race condition in button test
...
The subsequent test could end up arming the vehicle based on this left-over state.
2022-06-16 21:24:31 +10:00
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
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
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
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
5628b8d230
Tools: fix executable permission and trailing whitespace
2022-06-08 08:16:42 +09:00
Andy Piper
f244866329
autotest: add test for FFT continuous averaging
2022-06-01 15:49:32 +01:00
Peter Barker
069fdfae60
autotest: test SITL airspeed sensor backend
2022-05-25 17:52:44 +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
Iampete1
d5e282c5a1
Tools: allow FBWB alt control option in LOITER
2022-05-22 12:09:43 +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
Peter Barker
d6504bcaa8
autotest: remove hack to get dual-airspeed-autocal passing
2022-05-18 18:06:18 +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
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
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
Peter Barker
b659360d64
autotest: test DO_CHANGE_SPEED mission item for Plane
2022-05-05 10:48:35 +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
Iampete1
73dfcfb7d9
Tools: autotest: models: Callisto.json: add number of motors
2022-05-03 10:03:07 +10:00
Andy Piper
67aecea4c1
autotest: remove fast_loop tasks test
2022-05-03 08:20:13 +09:00
Rhys Mainwaring
6d7086a8ad
Tools: change terminal to current dir if using osascript in run_in_terminal_window.sh
...
- Ensure the spawned terminal has the same pwd as the calling script to allow SITL to resolve relative paths
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2022-05-02 11:28:12 +10:00
Mirko Denecke
4c727eca60
Tools: fix auxiliary typo
2022-05-02 10:55:08 +10:00
Peter Barker
876cc77808
autotest: fix Rover syntax for Python2
...
Apparently ** is Python3-only
2022-04-24 14:21:45 +09:00
Peter Barker
43b5f22c1a
autotest: add test for avoidance resume-auto-or-loiter action
2022-04-21 06:59:39 +10:00
Peter Barker
1340132f6f
autotest: add rangefinder test
2022-04-19 10:26:10 +10:00
Peter Barker
ecd5cb21fc
autotest: tidy richenpower test using new methods
2022-04-18 12:41:45 +10:00
Andrew Tridgell
db9d796dd4
Tools: update for changed INS_NOTCH parameter name
2022-04-16 08:14:06 +10:00
Peter Barker
fe740681af
autotest: test_build_options.py: undef variables before setting them
2022-04-15 12:37:26 +10:00
Willian Galvani
cb4f5ac578
Autotest: Sub: tweak params
2022-04-13 16:23:55 -03:00
Willian Galvani
c63d12b6c9
Autotest: Sub: fix sub tests for new althold implementation
...
With this implementation (same as copter's) 1450 is within the pilot deadzone,
which breaks the test.
2022-04-13 16:23:55 -03:00
Willian Galvani
81cd49213a
Autotest: Sub: tighten default watch_altitude_maintened delta
2022-04-13 16:23:55 -03:00
Willian Galvani
e23e2cb63f
Autotest: Sub: Add depth hold cases of large buoyancies and small inputs
2022-04-13 16:23:55 -03:00
Peter Barker
c33f6f3a8d
autotest: add tests to ensure we get BCN, RPM and PRX/PRXR log msgs
2022-04-13 16:22:19 +10:00
Henry Wurzburg
98aec61899
Tools: add airspeed defaults to vehicle defaults files
2022-04-12 09:53:01 +10:00
Andrew Tridgell
2b2cac3f19
autotest: fixed annoying gdb pagination on reboot
2022-04-08 09:00:22 +10:00
Peter Barker
7c526d52fe
autotest: correct streaming-boolean bug for parsing of log structures from code
2022-04-06 21:54:15 +10:00
Peter Barker
55d0cf4b03
autotest: add diagnostics for log parse issues
2022-04-06 21:54:15 +10:00
Peter Barker
9f7ae1ee96
autotest: extract ids and message infos per-file, not on aggregate
...
Will allow for better diagnostics when something goes wrong
2022-04-06 21:54:15 +10:00
Peter Barker
582eed12bf
autotest: correct extraction of fields from LogWrite messages
2022-04-05 17:57:40 +10:00
Peter Barker
2fb1bde457
autotest: add test for earth-frame-accel
2022-04-03 11:41:09 +10:00
Peter Barker
62fe90caa1
autotest: add more convenience methods for checking received data
2022-04-03 09:35:09 +10:00
Henry Wurzburg
3cc75ecd38
Tools: add blimp as vehicle option in sim_vehicle
2022-04-02 14:58:53 +11:00
Randy Mackay
b6af126514
Tools: relax rover sprayer test
...
vehicle's speed is slightly lower when using SCurve navigation
2022-03-30 15:34:14 +09:00
Randy Mackay
ea5e3a8ae0
Tools: rover autotests send position-target-global-int more slowly
...
SCurves do not work with very fast changes of target
2022-03-30 15:34:14 +09:00
Randy Mackay
8ff6972b7e
Tools: rover autotest DriveRTL timeout increased by 10sec
2022-03-30 15:34:14 +09:00
Peter Barker
05be2ac8c9
autotest: print mag cal progress messages when testing mag cal
2022-03-26 11:17:14 +11:00
Peter Barker
79098d1d10
autotest: correct diagnostic message symlink->link
2022-03-26 11:16:55 +11:00
Peter Barker
7a62b5429b
autotest: add test for landing speed
2022-03-23 21:07:05 +11:00
Andrew Tridgell
3f865ba102
web: changed from '3DR' to 'SiK'
...
these radios have not been sold by 3DR for a long time
2022-03-23 19:23:17 +11:00
Joshua Henderson
fcb0538fef
autotest: common check_mission_items_same loosen z to 1E-3
2022-03-16 18:41:52 +11:00
Peter Barker
a19fa24ccd
Tools: test_build_options.py: add bin mappings for all vehicles
2022-03-15 11:44:45 +11:00
Peter Barker
573cb0494d
autotest: set RL_AUTOLAND=1 for more tests
2022-03-14 09:52:41 +11:00
Andrew Tridgell
46a7f2cc4b
autotest: adjust for RTL_AUTOLAND failure
2022-03-14 09:52:41 +11:00
Andrew Tridgell
431330c651
Tools: added SFO_Bay location
2022-03-10 07:34:20 +11:00
Andrew Tridgell
6fcf85edb8
autotest: more changes for plane disarm disallow
2022-03-09 17:13:45 +11:00
Andrew Tridgell
a98e913a2a
autotest: flake8 warning fixes
2022-03-09 17:13:45 +11:00
Andrew Tridgell
e6bbd7f548
autotest: adjust for arming change in plane
...
expect disarm to fail when airmode on
2022-03-09 17:13:45 +11:00
Willian Galvani
1ab7eeb25f
Tools: util.py: fix comment for reltopdir()
2022-03-08 14:29:29 -08:00
m
37abfb98dc
autotest: Copter Pause/Continue in AUTO and GUIDED modes with SCurves
2022-03-08 13:12:36 +09:00
Peter Barker
f2fe55b5da
autotest: correct exception handling for Python 3.10
2022-03-07 19:36:05 +11:00
Peter Barker
c27e3f0c35
test_build_options.py: emit size savings from disabling features
2022-03-05 21:27:25 +11:00
Peter Barker
3ad10d7077
Tools: convert test_build_options to an object
2022-03-05 21:27:25 +11:00
Peter Barker
3fa12152f6
autotest: add tests for high latency control protocol
2022-03-05 11:08:30 +11:00
Henry Wurzburg
b3af8221be
Tools: clarify and simplify RC failsafe messages
2022-03-01 11:05:15 +11:00
Peter Barker
850227ffdb
autotest: add test for THR_FAILSAFE==2 and throttle output
2022-03-01 10:29:37 +11:00
Peter Barker
122d97ece7
autotest: add comment clarifying what an error actually means
2022-02-28 12:47:57 +11:00
Peter Barker
7bb13e934d
autotest: add support for multi-line log formats
2022-02-28 12:47:57 +11:00
Peter Barker
e6c1bc2402
autotest: fix MAVFTP test
2022-02-26 10:11:19 +11:00
Peter Barker
3f7e120a67
autotest: add test for terrain_check
2022-02-25 09:28:04 +11:00
Peter Barker
62efb470f6
autotest: change fly_terrain_mission test name
2022-02-25 09:28:04 +11:00
Peter Barker
f199f8be10
autotest: add more parachute tests
2022-02-24 09:20:31 +11:00
Peter Barker
69e0e544d1
autotest: loosen constraints on AccelCal test
2022-02-23 18:50:28 +11:00
Peter Barker
50c7576506
autotest: add log download tests for dataflash-over-mavlink
...
You can't download logs - but we should make sure that the codepaths are
at least crossed
2022-02-20 15:39:24 +11:00
Peter Barker
001a06d17d
autotest: add tests to a pair of lua scripts
2022-02-18 21:23:06 +11:00
Bob Long
bb30bb7b46
SITL: add locations of RealFlight airports
2022-02-17 10:12:50 +11:00
Peter Barker
17915faa98
autotest: add test for proximity sensors
2022-02-17 09:23:29 +11:00
Peter Barker
376d7ade50
autotest: use assert_receive_message to remove redundant code
2022-02-15 11:06:10 +11:00
Peter Barker
0cd5bdebfb
autotest: reduce Copter speed requirement in DO_CHANGE_SPEED
2022-02-15 08:29:10 +09:00
Peter Barker
fdae5f3ccc
autotest: correct wait_groundspeed method
2022-02-14 14:07:47 +11:00
Peter Barker
dc312260de
autotest: add test for DO_CHANGE_SPEED
2022-02-14 14:07:47 +11:00
Randy Mackay
61871b1d7b
Tools: disable Plane Landing-Drift test
2022-02-12 08:28:44 +09:00
Randy Mackay
10f4500584
Tools: remove SPORT from autotests
2022-02-11 16:11:39 +09:00
Andy Piper
46ae9d2c34
autotest: TasksV1 -> TasksV2
2022-02-09 12:47:55 +00:00
Peter Barker
a7d3324759
autotest: increase timeout while under Valgrind
2022-02-09 22:20:31 +11:00
Peter Barker
e3631aca91
autotest: print distance remaining while waiting for current wp
2022-02-09 19:27:21 +11:00
Peter Barker
13d5b00a22
autotest: increase timeout in Baro-Drift test
...
timeout was being hit on the autotest server
Also wait_disarmed isntead of wait for statustext You get a bit more information about what's going on this way
2022-02-09 19:27:21 +11:00
Peter Barker
a897fbc6db
locations.txt: add KalaupapaCliffs and LakeGeorgeLookout
...
good for large differences in terrain vs home alt
2022-02-09 17:01:07 +11:00
Peter Barker
c12e0fa3af
autotest: reset rather than reboot if required on test fail
2022-02-09 17:01:07 +11:00
Samuel Tabor
dbc63f7b0d
autotest: Improve Landing-Drift
2022-02-08 13:25:17 +11:00
Peter Barker
a81a1fb19f
Tools: build ArduPilot against all.xml not ardupilotmega.xml
2022-02-08 11:00:41 +11:00
Peter Barker
d086b5e9fc
autotest: add test for DO_CHANGE_ALTITUDE
2022-02-08 10:59:13 +11:00
Gone4Dirt
a11634e1e8
Tools: autotest: quadplane: add weathervane test
2022-02-08 10:38:16 +11:00
RuffaloVM
0a98561a9d
Autotest : correct spelling on ardupilot
2022-02-07 21:20:48 +11:00
Peter Barker
6eba851b00
Revert "Tools: update reltopdir function to use relpath()"
...
This reverts commit 392911fc62
.
2022-02-07 14:13:08 +11:00
Bill Geyer
12210f9066
Tools: tradheli-change param name from _VFF to _FF
2022-02-04 08:03:38 +09:00
Tatsuya Yamaguchi
08438c30a6
Tools: autotest for takeoff altitude
2022-02-03 21:33:05 +11:00
Willian Galvani
5cb1444b1d
Tools: use path relative to current directory to load parameters
2022-02-02 08:37:17 -08:00
Willian Galvani
6e91ae554a
Tools: use relative paths for parameter files
2022-02-01 17:35:26 +11:00
Willian Galvani
392911fc62
Tools: update reltopdir function to use relpath()
2022-02-01 17:35:26 +11:00
Marek Šuppa
49e88b7aea
Tools: add missing comma to sim_vehicle.py
...
* Add missing comma in `sim_vehicle.py`.
Signed-off-by: mr.Shu <mr@shu.io>
2022-01-31 08:54:01 +09:00
Randy Mackay
d1bf4f1c1e
Tools: autotest for OpticalFlowCalibration
2022-01-29 08:26:12 +09:00
Bill Geyer
2d81e01b10
Tools: improve tradheli sitl default params
2022-01-26 22:15:09 -05:00
VMsunghwan
5d29d945e0
autotest : Update receive
...
recieve -> receive
2022-01-24 18:34:21 +11:00
Peter Barker
0af97b5bdb
Tools: test_build_options.py: test disabling all options
2022-01-19 18:33:07 +11:00
Josh Henderson
a60c1168ef
Autotest: Helicopter add airspeed driver test
2022-01-19 18:21:32 +11:00
Joshua Henderson
8580a0e661
Autotest: Copter test_mount correct set_attitude use
2022-01-19 18:03:17 +11:00
VMsunghwan
105fc36da5
autotest : correct in typos line 8549 Receving -> Receiving
2022-01-15 13:11:58 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
84e10f035d
autotest: correct typos in callisto.json comments
2022-01-12 16:47:42 +09:00
Iampete1
00eca20cf4
Tools: logger metadata: emit rst discription on new line
2022-01-12 18:17:58 +11:00
Joshua Henderson
7cb88554da
Autotest: copter add test for mount_mode
2022-01-12 18:03:27 +11:00
Pierre Kancir
78c4918b32
Tools: expose coverage parameter on sim_vehicle.py
2022-01-12 12:31:56 +11:00
Peter Barker
7bb36a5630
autotest: correct path to source build_sizes.py script
...
This script is run on the build server from the APM root directory; this
bit copies it there before we change branches in the repo
2022-01-12 10:28:17 +11:00
Peter Barker
50d30ae045
autotest: reformat things-to-copy list
2022-01-12 10:28:17 +11:00
Andrew Tridgell
fbc7962723
autotest: fixed GripperMission test in rover
...
the Mission Complete was coming too quickly after the gripper release
2022-01-12 07:54:46 +11:00
Andrew Tridgell
2193f18ad7
autotest: fixed DCM fallback test
...
give equivalent lag to old test
2022-01-12 07:54:46 +11:00
Andrew Tridgell
0ae04ba9dc
autotest: updated frame params for SIM_GPS_LAG_MS
2022-01-12 07:54:46 +11:00
Peter Barker
29b8b12538
autotest: add test_build_options to test each entry in build_options.py
2022-01-11 13:24:25 +11:00
Peter Barker
8fb28ac906
autotest: build-with-disabled-features.py: flake8-clean
2022-01-10 21:21:52 +11:00
Hwurzburg
a774745a2f
Tools: Add OSP field location
2022-01-09 10:51:39 +11:00
Peter Barker
c8780792d4
autotest: loosen position constraint on SET_POSITION_TARGET_LOCAL_NED test
2022-01-08 13:59:19 +11:00
Michelle Rossouw
7f2d95900d
Tools: Add blimp link to firmware homepage
2022-01-07 22:54:13 +11:00
Michelle Rossouw
b58ecff90e
Tools: Add blimp log message documentation to be built
2022-01-07 22:54:13 +11:00
Peter Barker
62df8facd9
autotest: fix rover POSITION_TARGET_LOCAL test
2022-01-07 22:47:19 +11:00
khanasif786
6095992f14
Autotest:Copter test fix for tri
...
fixed excessive yaw rate for 'tri' frame
2022-01-06 19:04:50 +11:00
Peter Barker
a58e808af8
autotest: fix Rover gripper mission test
...
We can lose the statustext when getting current time
2022-01-06 17:48:30 +11:00
Peter Barker
427c08db26
autotest: add methods for asserting received mavlink data
2022-01-04 14:37:18 +11:00
Joshua Henderson
e610acf998
Tools: SITL Copter-heli.parm remove WP_YAW_BEHAVIOR
2022-01-01 23:22:15 -05:00
Andrew Tridgell
e5888d42d9
Tools: update build_sizes.py from master
2021-12-31 11:11:34 +11:00
Samuel Tabor
71596c2c9f
autotest: Add a test for GLIDE_SLOPE_THR
2021-12-27 11:27:52 +11:00
Shiv Tyagi
442e783214
Tools: fix DataFlashSITL autotest
...
Co-Authored-By: Peter Barker <7077857+peterbarker@users.noreply.github.com>
2021-12-25 09:14:31 +11:00
Andy Piper
dbcc8215fa
autotest: setup FFT harmonics correctly for dynamic harmonics.
...
octacopter notches test
2021-12-22 18:13:38 +11:00
Peter Barker
dfa373c1d7
autotest: param_parse.py: correct JSON output
2021-12-21 11:55:51 +11:00
Peter Barker
8527fd42d1
autotest: sim_vehicle.py: accept lower-case plane etc for --vehicle
2021-12-19 14:50:09 +11:00
Peter Barker
2cdb082139
autotest: add test for estop-on-rc-switch
2021-12-17 09:58:37 +11:00
Peter Barker
c9cc97edbd
autotest: augment estop test with post-reboot component
2021-12-17 09:58:37 +11:00
Peter Barker
474c42f9d3
autotest: move assert_prearm_failure up
2021-12-17 09:58:37 +11:00
Samuel Tabor
75ee4b07fe
autotest: Add test for soaring speed-to-fly feature
2021-12-16 07:12:24 +11:00
Peter Barker
ff77a17fdd
autotest: param_parse.py: allow CopyValuesFrom in vehicle directories
2021-12-16 07:11:33 +11:00
Peter Barker
7eb6fdbecd
Tools: param_metadata: add support from CopyValuesFrom
2021-12-15 09:54:06 +11:00
Peter Barker
8e3265d1f6
autotest: add a test for dataflash log message rates
2021-12-07 09:39:51 +11:00
Andrew Tridgell
9ee140cbbf
Tools: revert compass parameter changes
2021-12-04 16:51:53 +11:00
Peter Barker
66395ce195
autotest: add tests for AVD_F_ALT_MIN
2021-12-04 11:35:13 +11:00
Shiv Tyagi
181eff46ac
Tools: fix autotest for devo telemetry
...
We should pass(skip) the autotest when devo telemetry is compiled out
2021-12-01 19:16:44 +11:00
Peter Barker
b75f8211d2
autotest: comment out probably-defunct test
2021-11-30 20:50:32 +11:00
Peter Barker
6e4aa2264f
autotest: add test for uploading big fence then small fence
2021-11-30 20:50:32 +11:00
Peter Barker
5d811bf57e
autotest: disable flightgear output
...
burning CPU for no good reason
2021-11-30 11:03:05 +11:00
Peter Barker
d84808b434
autotest: improve diagnostic output from Replay test
2021-11-30 10:19:20 +11:00
Iampete1
f52fb3148b
Tools: autotest: common and arducopter: use new compass params
2021-11-30 08:14:43 +09:00
Iampete1
bf335b11ed
Tools: autotest: defaults: use new compass params
2021-11-30 08:14:43 +09:00
Peter Barker
746d9fda8d
autotest: add --callgrind option
2021-11-29 20:46:02 +11:00
Peter Barker
ad4b934b3c
autotest: correct MAVFTP test for autotest server
...
The autotest server runs autotest.py from a directory one-up from the
ArduPilot root directory, whereas most people run it from the root
directory. The test wasn't taking that into account, looking for a
directory which doesn't necessarily exist.
Changed to os.listdir() to find a directory to look for in the MAVFTP
output.
2021-11-29 20:44:47 +11:00
Peter Barker
7afb472244
autotest: reboot after resetting parameters for ekf lane switchtest
2021-11-29 15:30:00 +11:00
Peter Barker
b4b267be67
autotest: clarify parameter download test output
2021-11-29 15:10:10 +11:00
Peter Barker
0c0c70d50e
autotest: wait a long time for GPS health in HIGH_LATENCY2
...
We're assuming this is healthy before running the tests. Most of the time it was, but running under Valgrind it wasn't
2021-11-29 15:10:10 +11:00
Peter Barker
48c6239851
autotest: correct resetting of commandline under Valgrind
2021-11-29 15:10:10 +11:00
Peter Barker
b2f00d469e
autotest: use set_parameters some more
2021-11-26 18:30:13 +11:00
Peter Barker
09f06be17e
autotest: add an autotest for DO_PAUSE_CONTINUE
2021-11-25 08:18:27 +09:00
Samuel Tabor
7931b10baf
autotest: Fix rangefinder in Landing-Drift test.
2021-11-24 18:14:26 +11:00
Peter Barker
a7aa74ab20
autotest: add rangefinder convenience functions, fix wait_alt handling
...
autotest: add test for rangefinders outside their maxalt
2021-11-23 18:20:58 +11:00
Peter Barker
2904036013
autotest: fetch tasks.txt twice
...
Collection isn't instantaneous
2021-11-23 18:17:42 +11:00
Shiv Tyagi
7237e346d8
Tools: autotest: add defaults file for broken copter frames
...
This adds default files for copter frames which were broken because of missing defaults
2021-11-23 15:52:25 +09:00
Peter Barker
c99a49eeb9
autotest: add test that we continue to get simulated vehicles from SIM_ADSB
2021-11-23 11:09:29 +11:00
Randy Mackay
b9099f7b88
Tools: sim_vehicle supports motorboat frame
...
also add motorboat param file to enable waves and tide
2021-11-20 08:58:12 +09:00
Peter Barker
5025056f4e
autotest: fix MSP_DJI test for Py2
2021-11-20 09:37:02 +11:00
Peter Barker
9a47a85c0d
autotest: augment PerfInfo test
2021-11-17 19:00:04 +11:00
Peter Barker
b42432ea3e
autotest: add trivial test for MSP
2021-11-17 12:06:07 +11:00
Shiv Tyagi
5811a62bc6
Tools: add autotest for DEVO telemetry
...
This adds an autotest to test if we receive data with devo telemetry correctly.
2021-11-16 11:37:10 +11:00
Peter Barker
873e04195f
autotest: add test for QuadPlane transition states
2021-11-15 07:21:27 +11:00
Peter Barker
75b9a3ff77
autotest: add test for PerfInfo tasks.txt info
2021-11-14 20:43:30 +11:00
Peter Barker
ad32f8d6d2
autotest: allow building of blimp in autotest
2021-11-14 18:35:06 +11:00
Shiv Tyagi
0cae113521
autotest: reset RNGFNDx_TYPE in rangefinder driver test
...
We should reset RNGFNDx_TYPE after we finish testing a set of rangefinder drivers to avoid failing successive tests.
Also, we now fail prearm checks if we receive no data from RF, we need to continuously send DISTANCE_SENSOR messages through mavlink to pass those checks while trying to arm.
Co-Authored-By: Peter Barker <7077857+peterbarker@users.noreply.github.com>
2021-11-13 09:47:39 +09:00
Andy Piper
9da11cd31d
autotest: set SMAX during autotune test
2021-11-11 08:13:23 +09:00
Peter Barker
756e45cda2
autotest: add get_stacktrace method
2021-11-11 10:06:47 +11:00
Bill Geyer
4f053bb7d5
Tools: set new parameters for autotest
2021-11-10 16:45:17 -05:00
Peter Barker
69d86e6896
autotest: turn draining_mav off when doing early-exit for being quiet
2021-11-11 07:23:09 +11:00
andypnz
e929561635
Tools: added my locations to locations.txt
2021-11-10 08:45:18 +11:00
Peter Barker
2dd392ec4b
autotest: read pexpects while waiting for sim time
...
If we do not drain pexpects regularly the ardupilot process can become blocked on terminal IO
2021-11-07 09:59:12 +11:00
Peter Barker
bb973ac913
autotest: print content of sitl /proc/PID/status on death
...
Mysterious death ofi Copter in CI - add more debug
2021-11-06 17:22:52 +11:00
Peter Barker
f86b2c1051
autotest: add sanity check that sim time is updating
2021-11-06 17:22:52 +11:00
Peter Barker
b6293acbce
autotest: tweak how we make gps bad in fallback test
2021-11-05 23:18:11 +11:00
Peter Barker
8de7261c67
autotest: sim_vehicle.py: add --auto-offset-line
...
Simplifies spawning multiple instances.
2021-11-04 17:01:09 -07:00
Peter Barker
e7b30a0085
sim_vehicle.py: correct setting of udpclient ports
2021-11-04 17:01:09 -07:00
Peter Barker
856fe6a1fb
autotest: sim_vehicle: neaten sanity check for sysid
2021-11-04 17:01:09 -07:00
Peter Barker
4d5411b42f
autotest: sim_vehicle: correct AP commandline for multicast/udpclient
2021-11-04 17:01:09 -07:00
Michael Day
93e6c1a920
Tools: sysid cannot be run together with auto-sysid
...
Added per @peterbarker suggestion
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
2021-11-04 17:01:09 -07:00
Arash Negahdar
d065515b2a
Tools: Use a single MAVProxy instance in sim_vehicle
...
With the implementation of the 'alllinks' command in MAVProxy, and the
exposure of the SYSID parameter this becomes feasible
Tools: Fix mcast handling
2021-11-04 17:01:09 -07:00
Arash Negahdar
49af90a70e
Tools: Set SYSID based on instance number in sim_vehicle.py
2021-11-04 17:01:09 -07:00
Peter Barker
56dda4c07f
autotest: fix race condition in Rover gcs mission test
2021-11-05 09:07:19 +11:00
Peter Barker
d0872abdf9
autotest: FETtec tests: give vehicle a chance to realise ESCs are dead
...
Should remove the race condition where we disable an ESC but the vehicle
doesn't realise and lets the vehicle arm.
Also, waiting this long causes the ESCs to just go missing, not give a
telemetry failure
2021-11-02 09:39:17 +11:00
Andrew Tridgell
e94fdac91f
Tools: rename uLanding simulation to USD1
2021-10-26 15:31:12 +11:00
Iampete1
bc7c5c24da
Tools: autotest: quadplane: reboot for tailsitters and allow longer time for disarm
2021-10-26 10:03:00 +11:00
IamPete1
1e09e79617
Tools: autotest: add copter tailsitter and params
2021-10-26 10:03:00 +11:00
Peter Barker
7f125312f3
autotest: disable flapping GroundEffectCompensation_takeOffExpected test
...
This test is flapping. More often now.
2021-10-25 14:09:22 +11:00
Peter Barker
754192ff26
autotest: improve gps-for-yaw test
...
There are flag values in the mavlink definitions for this message, so
make sure we get something approaching the right number.
2021-10-21 12:09:21 +11:00
Peter Barker
5cf62e8fb3
autotest: tweak soaring test SOAR_VSPEED
...
This is right on the edge on master
2021-10-21 12:09:21 +11:00
Peter Barker
b9a4902aa6
autotest: let system settle before annoying
...
Also fly in circles to avoid long flight home
2021-10-21 12:09:21 +11:00
Peter Barker
fda0d16475
autotest: correct loiter-requires-position test for new SIM_GPS simulation
...
sitl_gps was sending out ubx packets even if the device was supposed to
be absent, allowing the EKF to get a lag and thus allocate its buffers.
The new sim doesn't do that, so we do need to direct the EKF to not use
the GPS.
2021-10-21 12:09:21 +11:00
Peter Barker
99126d3cc7
autotest: add autotest for getting yaw from moving-baseline GPS setup
2021-10-21 08:34:36 +11:00
Peter Barker
2f90abd7ea
autotest: raise an exception in the case we don't load a parameters file
2021-10-21 08:34:36 +11:00
Peter Barker
0e6b0cbf35
autotest: add trivial test for MegaSquirt EFI system
2021-10-17 10:00:08 +11:00
Davis Schenkenberger
3e748d77c9
Tools: autotest: add test for LORD EAHRS
2021-10-17 08:55:03 +11:00
Josh Henderson
a06a192255
Autotest: Rover add test for multiple depth finders
2021-10-15 13:08:17 +11:00
Josh Henderson
f67a4ec025
Tools: High_Latency2 Test Fix Location Distance Test
2021-10-13 19:40:45 +11:00
Josh Henderson
941cd6ebc2
Tools: arduplane.py add HIGH_LATENCY2 tests and Check Air_Temperature
2021-10-13 19:40:45 +11:00
Peter Barker
5125874681
autotest: add some tests for running multiple GPSs
2021-10-13 18:02:16 +11:00
Peter Barker
265616b582
autotest: tidy use of dump_message_verbose
2021-10-13 18:02:16 +11:00
Peter Barker
7446a28c45
autotest: augment simulated GPS tests
2021-10-13 18:02:16 +11:00
Peter Barker
87df943f99
autotest: add option to use simulated FRAM for storage
2021-10-12 20:01:49 +11:00
Peter Barker
00c6308b25
autotest: add test for FRAMStorage
2021-10-12 20:01:49 +11:00
Iampete1
67abf23077
Tool: autotest: defaults: remove MOT_PWM_MIN and _MAX
2021-10-11 22:19:17 -04:00
Iampete1
59b40a3845
Tools: autotest: copter: remove check for PWM min/max zero
2021-10-11 22:19:17 -04:00
Iampete1
a69f40b7fb
Tools: autotest: update quadplane throttle min param name
2021-10-11 22:19:17 -04:00