Commit Graph

3802 Commits

Author SHA1 Message Date
Peter Barker d858569544 Tools: scripts: build_ci.sh: factor out run_autotest function 2018-10-03 15:20:17 +10:00
Patrick José Pereira a543023e1b Tools: Build CI with clang
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-10-03 13:56:37 +10:00
Patrick José Pereira 8b2ccc87aa Tools: Move from clang3.7 to clang7
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-10-03 13:34:59 +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
Francisco Ferreira 434afa268e
waf: change ChibiOS ld script path back to relative
Fixes #9461
2018-09-21 09:29:32 +01:00
Peter Barker 4023f847c8 Tools: add ability for autotest to run examples 2018-09-19 22:40:20 -07:00
Siddharth Purohit 6622c9b8fd HAL_ChibiOS: wrap sscanf and snprintf methods 2018-09-19 12:14:15 +10:00
Andrew Tridgell 19dae42c4f travis: added build of iofirmware 2018-09-19 12:14:15 +10:00
Siddharth Purohit 56afc44c56 ardupilotwaf: add support for controllers with different arm cortex and related configs 2018-09-19 12:14:15 +10:00
Siddharth Purohit 6fee72b0c0 waf: add flags for F1 controller support and more debug features 2018-09-19 12:14:15 +10: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
Andrew Tridgell 3d42abe816 Tools: added speedybee bootloader 2018-09-07 08:33:35 +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
Adam Watkins 2fe3535fd8 Docker: add Dockerfile for Docker container support 2018-09-05 11:29:33 +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
Peter Barker 35330e8caa Tools: ardupilotwaf: add -Werror=unused-result for all boards 2018-09-04 09:22:18 +10:00
Peter Barker c902260925 Tools: remove extra running of unit tests from build_ci.sh 2018-09-03 09:57:38 +01:00
Peter Barker 95f7b1aeb7 Tools: add dummy AP::camera method to avoid linking camera 2018-08-31 15:48:56 +10:00
Francisco Ferreira 37b9e76737 Tools: update CI scripts
Remove old CMake PPA (Trusty has a more recent version)
Remove ccache from APT install since we build it from source
Update ccache to version 3.4.2
Add extra checks for compiler presence
Since no ccache DB is saved between builds we don't limit its size anymore and Make builds can use it
2018-08-30 16:34:56 -07:00
Peter Barker 4543604085 Tools: scripts: build_ci.sh: build and run unit tests in ci 2018-08-31 07:59:25 +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
Peter Barker 3a1afc4bf1 Tools: boards.py: make float-equals fatal in sitl 2018-08-28 09:54:47 +10: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
Peter Barker 5bd1f57a2a Tools: ardupilotwaf: add -Werror=return-type to all boards 2018-08-21 20:34:01 +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
cclauss 650ee3f441 Python 3 treats old style exceptions as syntax errors 2018-08-19 20:37:06 +10:00
Patrick José Pereira 8e76f0f6d9 scripts: Add mavproxy in pip install
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-08-18 09:32:13 +10:00
Ameer91 705049c9a8 Tools: add my name in GIT_Success.txt
adding name to GIT
2018-08-17 15:37:19 +09:00
Peter Barker 2a174a5dac Tools: add test for Sprayer-on-Rover 2018-08-17 15:33:35 +09:00
Peter Barker 4915c72f10 Tools: add sprayer to standard libraries 2018-08-17 15:33:35 +09:00
ChristopherOlson 2d89bcaef6 Tools:TradHeli - update param files to lower gains for ACCZ_P, and Position Controller velocity request 2018-08-17 15:05:04 +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
Randy Mackay 31bfedafa2 Tools: add arduroller balance bot parameter defaults 2018-08-11 12:56:51 +09:00
ChristopherOlson cbe68b4a91 Tools:TradHeli - update Copter3.6 setup params and add param files for QGC
add new Copter3.5 to 3.6 upgrade params to set the PSC, LOIT
and NAV controllers for New Loiter and new Position Controller
2018-08-09 08:42:19 +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
Andrew Tridgell a4e50e1626 waf: use the current python interpreter for sub-commands 2018-08-07 14:40:36 +10:00
Andrew Tridgell 36af9eecdf waf: fixes for python 3.7 2018-08-07 14:40:36 +10:00
vierfuffzig bc52d430f9 Chibios add bootloader for mini-pix 2018-08-07 07:09:39 +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
Andrew Tridgell de66554948 Tools: added OmnibusNanoV6 bootloader 2018-08-06 11:07:44 +10:00
Matt d0a613225f Frame_Params: Update for Solo on AC36-RC7 2018-08-06 09:34:02 +09:00
Peter Barker 81b1270db9 Tools: autotest: use tcp for mavproxy-to-autotest mavlink 2018-08-05 16:07:15 +10:00
Lucas De Marchi 668c941717 Global: use new version of ARRAY_SIZE 2018-08-04 15:31:55 +10:00
Peter Barker af37e10126 Tools: autotest: factor out starting of our our mavlink connection 2018-08-04 10:07:22 +10:00
Andrew Tridgell 9727328e0c AP_Bootloader: updates for new ChibiOS version 2018-08-03 13:44:59 +10:00
Andrew Tridgell c5f3beb297 waf: added --enable-asserts option for ChibiOS 2018-08-03 13:44:59 +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
Lucas De Marchi 604deaf4ba Frame_params: remove safety mask from intel-aero-rtf
Now we can build without it, so there's no need to set this param.
2018-08-02 13:15:02 -07: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
Henry Wurzburg 33a7d2fef8 Add OmnibusNanoV6 board to builds 2018-08-01 12:32:38 +10: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
Andrew Tridgell cdaf839c4b Tools: added OmnibusNanoV6 bootloader 2018-07-30 19:32:29 +10:00
Peter Barker c5d0599d4c Tools: vagrant: enable ccache for vagrant user 2018-07-30 15:19:28 +10:00
Andrew Tridgell fcab097572 Tools: updated CI link for STM32-tools 2018-07-30 14:16:11 +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
Andrew Tridgell ccc1170c8c Tools: auto-build Pixhawk1 2018-07-27 10:02:31 +10:00
Andrew Tridgell bed26fa137 Tools: added Pixhawk1 bootloader 2018-07-27 10:02:31 +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
Andrew Tridgell 4022a17d3b waf: fixed upload on Linux 2018-07-26 08:52:56 +10:00
Jani Hirvinen 62cf45659b adding support for win/cygwin installations 2018-07-24 12:40:23 -07:00
Christian Llanes d86dbee18b Tools: Added name to GIT_Success.txt 2018-07-21 08:24:19 +10:00
Ebin 830a3bbacf Tools: modified default params for Balance Bot 2018-07-20 14:41:32 +10:00
Andrew Tridgell ff0f293d06 Tools: added KakuteF7 bootloader 2018-07-19 17:06:40 +10:00
Stephen Dade 0130ff9b89 Tools - updated URL and git submodule command for install-prereqs 2018-07-19 14:52:05 +09:00
Andrew Tridgell 9cba2c9bd3 Tools: fixed build target for F4BY 2018-07-18 21:24:44 +10:00
Andrew Tridgell 578f17c45a Tools: rename f4by-ch to F4BY 2018-07-18 21:24:29 +10:00
Andrew Tridgell 34e9a6e693 Tools: added f4by to autobuild list 2018-07-18 21:11:44 +10:00
Alexander Malishev f265d7e128 AP_Bootloader: add f4by bootloader 2018-07-18 21:10:39 +10:00
Andrew Tridgell d49d5cbb85 autotest: fixed tailsitter default params for SITL 2018-07-18 19:58:02 +10:00
Andrew Tridgell 07871cb867 Tools: rename revo405_bl to F4LightF405_bl
this is the general bootloader used for F4Light. Prevents confusion
for ChibiOS users
2018-07-18 17:49:54 +10:00
Stephen 651a7030aa Tools: Add quotes in ChibiOS waf file
Without these quotes, the ChibiOS build fails if there are spaces in the Ardupilot path, ie ``C:\Stephen Dade\files\ardupilot``
2018-07-18 12:55:29 +10:00
Peter Barker 8fdcd7e1f5 Tools: hide parameter in documentation if no values present 2018-07-17 12:08:27 +10:00
Michael du Breuil 8ab3b666fa Tools: Remove unused ADC include 2018-07-17 09:29:50 +10:00
Andrew Tridgell 44cfb6eaca Tools: added KakuteF7 to builds 2018-07-13 14:53:53 +10:00
Andrew Tridgell 087aa1a199 Tools: decode SITL device IDs 2018-07-13 10:19:01 +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
Andrew Tridgell 3b951471f0 Tools: added bootloaders for mRoX21 and Pixracer 2018-07-12 12:33:32 +10:00
Andrew Tridgell 20d1d9dc36 Tools: build Pixracer and mRoX21 in autobuild 2018-07-12 12:33:32 +10:00
Luis Vale Gonçalves 0e6780e18b Update tap and update pre-reqs
Update tap to ardupilot and updated the pre-reqs
2018-07-11 12:14:07 -07:00
Andrew Tridgell 1e2065e381 waf: recognise CubeBlack USB IDs 2018-07-11 09:26:59 +10:00
Andrew Tridgell 7e166a4a38 Tools: added bootloaders for PH4, PH4-mini and CUAVv5 2018-07-10 18:29:14 +10:00
Andrew Tridgell 7c3a75b609 Tools: added auto-build of PH4, PH4-mini and CUAVv5 boards 2018-07-10 18:29:14 +10:00
Andrew Tridgell 7316a478b6 AP_Bootloader: fixed rcc reset when no USB 2018-07-09 20:59:51 +10:00
Andrew Tridgell 655828d2f8 waf: use wildcard OSD fonts for SITL 2018-07-09 19:41:56 +10:00
Andrew Tridgell d2996677cf waf: auto-compress ROMFS files 2018-07-09 19:41:56 +10:00
Andrew Tridgell bf901aff49 AP_Bootloader: support building without USB
this allows for a bootloader on a board with no USB pins defined in
hwdef.dat
2018-07-09 08:35:15 +10:00
Andrew Tridgell 950be3fc17 waf: stop build if OSD libs missing and requested 2018-07-08 08:22:40 +10:00
Randy Mackay cc0b3705e9 Tools: default param file for Thunder Tiger Toyota Hilux 2018-07-06 14:47:15 +09:00
Andrew Tridgell 7c55c60beb Tools: run configure_all.py in build_all 2018-07-06 10:21:12 +10:00
Andrew Tridgell 7ceb83ae9d Tools: added configure test for all boards 2018-07-06 10:21:12 +10:00
Peter Barker 357a57f68a Tools: Replay: implement more dummy camera methods to avoid linking camera 2018-07-06 09:43:09 +10:00
Andrew Tridgell 2c1be910d8 Tools: removed a lot of ancient AVR code 2018-07-06 09:04:15 +10:00
Peter Barker b23ea9a47b Tools: autotest: fix race condition on parameter values 2018-07-05 11:48:08 +10:00
Andrew Tridgell 43ab8d88bf Tools: fixed test for supported boards 2018-07-05 09:17:44 +10:00
Peter Barker 4c581a0522 Tools: autotest: correct invocation of build_all 2018-07-05 09:02:02 +10:00
Andrew Tridgell b97fa4c978 Tools: allow pattern of boards to build_bootloaders.py 2018-07-05 07:53:48 +10:00
Andrew Tridgell 09d0d980a0 Tools: updated cube bootloaders 2018-07-05 07:53:48 +10:00
Andrew Tridgell ca96cf33e9 Tools: added CubeBlack and CubeOrange bootloaders 2018-07-05 07:53:48 +10:00
Andrew Tridgell 9def39f89f Tools: auto-build CubeBlack 2018-07-05 07:53:48 +10:00
Andrew Tridgell 2e427475cf Tools: added bootloader docs 2018-07-04 19:11:10 +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
Pedro Villegas 48d00de030 Tools: added name to GIT_Success.txt 2018-07-04 11:55:26 +09: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 1dece80c88 waf: fixed error with no ROMFS files 2018-07-03 14:05:37 +10:00
Andrew Tridgell f78b84805c waf: don't generate hex files if intelhex module not installed 2018-07-02 12:47:58 +10:00
Andrew Tridgell b527dce08d autotest: use --enable-sfml for graphics 2018-07-02 10:43:48 +10:00
Andrew Tridgell 8ba137bd9a waf: moved ROMFS embed script into waf folder 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
Andrew Tridgell 355269115e waf: support --enable-osd option 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
Andrew Tridgell a7ecbf29aa waf: define CHIBIOS_BOARD_NAME 2018-06-29 20:27:36 +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
Andrew Tridgell e2f5ae6a4c Tools: update bootloaders
added bad protocol protections
2018-06-29 08:17:38 +10:00
Andrew Tridgell 95b2587c76 waf: use ardupilot uploader for HAL_PX4 2018-06-29 08:17:38 +10:00
Andrew Tridgell c955d7b824 AP_Bootloader: fixed issue loading NuttX firmwares
NuttX assumes a lot more about MCU state on startup
2018-06-29 08:17:38 +10:00
Andrew Tridgell d470c161e8 AP_Bootloader: protect against random input to bootloader
require both a good sync and get_device before accepting destructive
operations
2018-06-29 08:17:38 +10:00
Lucas De Marchi 981a575aa2 Frame_params: rename some aerofc parameters
Now that we don't panic() on unknown parameters, we can boot even with
wrong parameters. This brings the default parameters of aerofc to be up
to date.

