James O'Shannessy
e16bbe6e18
AutoTest: Ensure fence state is disabled at end of test
...
This appears to be another case of the fence state carrying over from one test to another. Disabling the fence at the end of the test appears to have fixed this problem
4 years ago
James O'Shannessy
31462418c6
AutoTest: Ensure Copter can RTL and Land even when Fence Floor has not been auto disabled
4 years ago
James O'Shannessy
fa7be629e5
AutoTest: Make fence tests flake8 compliant
4 years ago
James O'Shannessy
01b27bdb61
AutoTest: revert change that breaks quadplane
4 years ago
James O'Shannessy
2353b55452
AutoTest: Address race conditions in changes to fence tests
4 years ago
James O'Shannessy
76a2a76b54
AutotTest: Adds autotests for Plane to test RetRally flag added to AC_Fence
4 years ago
James O'Shannessy
8545715837
AutoTest: Add Static Fence Tests for unallowed arming when breaching geofence
4 years ago
James O'Shannessy
6f7ba3b037
AutoTest: Ensure fence is disabled at end of throttle_failsafe_fence test
4 years ago
James O'Shannessy
6251b6eead
AutoTest: Rebase and carry across changes from autotest
4 years ago
James O'Shannessy
b2346ef6df
AutoTest: Adds additional tests to ArduCopter to test autoenable and floor
...
Adds tests for:
* Testing auto-enable disabled (when no autoenabling of the fence is required)
* Test auto-enabled always after takeoff (when takeoff complete condition met)
* Test auto-enabled disable floor only (when land sequence begins)
* Test auto- on arm/disarm (when vehicle is armed/disarmed)
* Tests ability to land when fence is breached
4 years ago
Dr.-Ing. Amilcar do Carmo Lucas
dd5ede0fe0
autotest: small comment improvements
4 years ago
James O'Shannessy
bbd606b8b5
AutoTest: Corrections to autotests
4 years ago
James O'Shannessy
a3efc9ad98
AutoTest: Fix MAVlite test allowing plane fence to be enabled
4 years ago
James O'Shannessy
47e76a1807
AutoTest: Move fence enable/disable to common location
4 years ago
Dr.-Ing. Amilcar do Carmo Lucas
528defd560
Autotest: activate the fence via a mavlink command
...
This should not be required in the future, please fix this and revert this commit
4 years ago
Dr.-Ing. Amilcar do Carmo Lucas
8d8753b14c
Autotest: fix two copter tests after parameter rename
...
I'm not sure if a better fix would be to remove the set_parameter() call
4 years ago
James O'Shannessy
215901be30
Autotest: Correct the logic for fence based autotest functions
...
Adds corrections to enabling fence using aux function.
Correctly test fences statically. Only uploaded fences can be checked using a fence file, so we check those first. Then we add steps to check tin can, max and minm all set the fence as present, as expected.
Plane will support MAV_PROTOCOL_CAPABILITY_MISSION_FENCE, so we assert that it does support it.
To test ceiling and floor, leverage some existing functions for takeoff, change altitude and land. Check for respective breach.
Add a floor breach check to copter.
4 years ago
James O'Shannessy
1a3e168ced
Autotest: Fence is present, but test looking for not present
...
Autotest: Remove ties to mavlink FENCE_ACTION
Autotest: Add ArduPlane autotest to test ceiling and floor
Adds a test to ensure the vehicle reverts to RTL when breaching a ceiling or floor.
Autotest: Progress the test once we reach takeoff complete and fence enable
Autotest: Use RC_OPTION for Aux Switch functionality
Autotest: Enable fence last
4 years ago
Paul Riseborough
d52594c576
Tools: Fix set_home autotest
...
Don't try to get home until EKF has passed alignment and GPs checks.
Use a more realistic lat/lon offset threshold
4 years ago
Paul Riseborough
0a052d20ea
Tools: Add handling for default airspeed variance
4 years ago
Randy Mackay
0a08793b7d
Tools: Holybro S500 param file
4 years ago
Peter Barker
4aed767fe9
autotest: add test for MAV_CMD_DO_SET_MISSION_CURRENT
4 years ago
Pierre Kancir
52c5a7c417
Tools: add pretty diff size script
4 years ago
Peter Barker
a235246628
autotest: correct units in new AHRS2 test
4 years ago
Pierre Kancir
ecc89411f9
Tools: put UART_chargen in skip list
4 years ago
Pierre Kancir
7a5a7b1eb5
CI: add examples test
4 years ago
Andy Piper
46c5d72166
Tools: add bdshot bootloaders for CubeYellow and mRoControlZeroH7
4 years ago
Peter Barker
b3ee5d5f59
autotest: increase verbosity in AHRS2 test
4 years ago
Peter Barker
5a49d98555
Tools: have decode_watchdog try to decode from .log dataflash dumps
4 years ago
Randy Mackay
a35a7e1523
Tools: autotest manual control test requires 12 deg
...
adjusted down because of lower default angle_max
4 years ago
Peter Barker
317181922c
autotest: ensure we're getting vaguely sane data in AHRS2 message
4 years ago
Peter Barker
cc83562add
autotest: tidy fence handling
4 years ago
Peter Barker
b2d4cefa85
autotest: change heli default RPM type to 10
...
Change default to SITL
4 years ago
Peter Barker
4d2cf8c95b
AP_Frsky_SPort: correct handling of RPM sensor data
...
Nails support down to just two RPM sensors for the time being.
Simplifies things (there was an issue here when I corrected RPM-in-SITL)
4 years ago
Peter Barker
eb499ff731
autotest: improve frsky SPort test
...
- reduces verbosity as we only check the remaining items when new data
received
- reduces repoll interval and explains why we need to re-poll
4 years ago
Peter Barker
7b251b6fd4
autotest: add diagnostics for frsky tests
4 years ago
Peter Barker
2671a2f71f
autotest: fix up FRSky tests for running under Valgrind
4 years ago
Peter Barker
360512f6b0
autotest: preserve commandline customisations on reboot under valgrind
4 years ago
Peter Barker
fc9a93ba67
autotest: stop using mavproxy for clearing missions
4 years ago
Peter Barker
97e2596bf8
autotest: stop clearing mission at start of test
...
These are implicitly cleared by the framework
4 years ago
Peter Barker
973510a4ff
autotest: push context after customising cmdline
...
doing things in the other order causes problems when running the
complete suite
4 years ago
Peter Barker
5d1e105534
autotest: allow more time for mission upload and download
...
We upload some rather large missions....
4 years ago
Peter Barker
10007e2e42
autotest: load missions natively rather than using MAVProxy
4 years ago
Peter Barker
993d87469c
autotest: move mission upload functions from rover to common
4 years ago
Peter Barker
34a52e9cfe
autotest: use wait_statustext in place of mavproxy.expect for autorotate test
4 years ago
Rishabh
6e2339d2d6
Tools: default parameters for Hexsoon TD-650
4 years ago
Peter Barker
0daa1a63d3
autotest: remove pointless fetch_parameters call
...
And the entire method, replace with equivalent test
4 years ago
nkruzan
3e0f9ab4e7
Tools:autotest\common.py fix text typo
4 years ago
Peter Barker
61138f342a
autotest: do not time out receiving of heartbeat if running gdb
...
pausing indefinitely when running GDB is OK.
4 years ago
Peter Barker
1f47698076
autotest: use change_mode in place of mavproxy.send
4 years ago