Pierre Kancir
d37a74f46a
Tools: fix arm_motors_with_rc_input and disarm_motors_with_rc_input
2018-10-03 17:24:52 +10:00
Pierre Kancir
9b7e406a55
Tools: fix use of unassign variable
2018-10-03 17:19:38 +10:00
Pierre Kancir
55f4be0515
Tools: make do_set_mode function more generic
2018-10-03 16:57:01 +10:00
Pierre Kancir
b80937cbd4
Tools: add timout to arm/disarm functions
2018-10-03 16:57:01 +10:00
Peter Barker
55377b424e
Tools: autotest: add extra-configure-args option to autotest.py
2018-10-03 13:34:59 +10:00
Randy Mackay
23fd3b8f0e
Tools: update SITL sailboat default params
...
set SERVO4_FUNCTION is mainsail
enable windvane
2018-09-28 10:40:12 +09:00
Randy Mackay
851de12838
Tools: add sailboat to pysim and add default parameters
2018-09-26 12:00:13 +09:00
Peter Barker
4023f847c8
Tools: add ability for autotest to run examples
2018-09-19 22:40:20 -07:00
Peter Barker
af510801f1
Tools: autotest: use RC_CHANNELS rather than RC_CHANNELS_RAW
2018-09-12 10:06:36 +10:00
Peter Barker
a7042e3847
Tools: autotest: tweak output messages, loosen camera trigger timeout
2018-09-08 12:56:15 +10:00
Peter Barker
6e44ea13d4
Tools: autotest: do not arm vehicle before flaps test
2018-09-07 23:18:43 +10:00
Pierre Kancir
d8c53bbd9c
Tools: remove dependency on mavproxy for cmd_long based functions
2018-09-07 11:20:03 +10:00
Pierre Kancir
87a7fd0fbb
Tools: remove dependency on mavproxy for arming/disarm
2018-09-07 11:20:03 +10:00
Pierre Kancir
e278a09668
Tools: don't use strict comparison for param fetch all to cope with TYPE one's
2018-09-06 15:30:06 +10:00
Peter Barker
5d317a8ef7
Tools: autotest: clear Rover waypoints before toggling them in
2018-09-06 15:29:28 +10:00
Peter Barker
56646651c6
Tools: autotest: add test for RCn_OPTION - camera trigger
2018-09-05 13:47:19 +10:00
Peter Barker
f47823f4e4
Tools: autotest: add test for RCn_OPTION - toggling relays
2018-09-05 13:47:19 +10:00
Peter Barker
197edca772
Tools: expand test to cover use of disable-gcs-rc-overrides switch
2018-09-05 11:54:32 +10:00
Peter Barker
a9621191d8
Tools: autotest: correct descent throttle in copter fence test
...
1500 is sufficient that we may not descend.
2018-09-05 10:42:33 +10:00
Peter Barker
f1a0ebfd10
Tools: autotest: reduce verbosity of wait-for-heading
2018-09-04 10:32:26 +10:00
Peter Barker
5c7e21d38f
Tools: autotest: add test for clearing waypoints
2018-09-04 10:32:26 +10:00
Patrick José Pereira
fc1f2e4109
Tools: Update BARO_RND in sub param
...
From MS5837-30BA Ultra Small Gel Filled Pressure Sensor datasheet
The measurement depth system has a water depth resolution of 2 mm.
A standard deviation of 1.951 cm was the best result in experimental conditions
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-08-28 15:12:46 -04:00
Pierre Kancir
36d8ef1971
Tools: auto fetch parameter if in fetch_all list
2018-08-27 21:28:09 +10:00
Pierre Kancir
f6cc934678
Tools: pep8 corrections + correct variable shadowing
2018-08-27 17:08:47 +10:00
Pierre Kancir
d5c4c32529
Tools: add gripper test for copter
2018-08-27 14:39:49 +10:00
Pierre Kancir
7f601db05b
Tools: add gripper tests
2018-08-27 14:39:49 +10:00
cclauss
da7fe1055a
Tools: add missing import to arducopter.py
...
Fixes undefined names on lines 1406 and 1408
2018-08-27 11:40:47 +10:00
Pierre Kancir
aedd5a9db2
Tools: make takeoff check if it need arming and auto arm
2018-08-25 09:29:24 +09:00
Pierre Kancir
92d06c354e
Tools: rise nav_takeoff_delay_abstime delta to cope with rounding.
2018-08-25 09:28:36 +09:00
Peter Barker
a80d27eeff
Tools: autotest: fetch parameters after applying parameter file
2018-08-23 11:34:37 +10:00
Leonard Hall
519be92902
Tools: sitl gain update for hexa y6 and octaquad
2018-08-22 11:07:07 +09:00
Pierre Kancir
9c6e75f45b
Tools: allow to retry to get parameters before timeout
2018-08-21 21:26:39 +10:00
Pierre Kancir
cc8aca1619
Tools: various fixes for Copter tests
...
Tools: correct altitude check
Tools: correct tests syntax
Tools: add autotest syntax check on common
Tools: search for syntax mistake on autotest lambda
Tools: put copter in hover trottle to prevent crash
Tools: reboot after baterry failsafe test
Tools: copter takeoff wait_ready_to_arm before arming
Tools: arm copter after land on RTL
Tools: reset copter battery voltage after battery failsafe
2018-08-21 20:41:09 +10:00
Peter Barker
ac55fae1c1
Tools: autotest: add test for Copter delayed-takeoff-with-do-set-speed
2018-08-20 14:15:40 +09:00
Leonard Hall
5cc3bf311a
Tools: sitl hexa default param updates
2018-08-20 13:14:42 +09:00
Patrick José Pereira
e3d797e063
Tools: sim_vehicle.py: Print a more readable exception
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-08-20 11:13:56 +10:00
Peter Barker
2a174a5dac
Tools: add test for Sprayer-on-Rover
2018-08-17 15:33:35 +09:00
Peter Barker
0f7c837d2d
Tools: autotest: increase timeout for RTL test
...
BalanceBot is slow!
2018-08-16 16:06:00 +10:00
Peter Barker
4c89fa4b75
Tools: autotest: add tests for changing modes via MAVProxy mode command
2018-08-16 16:05:19 +10:00
Peter Barker
680f78869d
Tools: autotest: tidy and fix nav-delay test
2018-08-16 13:33:56 +10:00
Pierre Kancir
303e40f578
Tools: arducopter.py: add tolerance to takeoff alt
2018-08-15 20:06:07 +10:00
Pierre Kancir
2f9f793ccf
Tools: add arm and disarm tests
2018-08-15 16:38:20 +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
8e3b69bca0
Tools: autotest: add flaps test
2018-08-15 10:16:13 +10:00
Pierre Kancir
a8ea84a729
Tools: autotest: clean function arguments
2018-08-15 10:16:13 +10:00
Peter Barker
6e7e24ac91
Tools: autotest: raise exception, don't return it
...
Spotted by @khancyr
2018-08-15 10:16:13 +10:00
Pierre Kancir
579d471e98
Tools: use set_parameter instead of mavproxy directly
2018-08-15 10:16:13 +10:00
Peter Barker
eba8dee371
Tools: autotest: add test for delay-until-absolute-hour-minute-second
2018-08-08 08:41:22 +10:00
Peter Barker
e932f873cc
Tools: autotest: use component id 250 so we have something different to mavproxy
2018-08-08 08:41:22 +10:00
Peter Barker
b8c0199853
Tools: autotest: add test for copter's NAV_DELAY function
2018-08-07 22:37:07 +10:00
Randy Mackay
56a89c0a1c
Tools: balance bot default params for SERVOx_FUNCTION
2018-08-06 11:30:22 +09:00
Randy Mackay
ddc5b031e3
Tools: balance bot autotest params in alphabetical order
2018-08-06 11:30:22 +09:00
Peter Barker
7772279785
Tools: param_parse.py - fix vehicle-specific values
2018-08-06 12:27:56 +10:00
Peter Barker
81b1270db9
Tools: autotest: use tcp for mavproxy-to-autotest mavlink
2018-08-05 16:07:15 +10:00
Peter Barker
af37e10126
Tools: autotest: factor out starting of our our mavlink connection
2018-08-04 10:07:22 +10:00
Peter Barker
dab93750a0
Tools: add test for rc overrides
2018-08-03 13:07:50 +10:00
Pierre Kancir
a262099d35
Tools: arducopter.py: set submode change as test
2018-08-03 08:57:50 +10:00
Pierre Kancir
a930822d9d
Tools: unify exception on os.link
2018-08-03 08:40:33 +10:00
Peter Barker
0f50cf96ca
Tools: Frame_Params: correct for CH7 -> RC7 change
2018-08-02 08:26:03 +10:00
Pierre Kancir
d507805891
Tools: move guided_achieve_heading to common
2018-08-01 16:33:55 +10:00
Pierre Kancir
ef6db4da4a
Tools: correct run_cmd
2018-08-01 16:33:07 +10:00
Pierre Kancir
facc254138
Tools: move run_cmd to common
2018-08-01 16:33:04 +10:00
Andrew Tridgell
6090820bdc
autotest: disable the Drive Brake test in rover
...
this test fails far too often
2018-08-01 14:03:26 +10:00
Peter Barker
b8030816b8
Tools: autotest: add tests for mode changes for Copter and Rover
2018-08-01 12:11:30 +09:00
Michael du Breuil
90216f7cb6
Tools: Slow rover test down for CI, remove unneeded variable
2018-08-01 09:19:20 +10:00
Peter Barker
baf869f8d6
Tools: autotest: add test for autotune
2018-07-31 13:37:43 +09:00
Peter Barker
20c1c4c684
Tools: autotest: add test for guided changing submode after takeoff
2018-07-31 10:40:57 +10:00
Peter Barker
56a4cd43d4
Tools: autotest:eliminate parameter restore using contexts
2018-07-31 10:40:57 +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
Andrew Tridgell
037d7d2e74
autotest: raised timeout on set_rc()
...
when under load at high speedup the msgs can take a while to get
through
2018-07-28 18:05:12 +10:00
Ebin
9c3b7e7c7d
Tools: Autotest for balance bot
2018-07-28 08:44:18 +10:00
Ebin
d3846420aa
Tools: new default params for balance bot
2018-07-28 08:44:18 +10:00
Peter Barker
6dd8dbeb40
Tools: autotest: add ability to add breakpoints in autotest
2018-07-27 09:58:15 +10:00
Peter Barker
8c44a0d8c8
Tools: autotest: add contexts to ease reverting parameter values
2018-07-27 09:55:25 +10:00
Peter Barker
b47c63c7bd
Tools: autotest: wait_ekf_happy checks status bits rather than value
...
Based on discussions prompted by @khancyr's PR
https://github.com/ArduPilot/ardupilot/pull/8022
Check that we have bits set we want set and that bits we don't want set
aren't set. In the future we might take these bit sets as parameters.
2018-07-27 09:55:20 +10:00
Ebin
830a3bbacf
Tools: modified default params for Balance Bot
2018-07-20 14:41:32 +10:00
Andrew Tridgell
d49d5cbb85
autotest: fixed tailsitter default params for SITL
2018-07-18 19:58:02 +10:00
Peter Barker
8fdcd7e1f5
Tools: hide parameter in documentation if no values present
2018-07-17 12:08:27 +10:00
Pierre Kancir
0af97529ba
Tools: common.py : fix empty returned_value variable
2018-07-12 21:13:02 +10:00
Pierre Kancir
065a459df8
Tools: common.py : make some method statics
2018-07-12 21:13:02 +10:00
Pierre Kancir
6c43ab27c1
Tools: remove trailling semilocons
2018-07-12 21:13:02 +10:00
Peter Barker
b23ea9a47b
Tools: autotest: fix race condition on parameter values
2018-07-05 11:48:08 +10:00
Peter Barker
4c581a0522
Tools: autotest: correct invocation of build_all
2018-07-05 09:02:02 +10:00
Peter Barker
fa19c3a680
Tools: autotest: fix sub autotest
2018-07-04 14:48:41 +10:00
Peter Barker
0ae82751b8
Tools: autotest.py: flake8 compliance
...
Also fixed a bug where CalledProcessError has not been imported
2018-07-04 14:05:07 +10:00
Peter Barker
8f15a76327
Tools: autotest: sim_vehicle.py: whitespace changes for flake8 compliance
2018-07-04 09:36:48 +10:00
Michael du Breuil
7e7bbb8df6
Tools: sim_vehicle.py fixups
...
limit pkill to 15 characters, fix GDB arguments for python3
2018-07-04 09:36:48 +10:00
Andrew Tridgell
b527dce08d
autotest: use --enable-sfml for graphics
2018-07-02 10:43:48 +10:00
Andrew Tridgell
00b2cc4a93
Tools: support --osd option to sim_vehicle.py
2018-07-01 21:21:28 +10:00
Peter Barker
38898dc793
Tools: autotest: add test for vision position estimate
2018-06-30 10:11:10 +10:00
Peter Barker
b197d05476
Tools: autotest: allow for return of negative values in parameters
2018-06-29 21:39:59 +10:00
Peter Barker
975b8c2e5f
Tools: autotest: use reboot to apply parameter changes; avoid sim restart
...
Previously we stopped the simulation to ensure parameter changes are
applied to the simulated vehicle. We can now reboot the simulated
autopilot, so these patches make use of those changes.
One big advantage is that the --gdb option is in play for the applying
of the parameters to the vehicle.
2018-06-29 10:54:27 +10:00
Ebin
fd92475ce9
autotest: added more default params for balance bot
2018-06-28 21:55:20 +09:00
Ebin
6bb5aa5d36
autotest: added default params for balancebot
2018-06-28 21:55:20 +09:00
Evan Hammac
37accc96f6
Tools: Added Tyndall AFB to locatons.txt file
2018-06-27 09:37:25 +10:00
Peter Barker
7cdb05ccc0
Tools: add default-parameter-filename sanity check
2018-06-21 19:32:46 +10:00
Randy Mackay
ccb1042074
Tools: update sitl rover default params
2018-06-08 09:19:25 +09:00
Peter Barker
0b8b23baf6
Tools: adjust tests for vfr_hud getting absolute altitude
2018-06-05 09:38:20 +10:00
Michael du Breuil
177c4c2d44
Tools: Accept mAh as a unit
2018-05-26 08:49:02 +09:00
Tom Pittenger
c59be8bafe
Tools: add "octal" param unit
2018-05-23 14:02:45 -07:00