The following parameters were not removed and will be warned:

WPNAV_LOIT_JERK
WPNAV_LOIT_MAXA
WPNAV_LOIT_MINA
WPNAV_LOIT_SPEED

There are no clear substitute for those, so they are staying until we
know if they should be renamed/changed/removed.
2018-06-28 10:18:19 -07: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
Andrew Tridgell 576d1a145d Tools: updated bootloaders 2018-06-28 11:35:13 +10:00
Andrew Tridgell c44a8309f9 AP_Bootloader: fixed strncmp bug 2018-06-28 11:35:13 +10:00
Andrew Tridgell 28ad2287c8 AP_Bootloader: for fast boot don't init USB 2018-06-28 11:35:13 +10:00
Andrew Tridgell b6e057dfb9 AP_Bootloader: use RTC sig for fast boot 2018-06-28 11:35:13 +10:00
Andrew Tridgell bff796af4e Tools: removed annoying print msgs 2018-06-28 11:35:13 +10:00
Andrew Tridgell 8ae6b2e026 waf: fixed dependency of hwdef.h on hwdef.dat 2018-06-27 11:37:45 +10:00
Andrew Tridgell d12cf0ab59 waf: added -Werror on signed comparison 2018-06-27 11:37:45 +10:00
Evan Hammac 37accc96f6 Tools: Added Tyndall AFB to locatons.txt file 2018-06-27 09:37:25 +10:00
Lucas De Marchi 49d08ba72a Global: remove minlure
Minlure is a port of ArduPilot to Minnow Board connected to daughter
board. Very few of those were produced and nobody is flying with it.

