Randy Mackay
9c56b406be
Tools: Copter.AltEstimation fixes
...
disable baro so EKF has no altitude estimate
add check that mode change to ALT_HOLD failed
4 years ago
Randy Mackay
f68f26e75d
Tools: Copter.VisionPosition config for EKF3
4 years ago
Randy Mackay
d2bdc949b2
Tools: Copter.OpticalFlowLimits checks altitude
4 years ago
Randy Mackay
0ba696f761
Tools: Copter.OpticalFlowLimits config for EKF2/3
4 years ago
Randy Mackay
d00194c60a
Tools: copter test_rangefinder_switchover config for EKF2/3
4 years ago
Peter Barker
cd8a393ac2
autotest: create own RC thread to handle setting of RC overrides
...
autotest: prevent method-on-undef problem in case of early test failure
autotest: plumb MAVProxy rc input back in for switch test
autotest: close off rc thread in case of timeout
4 years ago
Peter Barker
1dad0ecb46
autotest: disarm vehicle in case vibration test excepts
4 years ago
Peter Barker
47aea5f44c
autotest: print stack traces for caught exceptions
4 years ago
Peter Barker
e85e6d3375
autotest: use new set_parameters in place of many set_parameter calls
...
autotest: use set_parameters for applying from parameter file
autotest: use set_parameters in place of many set_parameter calls
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
987466bc3d
autotest: increase timeout on avoidance-corners test
...
Race conditions can mean angles are less than expected
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
Randy Mackay
66b2b988c4
Tools: update gps-vicon switching test params
4 years ago
Peter Barker
8abf9a82f3
autotest: reliability improvements for EKF failover tests
4 years ago
Peter Barker
0788b46374
autotest: add trivial test for Callisto
4 years ago
Pierre Kancir
824b9c1dc9
Autotest: add setpoint_target test for copter
4 years ago
Peter Barker
662814d6bd
autotest: reboot after running Copter vibe tests
...
The EKF type (at the very least) requires a reboot to revert to its
original value.
4 years ago
Randy Mackay
d964fa2307
Tools: fixup EKF source pre-arm test
...
although setting COMPASS_USE/2/3 to zero disables the pre-arm for EK3_SRCx_YAW = 1 (Compass) the pre-arm still triggers if EK3_SRCx_YAW = 3 (External Compass Fallback)
4 years ago
Randy Mackay
50f9eee54c
Tools: relax fly_guided_stop climb rate tolerance to 1cm/s
4 years ago
Paul Riseborough
4cf78c34e7
Tools: Add autotest for copter wind estimation and baro correction
4 years ago
Paul Riseborough
a3b5901218
autotest: Fix failing copter fly_square test
...
This test should be flown in ALT_HOLD, not STABILIZE as that is better mode to test the record waypoint function becasue it removes the need to fine tune the RC3 value to match thrust/weight variation as the hover thrust is not learned fast enough at the start of the test.
4 years ago
Randy Mackay
9803a70d3f
Tools: copter autotest spelling and format fixes
4 years ago
Randy Mackay
665e6ccdcb
Tools: copter GCS fs tests explicitly set FS_GCS_ENABLE and FS_OPTIONS
4 years ago
Peter Barker
0406b28abd
autotest: print exception if caught in test_alt_estimate_prearm
4 years ago
Peter Barker
768e3e7931
autotest: adjust Vicon test for new PREARM-checking code
...
The new check that the prearms-passing bit from the autopilot
indicated prearms have passed was failing here because the yaw isn't
alighed until we frob channel 7.
The intent of the prearm seems ot have been to ensure we can get a
global position - that can be accomplished by polling the home position.
4 years ago
Peter Barker
be52e642f7
autotest: adjust Replay gps bit to make final logfile replayable
4 years ago
Peter Barker
211cd5255d
autotest: tweak beacon test to be replay-friendly
4 years ago
Peter Barker
498b0b79a3
autotest: Replay tests OpticalFlow and Beacons
...
autotest: run Replay on log generated by test.Copter.BeaconPosition
autotest: test OpticalFlow in replay tests
4 years ago
Peter Barker
9e20f4a68d
autotest: add a test for compass yaw sources
4 years ago
Peter Barker
b788a172c8
autotest: add simple test for IE24 generator
...
Tools: Modified richenpower autotest setup
autotest: IE24: Add error code failsafe test
4 years ago
Peter Barker
935d39322c
autotest: correct test for mode-change-reason change
4 years ago
Randy Mackay
f257dc20d0
Tools: add test.Copter.GPSViconSwitching to CopterTests1d
4 years ago
Randy Mackay
b6fe039a9f
Tools: autotest for beacon sets EK3_SRC params
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
00cfc1932f
autotest: fixed arm delay in replay test
...
thanks to Peter
4 years ago
Andrew Tridgell
5f669e22ff
autotest: adjust optical flow speed test
4 years ago
Andrew Tridgell
1a1ca7cca7
autotest: fly a bit higher in optical flow test
...
test was occasionally hitting the ground
4 years ago
Andrew Tridgell
690af580c9
autotest: abstract out load_local_module()
...
this will be useful for other tests
4 years ago
Andrew Tridgell
f674d124d6
autotest: use SITL replay
4 years ago
Andrew Tridgell
7b50780c5e
autotest: fixed rmtree error in autotest
4 years ago
Andrew Tridgell
a37cae5dae
autotest: added test.Copter.Replay test
4 years ago
Andrew Tridgell
3dff0b3d58
autotest: removed dcm yaw test
...
this should not be part of replay PR
4 years ago
Andrew Tridgell
3ae237b652
autotest: started work on replay testing
4 years ago
bugobliterator
c72c96fa9c
Tools: setup CI test for CANBus
4 years ago
Andrew Tridgell
3e3da61396
Tools: fixes from review feedback
4 years ago
Andrew Tridgell
47bf3e2249
Tools: use max_err for alt wait in flip test
4 years ago
Andrew Tridgell
72d0730194
Tools: fixed flow speed test to be much more robust
...
takeoff in ALT_HOLD so we don't overshoot as much, and calculate speed
limit based on actual alt
4 years ago