Andy Piper
f702288ad2
autotest: correct number of logs
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
b53b30ea51
autotest: split out a get_rc_channel_value()
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
6565309325
Autotest: add test_set_velocity_global_int tests
4 years ago
Pierre Kancir
10673122c0
Autotest: add test_set_position_global_int tests
4 years ago
Pierre Kancir
62a1fa1052
Autotest: add wait_speed_vector and wait yaw_speed functions
4 years ago
Pierre Kancir
0ca8e817d5
Autotest: wait_and_maintain add support of Vector3
4 years ago
Pierre Kancir
dbaeb668f1
Autotest: add MAV_FRAME dictionary
4 years ago
Pierre Kancir
0bf7bd7f68
Autotest: add set_position mask to common.py
4 years ago
Peter Barker
4efcf16005
autotest: correct number of bytes we expect to download
...
We request a fixed number of bytes, which could be more or less than the
log file size.
4 years ago
Peter Barker
8e71e2505a
autotest: correct lookup for most recent log file
4 years ago
Pierre Kancir
9550721ae4
Tools: add initial_mode testing
4 years ago
Peter Barker
9ad2961664
autotest: allow regex for matching wait_statustext
4 years ago
Peter Barker
cecdc798ca
autotest: present strings for unexpected results in run_cmd_get_ack
4 years ago
Peter Barker
9207bd8a8a
autotest: remove armability check from compass calibration test
...
The new prearm-checking code has shown that we're not actually armable
after all!
Even the new prearm bit won't tell you if you can arm - you have to arm
to test that!
4 years ago
Peter Barker
087300749c
autotest: ensure we have position without being armable for compass cal check
4 years ago
Peter Barker
38e324f141
autotest: do not check prearm bit in dataflash-over-mavlink
...
We won't be armable - but the other checks we make will ensure we get
the error we are looking for
Also use a more reliable way of draining the data from the autopilot
4 years ago
Peter Barker
5707d8ecc0
autotest: check new MAV_SYS_STATUS_PREARM_CHECK in wait_ready_to_arm
4 years ago
Peter Barker
17f806cdb9
autotest: add test for execution of button-bound functions
4 years ago
Peter Barker
12f001066b
autotest: split out a wait_armed function
4 years ago
Peter Barker
3f6b398a01
autotest: include EK2,EK3 and DAL LogStructures in code-defined messages
4 years ago
Peter Barker
29b913cd41
autotest: avoid using undefined fmt variable
4 years ago
Peter Barker
58bdae1b52
autotest: get Valgrind closer-to-working
...
This gets us past the reboot problem for the most part, where Valgrind doesn't like you exec'ing
4 years ago
Andrew Tridgell
403275beea
autotest: added RBOH message
4 years ago
Andrew Tridgell
4a06641048
autotest: added RWOH message
4 years ago
Andrew Tridgell
7f0113b82d
autotest: added REPH and REVH
4 years ago
Andrew Tridgell
ef5baaf482
autotest: added ROFH msg
4 years ago
Andrew Tridgell
8ba067608b
autotest: cope with LogStructure.h in multiple places
...
and allow for no docs in replay msgs
4 years ago
Andrew Tridgell
161f2a8d2f
autotest: improved error msg for missing doc fields
...
Co-authored-by: Peter Barker <pbarker@barker.dropbear.id.au>
4 years ago
bugobliterator
c72c96fa9c
Tools: setup CI test for CANBus
4 years ago
Peter Barker
18330d16de
autotest: add test for MAVlite
4 years ago
Buzz
586e9f80d5
AutoTest: break copter autotests into smaller "under 10 minute" chunks to speedup github actions CI
4 years ago
Peter Barker
937d7bf335
autotest: add quiet option to drain_mav
4 years ago
Peter Barker
49fd762f26
autotest: fix and re-enable button test
...
A recent commit to fix the setting-of-pullup-resistors in SITL makes it
possible to re-enable this.
Closes #15259
5 years ago
Peter Barker
8f1e9ebc7f
autotest: reset camera feedback rate if exception is raised
5 years ago
Peter Barker
d13f6acc66
autotest: quieten mav draining
5 years ago
Peter Barker
1d0735f206
autotest: add a poll_message method
5 years ago
Peter Barker
669622c614
autotest: improve use of SITL-is-running
...
ATM if the SITL binary dies we don't catch it anywhere. This might
become part of the solution for that, as well as some changes on
run_one_test.
5 years ago
Peter Barker
1075e13352
autotest: stop set_parameter from using get_parameter
...
Setting a parameter on ArduPilot causes the autopilot to emit the new
value in a PARAM_VALUE message, so we do not need to fetch it ourselves.
Fetching it ourselves causes subtle problems for the autotest suite
where a PARAM_VALUE is currently in the uart buffer - so the autotest
set_parameter has consumed one PARAM_VALUE message (the auto-emitted
one). If it immediately does a set_parameter then the next
PARAM_VALUE it sees will be the OLD value as the value comes out of the
uart.
5 years ago
Peter Barker
3e882fcad8
autotest: loosen mag-percent-complete threshold to 95%
...
So 98% wasn't loose enough...
5 years ago
Peter Barker
0f5f040380
autotest: send all progress messages to autopilot
...
These will be logged into dataflash and into the telemetry log
5 years ago