It served its purpose and all the the improvements to ArduPilot remain
regardless of it not being supported anymore. Now it's just adding
maintenance work with no clear benefit, so pull the plug.
2018-06-26 07:32:08 -07:00
Andrew Tridgell fe4a18d5f3 Tools: updated bootloader binaries
faster upload, and fixed a number of bugs
2018-06-25 21:22:31 +10:00
Andrew Tridgell f3a2d63747 Tools: don't generate a _with_bl file for the bootloader itself 2018-06-25 21:22:31 +10:00
Andrew Tridgell 77929dabb3 Tools: fixed python3 error in make_intel_hex.py 2018-06-25 21:22:31 +10:00
Andrew Tridgell 0546ea69d1 AP_Bootloader: fixed build with no uarts 2018-06-25 21:22:31 +10:00
Andrew Tridgell 0ebd05aa1a AP_Bootloader: support changing baudrates on UARTs 2018-06-25 21:22:31 +10:00
Andrew Tridgell fe4aa4bbc7 AP_Bootloader: support uarts and usb for bootloading 2018-06-25 21:22:31 +10:00
Andrew Tridgell 5b208b401f AP_Bootloader: skip erasing already erased pages 2018-06-25 21:22:31 +10:00
Andrew Tridgell b5fc7f10f3 AP_Bootloader: added flash size limiting on old CPUs 2018-06-25 21:22:31 +10:00
Andrew Tridgell 4fbd1e409f AP_Bootloader: make flashing a bit faster 2018-06-25 21:22:31 +10:00
Andrew Tridgell 1c73c133a9 waf: fixed binary generation order 2018-06-24 20:24:06 +10:00
Andrew Tridgell 949af17fa4 Tools: save _with_bl.hex files in firmware download 2018-06-24 20:15:38 +10:00
Andrew Tridgell 623a30be55 waf: build hex file with and without bootloader
this allows for DFU tools without losing parameters
2018-06-24 16:47:23 +10:00
Andrew Tridgell f73ca2a6ba waf: speed up the bootloader build
don't need to build all libraries
2018-06-24 15:57:51 +10:00
Andrew Tridgell f202ff87e2 Tools: only build one target for revo-mini 2018-06-24 08:26:28 +10:00
Andrew Tridgell 4997898c5b Tools: added bootloaders for new boards 2018-06-24 08:26:28 +10:00
Andrew Tridgell 3900949d19 Tools: build a lot more board binaries 2018-06-24 08:26:28 +10:00
Tom Pittenger 49de205a06 Tools: Git Success - Tom Pittenger 2018-06-23 19:39:54 +10:00
Peter Barker b555370e07 Tools: build_binaries: remove build directory before configure
with recent changes this should actually be marginally faster than
keeping old build products around
2018-06-23 17:51:45 +10:00
Andrew Tridgell 5b46adf3fb waf: fixed chibios upload 2018-06-23 17:06:53 +10:00
Andrew Tridgell e2d29fe1db Tools: install intelhex package for CI 2018-06-23 17:06:38 +10:00
Andrew Tridgell 8fbe57c82e Tools: added new bootloaders 2018-06-23 17:06:38 +10:00
Andrew Tridgell 338ff6ae64 waf: automatically build intel hex fw when possible
this combines the bootloader and application code into a single binary
2018-06-23 17:06:38 +10:00
Andrew Tridgell 4cafcc4eae travis: added revo-bootloader to CI
this ensures the bootloader build will keep working
2018-06-23 17:06:38 +10:00
Andrew Tridgell ae1d1cad5e Tools: added a script to build all bootloaders 2018-06-23 17:06:38 +10:00
Peter Barker b94e31b21a Tools: remove warning about native clang builds
These appear to be stable now
2018-06-22 16:49:05 +10:00
Andrew Tridgell 290f050575 waf: enable gccdeps, using gcc dependencies
this is considerably faster than the way dependency system
2018-06-22 11:13:03 +10:00
Andrew Tridgell ad49f4fdbf waf: fixed declaration of ap_romfs_embedded.h 2018-06-22 11:13:03 +10:00
Andrew Tridgell a7ce864296 AP_Bootloader: added mcu files 2018-06-22 08:06:41 +10:00
Andrew Tridgell c1d4362555 AP_Bootloader: added MCU descriptions 2018-06-22 08:00:31 +10:00
Andrew Tridgell 14f66461a7 HAL_ChibiOS: shrink build size for bootloader
thanks to @sh83 for the idea
2018-06-22 08:00:31 +10:00
Alexander Malishev c28296e6f2 AP_Bootloader: added simple std c function to reduce flash space 2018-06-22 08:00:31 +10:00
Andrew Tridgell f0e0b1baaa AP_Bootloader: only build bootloader when --bootloader configured 2018-06-22 08:00:31 +10:00
Andrew Tridgell 4c2c2012a6 waf: allow for "./waf bootloader"
easier build of the bootloader
2018-06-22 08:00:31 +10:00
Andrew Tridgell 0ae25787c0 waf: added a --bootloader configure option
this selects hwdef-bl.dat instead of hwdef.dat, allowing for
bootloader config to be kept in the same directory as the main
hwdef.dat
2018-06-22 08:00:31 +10:00
Andrew Tridgell 6771a3d65a waf: support Hex USB IDs in px_uploader.py 2018-06-22 08:00:31 +10:00
Andrew Tridgell e7c43b9df7 AP_Bootloader: initial version of ChibiOS bootloader 2018-06-22 08:00:31 +10:00
Peter Barker 7cdb05ccc0 Tools: add default-parameter-filename sanity check 2018-06-21 19:32:46 +10:00
Peter Barker 5665feb29e Tools: Replay: use AP_FWVersion singleton 2018-06-18 19:10:37 +01:00
Peter Barker e9a07bdd6f Tools: create CHIBIOS_GIT_VERSION build-time define 2018-06-18 19:10:37 +01:00
Shingo KANEKO 0199a6b273 Tools: Add my name 2018-06-18 09:59:17 +09:00
haru ad6fca8e57 Tools: Update GIT_Success.txt 2018-06-16 11:15:37 +09:00
Peter Barker 09a9abb3a8 Tools: include AP_RTC in all waf builds 2018-06-15 08:01:22 +10:00
Peter Barker 684482295e Tools: include Gripper in all builds 2018-06-11 19:07:39 +01:00
Randy Mackay 8c485e1a9e Tools: set ground effect comp in tradheli default parameters 2018-06-08 09:51:50 +09:00
Randy Mackay ccb1042074 Tools: update sitl rover default params 2018-06-08 09:19:25 +09:00
Andrew Tridgell 76750a1d9d scripts: added fmuv5 to autobuild 2018-06-08 09:56:41 +10:00
Andrew Tridgell 11b327e336 scripts: update decode_devid.py for new IMUs 2018-06-06 07:15:41 +10:00
Peter Barker 0b8b23baf6 Tools: adjust tests for vfr_hud getting absolute altitude 2018-06-05 09:38:20 +10:00
Michael du Breuil dcc25838fb CI: Run param parse last, on all CI instances
This makes param parse failures much more obvious in the CI logs, as
well as ensuring that both Semaphore and Travis will fail on bad
parameter data (which should reduce user confusion when one service
passes and the other fails).
2018-06-05 09:11:09 +10:00
Randy Mackay 3ecc0ea6c8 Tools: add hydrotek boat default parameters 2018-05-29 16:07:55 +09:00
Yuuji Awata 945a392409 Tool: Add name to GIT_Success.txt 2018-05-29 08:20:30 +09:00
Randy Mackay f2ac48a33e Tools: update holybro kospi1 default 2018-05-28 10:42:21 +09:00
Randy Mackay 268fac0fba Tools: default params for Holybro Kospi1 2018-05-28 10:11:45 +09:00
Michael du Breuil 177c4c2d44 Tools: Accept mAh as a unit 2018-05-26 08:49:02 +09:00
Eugene Shamaev 68ec9f4119 Tools: add CAN bus declaration for the intel aero board 2018-05-25 13:53:17 +10:00
Lucas De Marchi 2916a3f40c build: add --apstatedir for Linux boards
This is the --localstatedir that is found on other
buildsystems/programs + the package directory. We could provide a
--localstatedir instead to be similar to the others, but I thought it
would be too confusing for the help message.
2018-05-24 08:00:33 -07:00
Tom Pittenger c59be8bafe Tools: add "octal" param unit 2018-05-23 14:02:45 -07:00
Jesse Millwood 014702fc64 Changed Argument Parsing for sim_vehicle.py
The arguments now properly pare the arguments passed through to the
ardupilot instance and to mavproxy.
2018-05-23 17:34:24 +10:00
Francisco Ferreira ddb45a0813 waf: move skyviper-v2450-px4 definitions to board config 2018-05-22 08:35:01 +09:00
Eugene Shamaev 797fc84e92 Tools/CPUInfo: type conversion 2018-05-22 08:35:01 +09:00
Andrew Tridgell a17979383d autotest: fixed single and coax motor ranges 2018-05-21 13:04:13 +10:00
Yuuya Fujiwara abc8208028 Tools: Add name to GIT_Success.txt 2018-05-21 09:46:56 +09:00
seitakataro a4e208c6cc Tools: Added my name to GIT_Success.txt 2018-05-21 09:42:56 +09:00
Peter Barker d320e8517d Tools: correct check for realpath 2018-05-17 17:27:43 +10:00
Peter Barker ee01687c55 Tools: fix autotest/valgrind on Vagrant virtual machines 2018-05-17 17:27:43 +10:00
Michael du Breuil 82d486add0 Tools: Add proximity as a common library 2018-05-16 23:21:41 +01:00
Andrew Tridgell cc931e9a2a waf: allow F4Light USB ID to be recognised 2018-05-16 20:24:23 +10:00
murata 47b0e00b11 autotest: Added test field location. 2018-05-16 09:57:08 +09:00
Peter Barker 3615219c4c Tools: install-prereqs-ubuntu: correct check for realpath 2018-05-16 08:35:54 +10:00
Peter Barker fd4463de68 Tools: add more information on test failure 2018-05-15 20:06:05 +09:00
Peter Barker 23a2ea4084 Tools: autotest: set rc to 1500 on RTL 2018-05-15 20:06:05 +09:00
Guilherme Sousa dab3b93dc3 autotest: Improved motor failure test
This is based on https://github.com/ArduPilot/ardupilot/pull/6028 by
GuilhermeGSousa
2018-05-15 20:06:05 +09:00
Peter Barker 5f44327dab Tools: install-prereqs-ubuntu: only install realpath package if available
This has been rolled into coreutils in more recent Ubuntus
2018-05-15 12:52:03 +10:00
Buzz 0f39c4da80 Tools: install-prereqs-ubuntu.sh: increase verbosity
Make it a bit more verbose in regard to which script is running, helpful for new user/s especially.
2018-05-15 12:09:32 +10:00
Buzz b3e8618f9d Tools: initvagrant.sh: increase verbosity
- it needs to be run as root, but did not check.
 - increase the verbosity a bit as during 'vagrant up' as its often unclear which script is actually running.
