Commit Graph

5648 Commits

Author SHA1 Message Date
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
2021-03-05 14:52:46 +11:00
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
2021-03-05 12:10:01 +11:00
Paul Riseborough
0a052d20ea Tools: Add handling for default airspeed variance 2021-03-05 12:10:01 +11:00
Randy Mackay
0a08793b7d Tools: Holybro S500 param file 2021-03-04 14:27:20 +09:00
Peter Barker
4aed767fe9 autotest: add test for MAV_CMD_DO_SET_MISSION_CURRENT 2021-03-04 11:59:33 +11:00
Pierre Kancir
52c5a7c417 Tools: add pretty diff size script 2021-03-03 18:56:55 +11:00
Peter Barker
a235246628 autotest: correct units in new AHRS2 test 2021-03-03 18:41:14 +11:00
Pierre Kancir
ecc89411f9 Tools: put UART_chargen in skip list 2021-03-03 18:07:38 +11:00
Pierre Kancir
7a5a7b1eb5 CI: add examples test 2021-03-03 18:07:38 +11:00
Andy Piper
46c5d72166 Tools: add bdshot bootloaders for CubeYellow and mRoControlZeroH7 2021-03-03 18:02:26 +11:00
Peter Barker
b3ee5d5f59 autotest: increase verbosity in AHRS2 test 2021-03-03 16:29:33 +11:00
Peter Barker
5a49d98555 Tools: have decode_watchdog try to decode from .log dataflash dumps 2021-03-03 13:38:12 +11:00
Randy Mackay
a35a7e1523 Tools: autotest manual control test requires 12 deg
adjusted down because of lower default angle_max
2021-03-03 08:03:39 +09:00
Peter Barker
317181922c autotest: ensure we're getting vaguely sane data in AHRS2 message 2021-03-02 20:48:36 +11:00
Peter Barker
cc83562add autotest: tidy fence handling 2021-03-02 16:54:06 +11:00
Peter Barker
b2d4cefa85 autotest: change heli default RPM type to 10
Change default to SITL
2021-03-02 15:41:44 +11:00
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)
2021-03-02 15:41:44 +11:00
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
2021-03-02 15:41:44 +11:00
Peter Barker
7b251b6fd4 autotest: add diagnostics for frsky tests 2021-03-02 15:41:44 +11:00
Peter Barker
2671a2f71f autotest: fix up FRSky tests for running under Valgrind 2021-03-02 15:41:44 +11:00
Peter Barker
360512f6b0 autotest: preserve commandline customisations on reboot under valgrind 2021-03-02 15:41:44 +11:00
Peter Barker
fc9a93ba67 autotest: stop using mavproxy for clearing missions 2021-03-02 14:24:36 +11:00
Peter Barker
97e2596bf8 autotest: stop clearing mission at start of test
These are implicitly cleared by the framework
2021-03-02 14:24:36 +11:00
Peter Barker
973510a4ff autotest: push context after customising cmdline
doing things in the other order causes problems when running the
complete suite
2021-03-02 14:24:36 +11:00
Peter Barker
5d1e105534 autotest: allow more time for mission upload and download
We upload some rather large missions....
2021-03-02 14:24:36 +11:00
Peter Barker
10007e2e42 autotest: load missions natively rather than using MAVProxy 2021-03-02 14:24:36 +11:00
Peter Barker
993d87469c autotest: move mission upload functions from rover to common 2021-03-02 14:24:36 +11:00
Peter Barker
34a52e9cfe autotest: use wait_statustext in place of mavproxy.expect for autorotate test 2021-03-02 13:34:09 +11:00
Rishabh
6e2339d2d6 Tools: default parameters for Hexsoon TD-650 2021-03-02 10:13:51 +09:00
Peter Barker
0daa1a63d3 autotest: remove pointless fetch_parameters call
And the entire method, replace with equivalent test
2021-03-01 17:27:52 +11:00
nkruzan
3e0f9ab4e7 Tools:autotest\common.py fix text typo 2021-03-01 15:15:38 +11:00
Peter Barker
61138f342a autotest: do not time out receiving of heartbeat if running gdb
pausing indefinitely when running GDB is OK.
2021-03-01 13:44:23 +11:00
Peter Barker
1f47698076 autotest: use change_mode in place of mavproxy.send 2021-03-01 13:10:09 +11:00
Andrew Tridgell
97e7b48ca1 Tools: rebuild DrotekP3Pro bootloader 2021-02-28 17:24:25 +11:00
Andrew Tridgell
0528414a9c AP_Bootloader: limit the 1M flash check to the F427
this fixes an issue with the DrotekP3Pro which uses the STM32F469
2021-02-28 17:24:25 +11:00
Andrew Tridgell
b137f9e319 waf: fixed embed error on python2 2021-02-26 10:59:09 +11:00
bugobliterator
6d25b02508 waf: need to crc the padded bootloaders before embedding 2021-02-26 10:59:09 +11:00
Peter Barker
d3b3c443bc autotest: reset copter completely after autotune test 2021-02-25 10:49:58 +11:00
Andrew Tridgell
98abe125ad Tools: rebuild IO firmware
we now have enough memory again
2021-02-24 18:21:08 +11:00
Peter Barker
013415eb31 autotest: make and mark arducopter.py as flake8-compliant 2021-02-24 15:10:10 +11:00
Andrew Tridgell
b012c472e1 waf: added crc to embedded data 2021-02-23 20:20:07 +11:00
Peter Barker
79f21ed639 autotest: add test for GSF logging 2021-02-23 12:36:33 +11:00
Peter Barker
9d681eecc4 autotest: move to state outside when we leave log structure
No vertical whitespace allowed in the structures...

We concatenate all of the LogStructure files; without this we remain in
state_inside and try to parse every line in the concatenation as if it
were a log structure definition
2021-02-23 12:36:33 +11:00
Andrew Tridgell
20da92c8a1 Tools: revert IO firmware
this is a temporary fix until the full cause of the IOMCU issue is
found
2021-02-22 19:52:05 +11:00
Peter Barker
4d9cfdaaa8 Vagrant: create a bionic64-desktop VM
The focal-desktop appears to have a problem where directories are
considered to be in-use when being deleted. Not reproduced by me, but
reliably by a Windows user.
2021-02-22 15:00:38 +11:00
Andy Piper
fa1bed9735 Tools: rebuild iomcu firmware 2021-02-22 07:07:43 +11:00
Peter Barker
44ec74030e autotest: recover from flip in althold to remove stabilise throttle problem 2021-02-21 23:11:26 +11:00
Peter Barker
a4a5d52c35 autotest: extend time allowed for RTL for simplemode test 2021-02-21 22:45:06 +11:00
Peter Barker
9120882e9e autotest: print name of open dataflash log when test exception caught
The stack trace is already extremely useful... but mapping back to the
relevant dataflash log is a bit of a pain.

Adding more stuff to this method in the future might be good, too.
2021-02-21 21:35:35 +11:00
Peter Barker
adf44f3b2b autotest: make and declare sim_vehicle.py flake8-clean 2021-02-21 21:35:17 +11:00