Commit Graph

265 Commits

Author SHA1 Message Date
Peter Barker 0b517cfc57 autotest: start GDB in tui mode by default 2021-06-10 20:52:48 +10:00
Peter Barker 6944ef6af1 autotest: fly each working Helicopter frame 2021-06-09 12:15:42 +10:00
arsh 45f1d03bda autotest:Copter test fix for some frames
removed some lines

Whitespace messages removal
2021-06-08 16:50:37 +10:00
Pierre Kancir cf350a52e9 Tools: Autotest: add --coverage option 2021-06-02 14:42:59 +10:00
Pierre Kancir 7e389afbec Tools: allow to build examples and tests with debug 2021-05-26 18:46:03 +10:00
Peter Barker 76678ffaf3 autotest: fix octa-cwx in SITL 2021-05-01 13:25:13 +10:00
Peter Barker 5172e767df autotest: fix octa-dji in SITL 2021-05-01 13:25:13 +10:00
Peter Barker 63ba484087 autotest: add test which flies each frame we can 2021-05-01 13:25:13 +10:00
Randy Mackay 0b9753b12f Tools: autotest add vehicle info for rover-vectored 2021-04-08 08:47:07 +09:00
Peter Barker c350268918 autotest: correct compilation of Replay in autotest suite 2021-04-05 16:39:36 +10:00
Peter Barker f0094bac40 autotest: remove copied-in duplicate of pymavlink rotmat 2021-04-03 13:26:06 +11:00
Peter Barker 2c6bdd200c autotest: fix make_safe_filename for Valgrind
Valgrind treats this as a format string so the % is bad
2021-04-02 20:51:18 +11:00
Michelle Rossouw cd18e16ffb autotest: added blimp simulator type 2021-03-31 12:27:07 +11:00
bugobliterator 48277b43e4 Tools: add autotest for checking GPS ordering 2021-03-12 16:32:36 +09:00
Peter Barker 33fee211a4 autotest: extend pexpect timeouts when running under Valgrind 2021-02-17 18:16:04 +11:00
Peter Barker ad2ab333f9 Tools: autotest: allow autotest to connect directly to SITL 2021-01-24 09:25:45 +11:00
Andrew Tridgell c396d15890 Revert "autotest: ensure defaults files don't set already-default-values"
This reverts commit 3d431cd4f1.

It breaks MissionPlanner SITL. We can re-apply once MissionPlanner
copes with external_model.
2021-01-20 08:54:43 +11:00
Peter Barker 3d431cd4f1 autotest: ensure defaults files don't set already-default-values
autotest: mark some vehicles as having external physics models