2018-05-15 12:08:56 +10:00
Buzz f5b2d5ca66 Tools: jsbsim script should not re-install jsbsim if it's already installed
It's called unconditionally from other script/s that may be run repeatedly
2018-05-15 12:08:19 +10:00
Andre Kjellstrup 63c1439c39 geotag.sh - an advanced geotagging tool.
It can do all, tag by time, with offset, by CAM messages, detect and
help correct problems, and process multiple logs(flights) at once.
2018-05-15 11:30:21 +10:00
LAPTOP-HP031GUH\waga 6b13e211ba Tools: Add name to GIT_Success.txt 2018-05-14 06:08:14 +10:00
stephen.dade ce31c55091 Tools - added extra packages for Cygwin environment setup scripts 2018-05-12 10:59:10 +09:00
Peter Barker 167553e8a5 Tools: autotest: tidy usage and simplify vehicle build steps 2018-05-11 13:43:33 +10:00
ChristopherOlson 087fd4effc Tools: Add default tuning params for single-rotor TradHeli
Tunes PSC, LOIT, NAV, ATC specific to Copter 3.6 and New Loiter
2018-05-11 12:28:14 +09:00
Peter Barker f3d6d8e236 Tools: autotest: make Copter tests more reliable
RTL may disarm the vehicle on completion.  We RTL at several times in
the testing, and the subsequent tests were not rearming.  This means we
had a race condition.

