Commit Graph

4199 Commits

Author SHA1 Message Date
Pierre Kancir
98d897e790 Tools: common: implement do_set_relay and do_set_relay_mavproxy 2019-07-16 18:58:54 +10:00
Peter Barker
0952ca0abc waf: remove NuttX-based IO firmware blob 2019-07-16 10:29:05 +10:00
Peter Barker
c502ac4ce9 Tools: IO_Firmware: remove NuttX-based IO firmware blob 2019-07-16 10:29:05 +10:00
Peter Barker
c4311b4af6 Tools: waf: add -Werror=delete-non-virtual-dtor 2019-07-16 10:28:30 +10:00
Peter Barker
b208b76884 Tools: autotest: add trivial test for receiving COLLISION message 2019-07-16 09:52:54 +10:00
Peter Barker
070e9e56b3 Tools: rangefinder no longer takes SerialManager in constructor 2019-07-16 09:29:48 +10:00
Pierre Kancir
9d20a13cd4 Tools: reduce mavproxy memory usage on autotest 2019-07-14 15:52:47 +10:00
Andrew Tridgell
585631a22d Tools: added MatekF765-Wing bootloader 2019-07-13 15:23:45 +10:00
Andrew Tridgell
05b55945fc Tools: auto-build F765-Wing 2019-07-13 15:23:45 +10:00
Siddharth Purohit
eabb93f842 AP_Bootloader: change to using serusbcfg1 2019-07-12 17:01:21 +10:00
Peter Barker
bd50f288a1 Tools: autotest: get mavproxy to heartbeat at speedup rate
This should resolve a race condition we have with guided position modes.

MAVProxy's heartbeat rate defaults to 1Hz.

When GCS failsafe is active on Copter because we're in GUIDED (or
GUIDED_NOGPS mode) we require a heartbeat every 5 seconds.  At speedup
8, we can only expect a heartbeat every 8 seconds of sim time.