autotest: add default_params_filename to some vehicle info
2021-01-19 10:34:00 +11:00
Peter Barker 7d86cc08ad autotest: correct SITL commandline for no default parameter file 2021-01-19 10:34:00 +11:00
Peter Barker 210b0e7c5f autotest: stop emitting port 14550 all the time
this can confuse other things going on on the same machine.  It is still
available by specifying --viewerip if desired
2021-01-18 21:46:43 +11:00
Peter Barker e9c6c08a97 autotest: remove 'make' compatability from sim_vehicle 2021-01-18 16:24:09 +11:00
murata 2d55c2c42f pysim: Support for decacopters 2020-12-08 11:59:10 +11:00
Andrew Tridgell 025cf8f72b autotest: cleanup load_local_module 2020-11-10 16:15:45 +11:00
Andrew Tridgell 690af580c9 autotest: abstract out load_local_module()
this will be useful for other tests
2020-11-10 16:15:45 +11:00
bugobliterator c72c96fa9c Tools: setup CI test for CANBus 2020-11-04 19:59:40 +11:00
Andrew Tridgell 16bede2d74 Tools: allow for -f Callisto as frame type
loads json and params
2020-10-28 14:20:44 +11:00
Pierre Kancir acc4a1db3f Autotest: remove special case for vicon and default vicon for copter to false 2020-08-17 21:17:26 +10:00
Peter Barker a0258f351d autotest: disable gdb pagination 2020-07-03 22:07:16 +10:00
bugobliterator 183e50b31f autotest: fix autotest on mac os x 2020-05-17 16:12:43 +10:00
Peter Barker 475027e03a Tools: autotest.py: add --enable-math-check-indexes 2020-04-28 15:12:39 +10:00
Peter Barker 10e8f3f3d7 autotest: canonicalise on defaults_filepath rather than defaults_file
This naming better represents the fact this isn't just a filename.
2020-04-14 15:09:17 +10:00
Peter Barker 691ae58a79 Tools: rename APMrover2 to Rover 2020-04-14 09:50:34 +09:00
Peter Barker 9511fa59ec autotest: permit specification of frame as part of customing cmdline 2020-04-12 20:34:26 +10:00
Samuel Tabor 5082c9be8b SITL: Add plane-soaring type, including parameters, mission, simulated thermals and glider sim settings. 2020-04-08 09:11:54 +10:00
Peter Barker 67a3610f54 autotest: correct dangling path separator issue in PYTHONPATH 2020-03-04 19:36:18 +11:00
Peter Barker 8deaa36f5a autotest: neaten start of MAVProxy, add debug showing cmdline
Attempting to diagnose failure of MAVProxy to find rline.py on the
autotest server.
2020-03-03 21:40:20 +11:00
Rishabh f22e818161 Autotest: support new motor orders 2020-02-19 11:28:25 +09:00
Rishabh 5e08d503ea Autotest: support new motor orders 2020-01-29 16:57:23 +09:00
Rajat Singhal 842822bb47 Tools: autotest: Add airsim-rover vehicle 2020-01-23 15:12:50 +11:00
Peter Barker 881eadb993 autotest: add Tools/mavproxy_modules to PYTHONPATH in autotest
So we can find random MAVProxy helper modules like sitl_calibration
2020-01-01 13:06:28 +11:00
Andrew Tridgell 061d778bfd SITL: improved AirSim quadX tuning
and move params to normal location, so they are found with
sim_vehicle.py
2019-12-17 15:40:00 +11:00
Peter Barker fecca9a559 autotest: add tests for serial RangeFinder drivers 2019-12-03 09:07:09 +11:00
Willian Galvani e190d99bc6 SITL: Add 6dof frame for Sub 2019-11-11 07:39:57 -08:00
Peter Barker c5f52a8355 Tools: autotest: tests for new fence code
Tools: autotest: move clear_mission up, use it before running each test

Also have it understand MAV_MISSION_TYPE_ALL

Tools: autotest: add tests for polyfence

Tools: autotest: add tests for multiple inclusion polyfences

Tools: autotest: ensure we can't arm inside a circle exclusion zone

Tools: autotest: add test for arming outside an inclusion zone

Tools: autotest: add tests for upload timeout

Tools: autotest: add tests for not arming due to polygon zones

Tools: autotest: add test for fence point reboot survivability

Tools: autotest: add test for moving fence point

Tools: autotest: add some tests via MAVProxy

Tools: autotest: add test for avoiding polygonal exclusion zones

Tools: autotest: add test for object avoidance

Currently disabled as it doesn't pass where it seemingly should.

Tools: autotest: skip MAVProxy tests on older MAVProxy versions

Tools: autotest: adjust fence loading for lack of string back from MAVProxy

Tools: autotest: create a do_RTL function

Tools: autotest: cope with loading QGC-style fence files

Tools: autotest: add test for object-avoidance in guided mode

Tools: autotest: add OA test for auto mode

Tools: autotest: add test for bendy ruler in guided mode

Tools: autotest: adjust for new MAVProxy fence module not emitting old strings