We now explicitly wait to be disarmed by the RTL mode, and rearm the
vehicle.

This is an interim patch until we decide whether to make each "test"
self-contained, and have a precondition of "on ground and disarmed".
2018-05-11 08:07:21 +09:00
Daisuke IMAI 04dbb0dd9d Tools: Add name to GIT_Success.txt 2018-05-10 13:38:19 -07:00
Peter Barker 4847a61868 Tools: build all vehicles in build-with-disabled-features 2018-05-10 17:55:13 +09:00
Andrew Tridgell 6ab96fe8a9 Tools: don't publish elf files in build_binaries.py
these just confuse users of ChibiOS
2018-05-10 17:37:59 +10:00
Peter Barker 58f4b4b65d Tools: autotest: correct copter auto mission test 2018-05-09 14:23:51 +10:00
Peter Barker 513865ae4d Tools: autotest: flake8 compliance 2018-05-09 14:23:51 +10:00
Karthik Desai 40cd0cd17f Tools: autotest: Use the generic run_test.
If any of the tests throws an exception, it will be caught by the generic test function
that collects all errors and displays them before passing the result to the vehicle testcode.
Hence the name of the test and the exception that got raised get printed in a single
location. This nicely reduces code duplication.
2018-05-09 14:23:45 +10:00
Karthik Desai 7a20dd8b73 Tools: autotest: Added a generic run_test.
This function is called from every vehicle to run a test. If any of the tests throws an exception, it will be caught here, and the name of the test and the exception that got raised will be added to the fail_list
2018-05-09 14:23:40 +10:00
Karthik Desai b485867db3 Tools: autotest: Check if the mode exists in the dictionary 2018-05-09 14:23:35 +10:00
Karthik Desai d26c09ccac Tools: autotest: Add and raise exceptions for wait_* helper functions 2018-05-09 14:23:26 +10:00
Andrew Tridgell 9096bcf7b2 Tools: fixed reference to linux-debug 2018-05-09 14:17:32 +10:00
Pierre Kancir cc50fff51f Tools: install-prereqs-ubuntu: add xterm to SITL install list 2018-05-09 13:38:36 +10:00
Dimitri Vasilkov d2c247bb90 Added to success.txt, added UChicago to locations.txt 2018-05-08 13:42:31 -07:00
Patrick José Pereira 9dee2c4981 Tools: Add ardusub
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-05-08 09:58:13 +10:00
Patrick José Pereira f4559113c5 Tools: Update build_docs script
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-05-08 09:58:13 +10:00
Peter Barker cb2e3424ee Tools: add kilobytes as known unit 2018-05-08 09:36:01 +10:00
Randy Mackay f8711f70c9 Tools: correct sitl rover-skid default params
steering rate P gain was too high, default is better
2018-05-05 10:13:06 +09:00
Lucas De Marchi 997d9f58de build: invert default for header checks
In the end the build time is always almost the same, but it's a pain to
change one header and have it check the world. CI continues to use the
check so we can get any mistake before merging.
2018-05-04 11:47:04 -07:00
Lucas De Marchi 73edda697d build: align help options
While it's aesthetically nice to start the help message in a new line
looking at the code, the first \n screws the output leaving them not
aligned.
2018-05-04 11:47:04 -07:00
Lucas De Marchi 9342bc5050 build: invert default for lttng
Since it's a debug option, particularly for the scheduler, leave it
disabled by default and let the user enable on demand.
2018-05-04 11:47:04 -07:00
Lucas De Marchi 4697089a82 build: move Linux configuration options to its own sections 2018-05-04 11:47:04 -07:00
Peter Barker 4e53d9e1a8 Tools: correct flashing under Linux 2018-05-04 18:37:14 +10:00
Andrew Tridgell 3b143a99bf autotest: removed sitl-debug varient 2018-05-04 18:33:53 +10:00
stephen.dade 76cc014245 waf: Allow spaces in paths when compiling for ChibiOS targets 2018-05-04 12:47:06 +10:00
Andrew Tridgell 835484429d waf: don't build ChibiOS with debug by default
this makes builds (and rebuilds with ccache) faster
2018-05-04 12:17:12 +10:00
mirkix f4a38d6f2a Linux_HAL_Essentials: PocketPilot: change pinorder to final design 2018-05-04 08:00:49 +10:00
Andrew Tridgell 9e76555152 autotest: added --no-extra-ports option for sim_vehicle.py 2018-05-02 19:24:20 +10:00
Pierre Kancir a43183ec14 Tools: sim_vehicle.py: Allow to pass custom param file 2018-04-26 22:40:49 +01:00
Randy Mackay 94a1a025f1 Tools: update AION R1 default params 2018-04-26 14:07:08 +09:00
Andrew Tridgell 2aceab2b66 Replay: fixed build 2018-04-24 21:33:10 +10:00
khancyr 9ade6cd579 Replay: Remove AP_InertialNav 2018-04-24 21:33:10 +10:00
Randy Mackay 7f7a588002 Tools: add accel and turn-rate max and increase steering angle P
these parameters were added to Rover-3.3
2018-04-23 11:06:34 +09:00
Peter Barker 5b03835103 Tools: autotest: correct pattern match in get_parameter 2018-04-18 20:31:55 +09:00
Peter Barker 802e4c6315 Tools: autotest: add tests for relays 2018-04-18 20:31:55 +09:00
Karthik Desai 75ae59c0c8 Autotest: Remove frame initialisation.
This will otherwise override the --frame parameter. The init() function takes care of the initialisation
2018-04-17 23:00:04 +10:00
Randy Mackay 1b26f8527a Tools: remove RC params from eLAB445 param file 2018-04-17 08:35:36 +09:00
Randy Mackay 741d641876 Tools: remove unused real-flight default param files 2018-04-17 08:32:25 +09:00
Andrew Tridgell 5fb8fe927c waf: added AP_ROMFS to build 2018-04-17 08:44:44 +10:00
Andrew Tridgell a14fbb201f Tools: added IO_Firmware for fmuv2 2018-04-17 08:44:44 +10:00
Randy Mackay 781a0b457b Tools: update WLToys v383 roll and pitch rate gains 2018-04-13 18:38:38 +09:00
Pierre Kancir 332560bdf7 Tools: add Skeytech location 2018-04-12 16:34:59 +01:00
murata 0fd71f909c autotest: Add the home ground of ArduPilot drone software engineer training school in Japan. 2018-04-12 14:21:58 +09:00
Andrew Tridgell 02f20b4114 HAL_ChibiOS: first version of OMNIBUSF7V2 board support
first F7 based board
2018-04-12 11:50:44 +10:00
Andrew Tridgell 827108617a waf: only generate an abin file when needed
this saves on user confusion
2018-04-11 15:09:49 +10:00
Michael du Breuil f19d01332b Tools: Reintroduce arduplane to CI script 2018-04-11 13:26:29 +10:00
Peter Barker b4682f8b2a Tools: scripts: build_binaries.py: understand magic ChibiOS boards 2018-04-10 15:48:31 +10:00
Peter Barker 1b3dc9faf7 Tools: scripts: build_binaries.py: remove tmpdir between all builds
This ensures we don't reuse build producs incorrectly.
2018-04-10 15:48:31 +10:00
Peter Barker 4a986264be Tools: build_binaries: add fmuv{2,3,4} and mindpx-v2 to common vehicles 2018-04-10 15:48:31 +10:00
Randy Mackay 2f26b3faa1 Copter: update HeliQuad param file
fix servo range and reverse params
2018-04-09 16:42:38 +09:00
Randy Mackay 80e5742d77 Tools: correct HeliQuad param file 2018-04-09 08:42:00 +09:00
Andrew Tridgell 8eaac031af waf: added AP_BLHeli 2018-04-07 09:10:29 +10:00
Andrew Tridgell c50359a5b5 waf: throw an error if hwdef.dat can't be processed 2018-04-07 09:10:29 +10:00
Randy Mackay 8186ce0d32 Tools: add deg/s/s to valid parameter units 2018-04-05 12:14:59 +09:00
Peter Barker 9138c07fc5 Tools: install-prereqs-ubuntu: install wx for python on older Ubuntus
This installs wx on Trusty, so graphing from sim_vehicle.py works.
2018-04-04 07:58:23 +10:00
Peter Barker 1348e37ef0 Tools: Vagrant: install a mavinit.scr 2018-04-04 07:58:23 +10:00
Peter Barker a03ddc6798 Tools: autotest: correct default parameter names and paths 2018-03-29 09:19:36 +11:00
Michael du Breuil 69cf009898 AutoTest: Update copter battery failsafe test 2018-03-27 22:12:21 +01:00
Michael du Breuil 8fbec1cfa3 Replay: Support GCS_MAVLink changes 2018-03-27 22:12:21 +01:00
Peter Barker dca866c98d Tools: make parameter generation failure clearer 2018-03-26 12:39:23 +11:00
Andrew Tridgell 98ab1c13db Tools: fixed call to apj_tool in skyviper build 2018-03-24 16:11:50 +11:00
Peter Barker cafa5382e9 Tools: Revert "Tools: autotest: use custom gcc for ChibiOS builds"
This reverts commit 78a3e1d07a.