We also only check for this heartbeat every 3 seconds - leading to this
awesome race condition.
2019-07-12 12:48:05 +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
5987131958 Tools: update IO firmware for heater dither 2019-07-12 12:46:27 +10:00
Tatsuya Yamaguchi
4321a987f2 Tools: fix the help message 2019-07-11 15:56:49 +09:00
Tatsuya Yamaguchi
ba1903708b Tool: fix the switch-to-uart function in TFMiniPlus script 2019-07-11 15:56:49 +09:00
Pierre Kancir
12cb09a3f4 Tools: factorize sitl rangefinder setup 2019-07-11 11:52:44 +10:00
Pierre Kancir
daaf769055 Tools: add arm/disarm testing on all modes 2019-07-11 11:42:45 +10:00
Pierre Kancir
9850d1afec Tools: update with flake8
W605 invalid escape sequence '\s'
F402 import 'time' from line 10 shadowed by loop variable
E101 indentation contains mixed spaces and tabs
E703 statement ends with a semicolon
2019-07-09 12:46:39 +10:00
Peter Barker
899db3d3ac Tools: autotest: add test for sensor config error loop
Tools: autotest: exempt failing vehicles from SensorConfigError test
2019-07-09 10:01:23 +10:00
Peter Barker
7b933ffd8a Tools: autotest: add test for mission_item download
Ensures that target_system and target_component are appropriately set in
return packet
2019-07-09 09:25:06 +10:00
Peter Barker
e6b1fa507d Tools: autotest: rename get_mission_item_on_link to get_mission_item_int_on_link 2019-07-09 09:25:06 +10:00
Andrew Tridgell
97d0298295 Tools: added mRoControlZeroF7 bootloader 2019-07-09 06:31:46 +10:00
Peter Barker
001f276043 Tools: autotest: re-enable QAUTOTUNE test 2019-07-08 20:38:31 +10:00
Peter Barker
5b5f582307 Tools: autotest: present stack traces on exceptions 2019-07-08 16:51:25 +10:00
Peter Barker
6332d2e729 Tools: autotest: fix race condition with getting parameters 2019-07-08 16:51:25 +10:00
Siddharth Purohit
8de169b1ce waf: remove redundant src includes for libuavcan drivers 2019-07-08 12:18:29 +10:00
Peter Barker
306783211b Tools: waf: understand DISABLE_SCRIPTING from the board configuration 2019-07-08 09:55:46 +10:00
Andrew Tridgell
7441dcddfa Tools: updated IO firmware for IBUS support 2019-07-07 20:49:18 +10:00
Peter Barker
bb677756a0 Tools: Replay: EKF logging moved to AHRS from logger 2019-07-06 19:05:51 +10:00
Andrew Tridgell
ea212af2e5 Tools: added an example gpio.sh for the disco
trigger camera actions
2019-07-06 09:02:54 +10:00
SergeyBokhantsev
c9447776b2 Tools: autotest: correct debounce tests under Rover
Channel 8 is the mode channel under Rover
2019-07-04 11:35:05 +10:00
Peter Barker
fbb26ff52d Tools: uploader.py: py3 fix 2019-07-03 15:42:28 +10:00
Andrew Tridgell
5c5ae78dfb autotest: added plane-jet parameters 2019-07-03 08:05:09 +10:00
Peter Barker
e36231d547 Tools: autotest: loosen distance check when looking for lower point 2019-07-01 20:08:35 +10:00
Andrew Tridgell
4b8972433a Tools: fixed handling of bitmask in param metdata
this prevents ARMING_CHECK from getting invalid values for the bitmask
2019-07-01 19:22:03 +10:00
Peter Barker
89ef13d32e Tools: autotest: reference issue in disabled beacon test 2019-07-01 12:12:43 +10:00
Peter Barker
5b14be92e6 Tools: autotest: change beacon test to use EKF3 2019-07-01 07:20:58 +09:00
Peter Barker
b22fccd35d Tools: autotest: add test for beacon navigation 2019-07-01 07:20:58 +09:00
Peter Barker
6442dd1f2f Tools: autotest: make vision position test more reliable 2019-06-29 10:49:20 +10:00
Peter Barker
3c6b08e67f Tools: generate_manifest: correct detection of linux filetypes 2019-06-27 14:41:28 +10:00
DonLakeFlyer
b34b276844 Fix tab usage 2019-06-27 07:52:35 +10:00
DonLakeFlyer
e7104fb6f0 Fix heli manifest generatio 2019-06-27 07:52:35 +10:00
Peter Barker
dc75f382b8 Tools: autotest: loosen check for wait_circling_point_with_radius
Also add a timeout
2019-06-25 19:59:14 +10:00
Peter Barker
98f30fe099 Tools: script: uploader.py: add --identify option
Add option to make it absolutely clear what the MCU revision is and
whether it is flawed
2019-06-25 13:40:27 +10:00
Peter Barker
4b455afd42 scripts: uploader.py: print unplug hint when downloading firmware 2019-06-25 13:40:27 +10:00
Peter Barker
e4761e1ee4 Tools: autotest: avoid draining button change message we want 2019-06-24 10:04:39 +10:00
Peter Barker
0a2ee0f04c Tools: autotest: unshadow clear_mission method 2019-06-24 10:04:24 +10:00
Matt
ad2d7dac3e Re-enable watchdog on Solo build targets 2019-06-23 09:00:32 +10:00
Peter Barker
1827d88f9a Tools: autotest: use set_parameter for setting glitch offsets
This state was persistent across tests, which wasn't helping for
consistency.
2019-06-21 13:50:55 +10:00
Peter Barker
98cb68157f Tools: autotest: add a test for Copter surface tracking 2019-06-21 13:50:55 +10:00
Peter Barker
5992cc8782 Tools: autotest: clear mission between tests 2019-06-20 11:51:13 +10:00
Michael du Breuil
93d8f32c8f Tools: Support CubeOrange bootloader in CI 2019-06-19 11:26:44 +10:00
Michael du Breuil
4893b85983 Tools: bootloaders should not include scripting 2019-06-19 11:26:44 +10:00
Guglielmo
8f88639d38 Tools: add IMU filter test tool 2019-06-19 09:14:30 +10:00
Michael du Breuil
8c7946a9d8 Tools: Remove unneeded sitltest-scripting, it's now the default 2019-06-18 00:06:32 -07:00
Michael du Breuil
0e76afd22c Tools: Support enabling scripting by default 2019-06-18 00:06:32 -07:00
Peter Barker
4f7905331a waf: add build option to include dates in binary 2019-06-18 10:54:01 +10:00
Peter Barker
fec3dc4f70 Tools: autotest: add tests for Plane AuxSwitch mode changes 2019-06-18 10:48:47 +10:00
Michael du Breuil
0e4b751786 Replay: Fix AP_GPS.h include 2019-06-18 10:02:05 +10:00
Julien Beraud
8a4553ba0a waf: fix lib link check
-llibrary_name is already part of the link flags at this point and
libname is "liblibrary_name" so it adds -lliblibrary_name instead which
is wrong
2019-06-14 18:52:57 -07:00
kylemcilroy
b678548b70 Tools: added name to GIT_Success.txt 2019-06-15 07:08:48 +09:00
Peter Barker
553037c117 Tools: autotest: disable fence when RTLing to home
Otherwise we breach the fence while loitering...
2019-06-14 18:23:27 +10:00
Peter Barker
326e208123 Tools: autotest: allow switch to debounce in aux-switch test 2019-06-14 10:40:52 +10:00
Peter Barker
23f5fabbcf Tools: autotest: add tests for aux-switch options for mission reset and clear 2019-06-13 19:37:32 +10:00
Peter Barker
5ab000376b Tools: Replay: correct format strings 2019-06-13 13:41:27 +10:00
Peter Barker
82dd2438b9 waf: add -Werror=parentheses
This warns on some of our compilers in CI, but doesn't flag it as an
error ATM
2019-06-11 21:50:53 +10:00
Peter Barker
0aa074467b waf: add -Werror=overflow
Can catch some trivial errors.  This warns by default on gcc anyway
2019-06-11 09:12:49 +10:00
Andrew Tridgell
abb624b94b Tools: rebuilt IO fw 2019-06-08 14:31:01 +10:00
Siddharth Purohit
0eddfa9ad4 IO_Firmware: update iomcu to autodetect heater control pin active level 2019-06-08 14:31:01 +10:00
Andrew Tridgell
6a558bff2b Tools: removed PYTHONPATH setting
this was breaking mavproxy
2019-06-08 07:14:59 +10:00
Peter Barker
82f76a9367 Tools: initvagrant.sh: force-link .mavinit.scr for idempotency 2019-06-08 00:52:44 +10:00
Peter Barker
f730020b31 Tools: waf: make extra arguments in format string fatal 2019-06-07 22:03:41 +10:00
Peter Barker
5f018d0798 Tools: scripts: add dumpstack
Given a pid this script attempts to dump a stack trace of that process
to stderr
2019-06-07 22:03:41 +10:00
Andrew Tridgell
d66d1a31f0 Tools: set SITL_PANIC_EXIT for build_autotest.sh 2019-06-07 20:33:13 +10:00
Peter Barker
d8278335a1 Tools: autotest: move upload_using_mission_protocol up to common.py 2019-06-07 16:29:37 +10:00
Peter Barker
c8a4af76fe Tools: autotest: add tests for Plane fence 2019-06-07 16:29:37 +10:00
Peter Barker
10120cee54 Tools: autotest: disable horizontal fence avoidance test showing bugs 2019-06-07 15:26:39 +10:00
Peter Barker
6e13adb43c Tools: autotest: add test for fence Avoidance 2019-06-07 15:26:39 +10:00
Andrew Tridgell
78f3265f27 Tools: fixed typo 2019-06-07 07:43:44 +10:00
Peter Barker
6047ef105e Tools: autotest: correct text MAVProxy-dedupe check in mission load
This failed to protect against multiple rapid calls to load_mission
2019-06-06 10:33:28 +10:00
Andrew Tridgell
2fb8aba1b2 autotest: use build path on faster filesystem 2019-06-06 09:10:32 +10:00
Andrew Tridgell
a745bad5b0 Tools: cleanup autotest script 2019-06-06 08:42:47 +10:00
Andrew Tridgell
d81bd6530c waf: use make -j on build of ChibiOS core
using number of jobs from waf
2019-06-06 08:29:06 +10:00
Peter Barker
9ee0befb38 Tools: autotest: Copter: add avoidance test for beacon fence 2019-06-04 09:06:07 +09:00
Peter Barker
3008fe6eb5 Tools: autotest: Copter: add test for fence avoidance sliding 2019-06-04 09:06:07 +09:00
Peter Barker
acdddb8b1f Copter: autotest: Copter: add test for proximity boundary avoidance 2019-06-04 09:06:07 +09:00
Andrew Tridgell
a4c17a3913 Tools: move skip_board_waf after update_submodules in build_binaries
thanks to Peter for noticing this
2019-06-03 21:48:27 +10:00
Andrew Tridgell
1f98665699 moved build.Binaries ahead of build.All
ensure we get new builds out quickly
2019-06-03 17:59:28 +10:00
Andrew Tridgell
0b321eb84c Tools: speed up builds and report build time per build 2019-06-03 17:59:28 +10:00
斯东Stone
70c0ba5722 AP_RangeFinder: Fix typo in Benewake TFMiniPlus python tool 2019-06-02 23:40:21 -07:00
Peter Barker
e9552ec4e1 Tools: autotest: more efficient set_rc_from_map 2019-06-02 10:02:24 +10:00
Andrew Tridgell
3f71a84894 Tools: timestamp build steps
try to track down what is slow
2019-05-31 07:36:16 +10:00
Andrew Tridgell
6690e38ee3 Tools: added in vehicletype
request from Michael
2019-05-30 15:36:41 +10:00
Peter Barker
6fd138d613 Tools: Replay: build and link against AP_Arming 2019-05-30 07:37:30 +09:00
Peter Barker
3ed55ea3c5 Tools: autotest: add drain_mav_unparsed and use it 2019-05-28 20:41:56 +10:00
Peter Hall
fbc2650449 Tools: autotest: update sailboat default params 2019-05-28 08:35:58 +09:00
Andrew Tridgell
7c65d89c34 Tools: call gen_stable from build_binaries.py 2019-05-25 11:50:02 +10:00
Lucas De Marchi
0afd58fb99 Tools: add helper script for TFMini Plus
This allows to easily change the sensor back and forth between I2C and
UART modes.
2019-05-24 01:47:04 -07:00
Peter Barker
8d90b09829 Tools: autotest: add tests for upload/download rally using mission protocol
Tools: autotest: add tests for mission clearing

Tools: autotest: add tests for out-of-range mission counts

Tools: autotest: add test for Plane DO_CHANGE_SPEED
2019-05-22 08:53:45 +10:00
Peter Barker
9e8e48c9c6 Tools: autotest: add test for Plane DO_CHANGE_SPEED 2019-05-21 13:06:07 +10:00