Commit Graph

3740 Commits

Author SHA1 Message Date
Peter Barker 5cef031ce5 Tools: enforce Values/Bitmask sanity check for vehicles as well as libraries
we have enforced this one-of-Values-or-Bitmask in libraries for a long time, and should have been enforcing it in vehicles before now.

MissionPlanner and MAVProxy ignore Values if Bitmask is present
2024-05-21 14:27:05 +10:00
Peter Barker 37886b36e0 autotest: neaten Copter Loiter test 2024-05-21 14:23:58 +10:00
Peter Barker f930ba788b autotest: add test showing throttle saturation problem
autotest: verbose minimum_duration in wait_message_field_values
2024-05-21 14:23:36 +10:00
Peter Barker 1a04eadb63 autotest: add test for flying a mission far from EKF origin 2024-05-21 09:56:02 +10:00
Peter Barker 3e868be704 autotest: pass kwargs straight through in wait_ekf_args
this allows minimum_duration to be passed through to the underlying methods, for example
2024-05-19 12:26:33 +10:00
Peter Barker 0b8c72c8bb autotest: add support for minimum_duration to wait_ekf_flags
.... by re-implementing in terms of a WaitAndMaintain class
2024-05-19 12:26:33 +10:00
Peter Barker 39bb63c61f autotest: add test for partial-transfer after mission-upload 2024-05-15 12:26:34 +10:00
Peter Barker 91374632f6 autotest: add test for transfer again after bad count supplied 2024-05-14 09:21:53 +10:00
Peter Barker 7b95633bab autotest: add test for Rover RTL speed 2024-05-08 09:11:55 +10:00
Andrew Tridgell e5a2ba3ebc autotest: fixed marginal test WPNAV_SPEED_DN
this test completed at 59s before the baro change, and needs 62s
afterwards with the slight change in atmospheric modelling

increase to 70s so it doesn't flap
2024-05-07 21:19:06 +10:00
Andrew Tridgell 86b779f3c7 autotest: remove SIM_SERVO_SPEED from whitelist 2024-05-05 07:57:54 +10:00
Andrew Tridgell 1da50110d8 Tools: added Glider SITL model 2024-05-05 07:57:54 +10:00
Andy Piper 946c891e14 autotest: improve reliability of MotorVibration test 2024-05-03 07:34:21 +10:00
Andy Piper 95c06d418e autotest: tighten DynamicRpmNotches so that failure means failure
check notch attenuation at motor frequency
2024-05-03 07:34:21 +10:00
Iampete1 39d179162e Tools: autotest: copter: add max alt fence avoidance test 2024-05-01 17:25:07 +10:00
Peter Barker 6ddc237334 autotest: add test that weights for blending work 2024-05-01 10:19:58 +10:00
Peter Barker 1bab1a9571 autotest: add new blending test 2024-05-01 10:19:58 +10:00
Peter Barker 29cbd8da15 Tools: add description for SIM_BARO_DRIFT 2024-04-30 16:39:32 +10:00
Peter Barker f5b062562a autotest: correct removal of hooks during exception handling 2024-04-30 16:39:32 +10:00
Peter Barker 3f0265bf58 autotest: add test for EK3_ORGN_HGT_MASK 2024-04-30 16:39:32 +10:00
bnsgeyer 31e556099b Tools: clean up heli autotest file 2024-04-30 10:21:29 +09:00
bnsgeyer ee5fee268f Tools: modify heli autotest to prevent autorotation test failure 2024-04-30 10:21:29 +09:00
Ryan Friedman 2c803e365e Tools: Autotest: Test for EAHRS misconfiguration prearm failure
* And test for single GPS reporting on Microstrain7

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-04-30 09:18:46 +10:00
Iampete1 801663a3e6 Tools: autotest: Copter: add Auto RTL test 2024-04-30 08:03:39 +09:00
Peter Barker bcf63326ea autotest: install hook in context
busted sanity check allowed this to survive
2024-04-29 17:51:00 +10:00
Andrew Tridgell 54bfaa4438 autotest: skip stratoship test 2024-04-27 22:03:05 +10:00
Andrew Tridgell 0bccd71201 Tools: added StratoBlimp to autotest 2024-04-27 22:03:05 +10:00
Andrew Tridgell 6199147fe2 Tools: new parameter units 2024-04-27 22:03:05 +10:00
Randy Mackay 533b2ed7be Tools: enable GuidedModeThrust autotest 2024-04-23 15:11:24 +09:00
Iampete1 8df49d72f3 Tools: autotest: quadplane: test alt assist and transition failure action 2024-04-23 09:11:34 +10:00
Peter Barker 8125f47a15 Tools: test_param_upgrade.py: take a --master-branch parameter
Allows testing against things which are not the master branch

This requires getting nasty in terms of removing the build directory because of our missing-dependecy-file waf issues.

Also requires handling branches that don't have the "novehicle" model.
2024-04-22 13:38:37 +10:00
Peter Barker 484ce402eb autotest: helicopter: have land_and_disarm also lower the rotor speed
similarly for do_RTL
2024-04-20 12:59:27 +10:00
Peter Barker 623f0b8899 autotest: rewrite PosHoldTakeoff using newly-available methods
take advantage of new infrastructure
2024-04-20 12:59:27 +10:00
Peter Barker 5ba8755802 autotest: stop passing defaults in via --defaults to custom_sitl_commandline 2024-04-20 09:43:37 +10:00
Peter Barker ca4fd52b95 autotest: correct parameters used for Callisto 2024-04-20 09:42:55 +10:00
bnsgeyer 0bdf073f38 Tools: Add Heli Autotune Autotest 2024-04-18 20:38:53 +10:00
Tatsuya Yamaguchi 3b51278481 Tools: autotest: added HEXA X 2024-04-18 08:25:41 +10:00
Michelle Rossouw 9d470d4446 Tools: Add Freestyle model for SITL 2024-04-18 08:24:18 +10:00
Peter Barker 8e6a7f8ead Copter: correct name used to retrieve parameters for frame 2024-04-18 08:24:18 +10:00
Peter Barker 578d51574d autotest: correct command-line for sitl in FlyEachFrame 2024-04-17 22:16:08 +10:00
Peter Barker fe9fcf445e Tools: stop emitting debug as part of test_build_options.py 2024-04-17 14:06:24 +10:00
Peter Barker d0a7e70d0f autotest: correct format string in error path
name is a string, not an integer
2024-04-17 11:57:11 +10:00
Peter Barker 7f61acedd3 autotest: add test for Copter compassmot 2024-04-16 19:14:38 +10:00
Peter Barker d964d7f311 autotest: allow frame to be specified when creating simple missions 2024-04-15 16:57:09 +10:00
Peter Barker cf3cceff68 autotest: add test for GuidedModeThrust 2024-04-14 13:26:36 +10:00
Peter Barker 77cccd08a3 autotest: add test for moving from loiter to guided 2024-04-13 08:34:42 +09:00
Peter Barker 3be1b9efa6 autotest: add set_home function 2024-04-13 08:34:42 +09:00
Clyde McQueen 50015b4196 autotest: reduce SITL baro noise 2024-04-12 14:07:12 -03:00
Peter Barker 0f913b5bdf autotest: add test altitudes in camera log messages are correct 2024-04-11 22:39:09 +10:00
Peter Barker c578a18b7f autotest: add test for compass_learn=3 when using gps-for-yaw 2024-04-11 20:49:03 +10:00