Apparently we can release with the existing compilers, it builds and
flies just fine
2018-03-23 13:06:59 +11:00
Andrew Tridgell 97565ef97f Tools: added F412 bootloader 2018-03-23 12:28:16 +11:00
Peter Barker 6dfdb19711 Tools: include VisualOdom in common vehicle libraries 2018-03-23 09:28:07 +09:00
Karthik Desai 9de1813ae6 Autotest: Fix a race condition on the regression tests on Windows 2018-03-23 09:13:37 +09:00
Peter Barker 78a3e1d07a Tools: autotest: use custom gcc for ChibiOS builds 2018-03-23 11:06:24 +11:00
Peter Barker a396a0d0fd Tools: build_binaries.py: copy more build products into output binaries directory 2018-03-23 11:06:24 +11:00
Peter Barker 53f4282458 Tools: include skyviper-v2450 in binaries produced 2018-03-23 11:06:24 +11:00
Peter Barker 44a063e818 Tools: ardupilotwaf: chibios: change directory before running make_abin.sh
Any waf build which is done outside of the git checkout will fail to create the abin without this, as it attempts to invoke git.

An example of this is the autotest system
2018-03-23 11:06:24 +11:00
Peter Barker edd0f74ec0 Tools: ardupilotwaf: chibios: hand apj tool an absolute path to parameters
Any waf build specifying an --out which is not at the same level as the default "build" will fail without this
2018-03-23 11:06:24 +11:00
night-ghost a5934c721e Bootloader: bl revo405_bl fixed reboot to DFU mode, also added "instant" reboot without delay 2018-03-23 07:48:40 +11:00
Peter Barker 5aa8890e5b Tools: autotest: fail convertgpx if zip or gpsbabel fail 2018-03-22 09:11:44 +11:00
Peter Barker 338af9e142 Tools: correct misleading comment on per-vehicle parameter descriptions 2018-03-21 21:05:42 +11:00
Peter Barker 15450b956d Tools: sim_vehicle.py: make --tracker work again 2018-03-21 11:46:47 +11:00
chobits 8b72809e37 Tools: fix motor rpm display in flightgear 2018-03-21 08:50:04 +09:00
Peter Barker 2b87f6dcca Tools: autotest: replace use of distutils.dir_utils
distutils.dir_utils.mkpath was throwing a file-not-found error
2018-03-21 10:27:58 +11:00
Peter Barker 8511c2c04b Tools: autotest: factor out apply_parameters_using_sitl
Three of our models start a SITL instance to apply parameters
then restart it so that the parameter changes can take effect.

