Peter Barker
2917c75f35
autotest: add option to timeout parameter fetching in system time
4 years ago
Peter Barker
83f2f365c0
autotest: implement a more efficient set_parameters, implement set_parameter in terms of it
4 years ago
Peter Barker
f478666700
autotest: correct scripting test for missing message
...
The message could pass us by
4 years ago
Peter Barker
8497f8fc73
autotest: correct some timeout issues around Copter takeoff
4 years ago
Peter Barker
0a39c49711
autotest: gpstovicon: reboot after setting new EKF type rather than before
4 years ago
Peter Barker
252b166099
autotest: reboot after Copter gyrofft test
...
Really weird things happen if you switch from EKF2 to EKF10 - like your
home position being set but your origin not!
4 years ago
Peter Barker
e7aefc7fe4
autotest: make polling home position quiet by default
4 years ago
Peter Barker
5318538182
autotest: reboot SITL when moving from EKF10 to EKF2 in mag test
...
Bad things happen when moving from one to the other...
4 years ago
Peter Barker
987466bc3d
autotest: increase timeout on avoidance-corners test
...
Race conditions can mean angles are less than expected
4 years ago
Peter Barker
fdb5b5e6d6
autotest: correct dataflash transfer test for long periods
...
This came in with a 35 second delay, which is rather spectacular given
the 5 second loop it is in.
2021-01-11T11:54:30.3046835Z dataflash_logger status
2021-01-11T11:54:30.3047406Z MANUAL> DFLogger: Active Rate(35s):408.788kB/s Block:65034 Missing:0 Fixed:0 Abandoned:0
2021-01-11T11:54:30.3048195Z Timed out looking for Active Rate\([0-9]s\):([0-9]+[.][0-9]+)
2021-01-11T11:54:30.3048801Z AT-0472.3: Exception caught: 60
4 years ago
Peter Barker
3a264e0a76
autotest: use LOG_STRUCTURE_FROM as key string (don't need library name)
4 years ago
Pierre Kancir
409177d22a
Tools: remove duplicate kg/m.m
4 years ago
Josh Henderson
0052e4d528
Tools: auotest add LOG_STRUCTURE_FROM_AHRS
4 years ago
Peter Barker
4d19ff6b26
autotest: prompt ArduPilot for SYSTEM_TIME message during reboot
...
This helps us actually execute the timeouts appropriately and thus
re-fetch the STAT_BOOTCNT parameter we use for detecting the reboot
Eliminates annoying pauses during testing.
4 years ago
Peter Barker
8e6d144d72
autotest: re-raise KeyboardInterrupt after closing pexpects
...
this gives a stack trace, which is handy if the tests get caught
indefinitely somewhere
4 years ago
Peter Barker
5120ebf2f6
autotest: add a set_parameters method
4 years ago
Andrew Tridgell
ad29be14c6
autotest: added ARACE_hand location
4 years ago
Peter Barker
7474948971
autotest: add test for mavlink rangefinder out-of-range-low
4 years ago
Peter Barker
fdd0297f12
autotest: add more tests for MAVLink rangefinder
...
Allows for finer-grain control over what messages we're sending.
4 years ago
Andrew Tridgell
7672f0a2ce
autotest: added NDRCC field
4 years ago
Andrew Tridgell
b5476c6e5c
autotest: added ExternalAHRS test
4 years ago
Peter Barker
487f36146d
Tools: add support for simulated TSYS01 temperature sensor
4 years ago
Peter Barker
6433647d9e
autotest: add trivial autotest for TSYS01 temperature
4 years ago
Randy Mackay
66b2b988c4
Tools: update gps-vicon switching test params
4 years ago
Peter Barker
2240a60e20
autotest: add trivial test for set-position-target-local-ned
4 years ago
Peter Barker
53336595e1
autotest: add simple test for Rover set_attitude_target handling
4 years ago
hendjosh
7f999ef64a
Tools: Change Cygwin default install location to Cygwin64
4 years ago
Andy Piper
f702288ad2
autotest: correct number of logs
4 years ago
Andrew Tridgell
529bc6b77c
autotest: fixed compatibility with python on wiki server
4 years ago
Peter Barker
65cffdad5a
autotest: print stack traces when exceptions caught
4 years ago
Peter Barker
38ea62c5d7
autotest: send mode change messages directly rather than via MAVProxy
4 years ago
Peter Barker
d31f676c33
autotest: don't use MAVProxy for uploading using fencepoint protocol
4 years ago
Peter Barker
2b06ae9aa0
autotest: create and use a wait_sensor_state method
4 years ago
Peter Barker
7c7fb67829
autotest: fixes for AFS test
4 years ago
Peter Barker
7f79ddf3ff
autotest: CRSF: remove pointless wait-ready-to-arm
4 years ago
Peter Barker
6c48a38497
autotest: avoid zero-byte-read on log download
4 years ago
Peter Barker
6908a776fa
autotest.py: timeout after 5400 seconds
4 years ago
Peter Barker
8abf9a82f3
autotest: reliability improvements for EKF failover tests
4 years ago
Andrew Tridgell
939d8509b2
autotest: added ARACE flight locations
4 years ago
Pierre Kancir
69fab70582
Tools: use lxml for xml generation
...
fix caracters
fix indentation
validate xml
4 years ago
Peter Barker
12505c4c28
autotest: add tests for new higher-channel override semantics
4 years ago
Peter Barker
b53b30ea51
autotest: split out a get_rc_channel_value()
4 years ago
Peter Barker
b02f0ee51f
autotest: make Sub's setting of FS_GCS_ENABLE persist across wipes
4 years ago
Peter Barker
26bbedd777
autotest: remove un-needed parameter wipe after soaring test
4 years ago
Peter Barker
0a5eedb05a
autotest: wipe and reinitialise parameters when resetting SITL commandline
...
Should fix this scenario:
- Plane soaring test uses different defaults file
- soaring test sets a parameter away from default value
- context pop sets it back to the value in the defaults file
- it is now in permanent storage with the default found in the
different defaults file used by the soaring test
- we finish running the soaring test an reset the SITL command line
back to default, with the old defaults file
- we go on to running the next test. At this point the value for that
parameter is the default in the defaults file used by the soaring test.
Something similar applies in the Callisto test.
4 years ago
Peter Barker
0788b46374
autotest: add trivial test for Callisto
4 years ago
Peter Barker
5d23dc2314
autotest: avoid replicating enumeration value names from pymavlink
4 years ago
Pierre Kancir
06d6526ba6
Autotest: correct wait_distance_to_home comment
4 years ago
Pierre Kancir
824b9c1dc9
Autotest: add setpoint_target test for copter
4 years ago
Pierre Kancir
67533c3284
Autotest: add setpoint_target tests on rover
4 years ago