Tools: autotest: add tests for prearming due to bad parameter values
2019-09-28 07:58:48 +09:00
Andy Piper 5f34ec6578 Tools: support lldb debugging for sim_vehicle and autotest 2019-09-26 09:02:11 +10:00
Peter Barker 03e317fed8 Tools: autotest: send SIGTERM to processes before killing them
This allows coverage atexit functions to run
2019-09-23 19:36:38 +10:00
Peter Barker 642935fd43 Tools: random Python cleanups based on lgtm analysis 2019-09-21 22:26:03 +10:00
Peter Hall ac237eea4b Tools: autotest: update sailboat default params and add sailboat-motor frame 2019-08-14 09:26:01 +09:00
Anthony Velte 892ad11552 Tools: Add scrimmage simulator to sim_vehicle.py 2019-08-13 10:07:26 +10:00
Rajat Singhal ffdf520a01 autotest: enable airsim SITL backend 2019-07-17 07:26:50 +10:00
Pierre Kancir 1f9adf1f3b Tools: remove log module from default autotest modules 2019-07-16 18:58:54 +10:00
Pierre Kancir 21fe1e54e5 Tools: unload relay module from autotest defaults 2019-07-16 18:58:54 +10:00
Pierre Kancir 9d20a13cd4 Tools: reduce mavproxy memory usage on autotest 2019-07-14 15:52:47 +10:00
Peter Barker 87e43d6e44 Tools: autotest: add option to disable breakpoints at sim startup 2019-07-12 12:48:05 +10:00
Andrew Tridgell 5c5ae78dfb autotest: added plane-jet parameters 2019-07-03 08:05:09 +10:00
Andrew Tridgell 7bf7d85a12 autotest: support new motor orders 2019-02-06 11:17:35 +11:00
Peter Barker 0440106c16 autotest: allow autotest with valgrind to cope with new operator
this is needed for recent versions of valgrind. Without it valgrind
doesn't know that new clears memory
2018-12-07 08:40:39 +11:00
Peter Barker 55377b424e Tools: autotest: add extra-configure-args option to autotest.py 2018-10-03 13:34:59 +10:00
Randy Mackay 851de12838 Tools: add sailboat to pysim and add default parameters 2018-09-26 12:00:13 +09:00
Pierre Kancir f6cc934678 Tools: pep8 corrections + correct variable shadowing 2018-08-27 17:08:47 +10:00
Peter Barker aa36d20aa1 Tools: autotest: add steps to autotest to build and run unit tests
This is Linux-specific ATM
2018-08-15 12:11:43 +10:00
Peter Barker 9cd8745394 Tools: autotest: allow use of --gdb when no DISPLAY available
OTOH, screen will be required....
2018-07-30 11:18:40 +10:00
Peter Barker 6dd8dbeb40 Tools: autotest: add ability to add breakpoints in autotest 2018-07-27 09:58:15 +10:00
Peter Barker 38898dc793 Tools: autotest: add test for vision position estimate 2018-06-30 10:11:10 +10:00
Ebin 6bb5aa5d36 autotest: added default params for balancebot 2018-06-28 21:55:20 +09:00
Peter Barker ee01687c55 Tools: fix autotest/valgrind on Vagrant virtual machines 2018-05-17 17:27:43 +10:00
Peter Barker b2cb6e196c Tools: autotest: pull common MAVProxy options into common.py 2018-03-20 08:39:12 +11:00
Patrick José Pereira 560d8b88d8 Tools: Add gazebo-bluerov2 on vehicleinfo.py
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2017-12-26 09:12:56 +11:00
Andrew Tridgell bf9779b63a autotest: default plane simulator to 'plane'
this is good enough for most people and avoids an external dependency
2017-11-06 15:44:26 +11:00
mirkix 6bc4ab638a Tools: Add SITL tilthvec frame and default parameters 2017-09-18 21:20:39 +10:00
Peter Barker 20bfb82a7b Tools: autotest.py: add --no-clean and --no-configure options 2017-09-11 12:45:27 +10:00
Peter Barker a7b919f025 Tools: do not attach gdb to gdbserver unless --gdb is given 2017-08-24 21:37:06 +10:00
Miguel Arroyo 38297c4d19 Tools: Adds GDBServer with screen option for debugging 2017-08-24 21:37:06 +10:00
Andrew Tridgell f5d91f63d2 autotest: fixed firefly parameters 2017-08-20 09:37:00 +10:00
Peter Barker 84e4e282f0 Tools: autotest: use copter-single for most of copter-coax parameters 2017-07-05 17:34:09 +01:00
Peter Barker a6de3b6865 Tools: use heli params for most of heli-dual params 2017-07-05 17:34:09 +01:00
Peter Barker 9948bed2a2 Tools: use rover params for most of rover-skid params 2017-07-05 17:33:32 +01:00
Andrew Tridgell 392d990950 autotest: added dspoiler parameters for plane
and simplify vtail and elevon parameters
2017-07-03 11:17:42 +10:00
Andrew Tridgell 228cba2524 autotest: fixed default frame type in sim_vehicle.py 2017-06-02 16:53:55 +10:00
murata 75e770c83c Tools: add support for dodeca-hexa 2017-05-27 14:21:13 +09:00
Peter Barker 96cfba971c Tools: vehicleinfo: factor out a default_frame method 2017-05-26 16:53:07 +09:00
Peter Barker 3a9ac2ef40 Tools: pull out vehicle metadata into a library 2017-05-26 16:53:07 +09:00
Pierre Kancir bec09b9a57 autotest: python3 support 2016-11-09 11:48:22 -03:00
Pierre Kancir 5786d66ea1 autotest: simplify start_sitl 2016-11-09 11:48:22 -03:00
Peter Barker 30233ab9b8 Tools: unhide groups when generating parameters in autotest 2016-10-26 09:53:14 +11:00
Andrew Tridgell 26e1c30b19 autotest: avoid a race condition in quadplane test
this shows up on the new (faster) autotest server
2016-09-08 15:28:20 +10:00
Pierre Kancir 9e1ffcae5d Tools: update python coding style
Tools: update PrintVersion.py coding style