Factor that functionality out.
2018-03-20 08:39:12 +11:00
Peter Barker fe3b882bea Tools: autotest: move close method up to common.py 2018-03-20 08:39:12 +11:00
Peter Barker 31ba99e58a Tools: autotest: use buildlogs_path for all buildlogs 2018-03-20 08:39:12 +11:00
Peter Barker b2cb6e196c Tools: autotest: pull common MAVProxy options into common.py 2018-03-20 08:39:12 +11:00
Peter Barker b908af10b7 Tools: autotest: remove non-working dump-logs script
We removed CLI from ArduPilot; this script will no longer work
2018-03-20 08:39:12 +11:00
Peter Barker 5fbb385c31 Tools: autotest: avoid exception when using Python3 on MacOSX
File "./Tools/autotest/sim_vehicle.py", line 999, in <module>
location)
File "./Tools/autotest/sim_vehicle.py", line 573, in start_vehicle
run_in_terminal_window(autotest, cmd_name, cmd)
File "./Tools/autotest/sim_vehicle.py", line 476, in
run_in_terminal_window
tabs = p.findall(out)
TypeError: cannot use a string pattern on a bytes-like object
SIM_VEHICLE: Killing tasks
2018-03-19 12:36:55 +11:00
Lucas De Marchi 5282ed3a1b Tools: use ins singleton 2018-03-16 00:37:35 -07:00
Peter Barker b348cfa985 Tools: autotest: flake8 compliance
Taking the opportunity to make massive changes while we're destroying
history anyway.
2018-03-15 07:54:21 +09:00
Pierre Kancir 259dda810d Tools: use base class to share code between vehicle tests
Autotest: common.py add new base class and test

Autotest : Common add heartbeat handling on wait_mode timeout

Autotest: common.py add reach_heading_manual and reach_distance_manual

Autotest: new autotest implementation for Rover

Autotest : rover add drive_square test

Autotest: new autotest implementation for Copter

Autotest: new autotest implementation for Plane

Autotest: new autotest implementation for Sub

Autotest: new autotest implementation

Autotest: new autotest implementation for QuadPlane

Autotest : Sub disable GCS_Failsafe on autotest to prevent timeout. The failsafe aren't currently tested on Sub
2018-03-15 07:54:21 +09:00