autotest: update python coding style

pysim: update python coding style

jsb_sim: update Python coding style

param_metadata: update Python coding style
2016-09-01 13:05:11 +10:00
Peter Barker b23f983459 autotest: add --gdb option to autotest.py 2016-06-27 18:14:55 -03:00
Peter Barker efef39732e autotest: pass any supplied -j through to waf make 2016-06-05 09:45:58 +10:00
Peter Barker 8cf49d4e3e Tools: create build_examples.py, a replacement for build_examples.sh 2016-06-04 12:33:14 -03:00
Peter Barker 3548f90d3a autotest: create SIL object to hold valgrind logpath 2016-05-27 08:07:07 -03:00
Peter Barker ced07906ad Tools: correct valgrind run in autotest.py 2016-05-27 08:07:07 -03:00
Peter Barker 7b86a05722 Tools: convert autotest build.X and fly.X to use waf build system 2016-05-27 08:07:07 -03:00
Ricardo de Almeida Gonzaga 1062aed91e Tools: Fix typos 2016-05-13 19:20:07 -03:00
Andrew Tridgell 6e418c2cf5 autotest: always sleep for 3 seconds on starting SITL 2016-01-11 09:31:13 +11:00
Andrew Tridgell decb6dbab0 autotest: added option of autotest with gdb 2016-01-10 21:26:50 +11:00
Andrew Tridgell 9e43d5a4bb autotest: added defaults_file option to start_SIL() 2016-01-09 16:26:51 +11:00
Andrew Tridgell f4c61acbc2 autotest: removed old python antennatracker simulator 2015-06-01 14:20:27 +10:00
Andrew Tridgell 532839d7dd autotest: remove old python simulators 2015-05-25 12:22:28 +10:00
Andrew Tridgell 0d20167294 autotest: removed earth-frame rates usage
work only with rates in body frame
2015-05-25 08:42:21 +10:00