Commit Graph

3881 Commits

Author SHA1 Message Date
Michael Oborne a24f870a0d apj_tool: fix binary writes 2018-12-06 08:34:26 +11:00
Andrew Tridgell acf379cd77 autotest: allow sim_vehicle 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-05 09:09:56 +11:00
Matt 5d000613a5 Frame_params: Update Solo's required parameters
Adds Solo parameter files for  Copter 3.7 on both Cube Black and Cube
Green.  Updates the file names for the existing Solo Copter 3.6 and
Copter 3.5 parameter files.  The 3.7 files are now referenced by the
Solo's ChibiOS hwdef files.
2018-12-04 12:54:55 +09:00
Peter Barker 8949cdd87a Tools: waf: use ctx rather than build for fatal errors 2018-12-01 09:41:24 +11:00
John Wilbraham 8f5f664e9f Tools: added name to GIT_Success.txt 2018-11-30 15:06:25 +09:00
Peter Barker dd88e6e85c Tools: autotest: correct wait_servo_channel_value error path
Also make flaps test a little more verbose
2018-11-29 09:48:31 +11:00
Peter Barker a8fa17e7fd Tools: LogAnalyzer: exempt CTUN.DSAlt from NaN check 2018-11-29 08:35:39 +11:00
Andrew Tridgell b9b00e0f53 Tools: updated IO firmware
fixed SBUS output init bug
2018-11-28 14:46:51 +11:00
Andrew Tridgell ffeeedb0aa Tools: updated IO firmware 2018-11-28 10:35:50 +11:00
Andrew Tridgell c40f4f1ba6 Tools: new IO firmware
this incorporates the improvements for DSM parsing and drop in ISR
latency
2018-11-27 09:38:18 +11:00
Peter Barker 02993b4ad0 Tools: autotest: delay between transitioning aux switch for arming
... on the theory that we debounce these so it's a good idea to give the
RC library a good look at each value
2018-11-26 17:35:07 +11:00
Peter Barker 88a003edd9 Tools: autotest: flake8 compliance 2018-11-24 08:30:02 +11:00
Stephen a4243d9c7c Tools: Remove hard-coded path to MAVProxy 2018-11-23 08:59:42 +11:00
Andrew Tridgell 4b1857b3aa waf: use local pymavlink
use pymavlink from modules, not from install. This allows building
without pymavlink installs, and ensures we use the current version
2018-11-19 10:06:23 +11:00
z120ts 4bec75dd44 Tools: add name to Git_Success 2018-11-16 20:24:18 +09:00
kjm104 e0bb2ede9d Tools: update GIT_Success.txt 2018-11-16 20:22:17 +09:00
Peter Barker cb7eec8fbe Tools: autotest: rover1.txt: ArduPilot doesn't use the current-wp param 2018-11-16 10:06:25 +11:00
Peter Barker d604515e79 Tools: autotest: copter_mission: remove value in unused parameter in RTL 2018-11-16 10:06:25 +11:00
Peter Barker 84bd1868be Tools: autotest: copter_mission: zero p3; Copter does not use it 2018-11-16 10:06:25 +11:00
Peter Barker 7f434cc14f Tools: autotest: copter_mission: zero unused land parameter 2018-11-16 10:06:25 +11:00
Peter Barker a781f088fd Tools: autotest: copter_glitch_mission: zero unused land parameter 2018-11-16 10:06:25 +11:00
Peter Barker 5a88483a81 Tools: autotest: ap1.txt remove content from unused field
ArduPilot doesn't use the value from this field
2018-11-16 10:06:25 +11:00
Peter Barker f84370bb04 Tools: autotest: consolidate mission-loading functions
Also add sanity checks for mission loading

Tools: autotest: add missing import for arduplane.py
2018-11-16 10:06:25 +11:00
Peter Barker 8b36565b6c Tools: autotest: disable terrain in optical flow test
It is possible this is the cause of the unreliability of this test; the
rangefinder sees step-jumps in its readings.
2018-11-16 09:02:15 +11:00
Andrew Tridgell c8efff7ddc Tools: updated IO firmware for DSM fix 2018-11-15 19:54:36 +11:00
Peter Barker a75d678e7f Tools: autotest: add tests for precision loiter and landing 2018-11-15 19:03:01 +11:00
Andrew Tridgell e6651b01bb waf: use direct import of mavgen for mavlink generation
this avoids a path problem on windows under eclipse
2018-11-15 14:39:11 +11:00
Andrew Tridgell 304eaa7782 waf: fixed typo 2018-11-15 09:55:14 +11:00
Peter Barker 1d2f8555c0 Tools: ardupilotwaf: adjust for new location of uploader.py 2018-11-15 09:55:14 +11:00
Peter Barker 072195ad99 Tools: web-firmware: update firmware flashing instructions 2018-11-15 09:55:14 +11:00
Peter Barker d0f070d05d Tools: rename px_uploader.py into uploader.py, move into scripts 2018-11-15 09:55:14 +11:00
Peter Barker dce68757fc Tools: web-firmware: remove flashing instructions for apm1 and apm2 2018-11-15 09:55:14 +11:00
Peter Barker d780af4f16 Tools: web-firmware: strip APM from vehicle names 2018-11-15 09:55:14 +11:00
rrrtry 785c130a8f Tools: add my name to GIT_Success.txt 2018-11-14 16:55:03 +09:00
Michael du Breuil 472cd9f48c Tools: Add a runtime scripting check flag 2018-11-14 01:41:35 +00:00
Francisco Ferreira ff77000d93 waf: support changing board to build without re-configure
This allows to use the board option when building as long as it has been configured before

As we don't want to force configuration of all boards each single time, auto-configuration support now has to be done per-board
2018-11-13 10:30:34 +11:00
Francisco Ferreira 2e3b4df47e waf: don't fail on missing pkg-config
Also remove unneeded wrapper method and use standard waf
2018-11-13 10:30:34 +11:00
Francisco Ferreira 389a9ee88b waf: add option to disable gccdeps 2018-11-13 10:30:34 +11:00
Francisco Ferreira 9bdbd37d98 waf: boards: use existing abstract class definition
Remove special case for removing ChibiOS base board class and use the pre-existing way

Make board name list order be case-insensitive

Also fix some space in blank lines
2018-11-13 10:30:34 +11:00
Francisco Ferreira 1e036e4d4e waf: boards: small change to use waf standard 2018-11-13 10:30:34 +11:00
Andrew Tridgell c5c55dd5c1 Tools: added bootloader for MatekF405-STD 2018-11-11 07:07:52 +11:00
Andrew Tridgell 495a2a3870 Tools: added MatekF405-STD to autobuild 2018-11-11 07:07:52 +11:00
Andrew Tridgell 6b5088207b autotest: upload failed CI logs to autotest server 2018-11-10 21:23:02 +11:00
anzukintoki 03ee4bfd9a Tools: add my name to GitSuccess 2018-11-10 09:49:22 +09:00
Peter Barker c0af0cfe70 Tools: autotest: improve debug on optical limits test 2018-11-09 15:50:07 +11:00
Peter Barker 769192fed7 Tools: ardupilotwaf: make type narrowing an error 2018-11-09 15:49:35 +11:00
Andrew Tridgell 4eb867efc2 waf: always link AP_LandingGear
needed for RC_Channel
2018-11-09 14:35:14 +11:00
Andrew Tridgell 46f3b5d109 Tools: updated IO firmware 2018-11-08 20:55:47 +11:00
Andrew Tridgell c18c867fec Tools: added omnibusf4v6 bootloaders 2018-11-08 12:07:47 +11:00
扇拓矢 f00636e794 Tools: add my name to GitSuccess 2018-11-08 09:12:59 +09:00
Andrew Tridgell 5935722968 Tools: updated IO firmware 2018-11-07 07:35:45 +11:00
Andrew Tridgell 96380b1ff0 Tools: updated IO firmware 2018-11-07 07:35:45 +11:00
Andrew Tridgell 329357f7a2 Tools: updated IO firmware 2018-11-07 07:35:45 +11:00
Andrew Tridgell 2054be0ce1 waf: omit bootloader for px4-v2 build
This saves 8k of flash, and allows the plane stable release for older
Pixhawk1 boards to build
2018-11-07 07:35:45 +11:00
Andrew Tridgell f452d5c752 Tools: new IO firmware 2018-11-07 07:35:45 +11:00
ymrssk 38eed4ba84 Tools: add my name to GitTest 2018-11-06 18:57:21 +09:00
Giacomo Ornati 83a1d0d07a Tools: modify of Git_Success.txt with my name 2018-11-06 08:11:15 +09:00
kohse0810 7d16888067 Tools: add my name to Git_Success.txt 2018-11-05 12:19:50 +09:00
Peter Barker f94755b5a1 Tools: autotest: collect logs correctly for Sub 2018-11-05 12:45:52 +11:00
Andrew Tridgell 76f4b132b2 Tools: build omnibusf4v6 2018-11-04 22:02:05 +11:00
Peter Barker 7600d3205a Tools: correct race condition in interlock check 2018-11-04 21:38:15 +11:00
sal-mo a513707de7 Tools: Update GIT_Success.txt 2018-11-02 10:43:17 +09:00
Andrew Tridgell 4ae35ee3ea Tools: temporarily revert to NuttX IO firmware
heater pin is inverted, leading to cube overheat. Fix will go in shortly
2018-11-02 09:08:33 +11:00
Randy Mackay 8a57f63e5d Tools: sailboat autotest param default enable SITL wind speed sensor
some of these should be defaulted in APMRover2/Parameters.cpp but this is not working correctly yet
2018-11-01 18:04:19 +09:00
Peter Barker 5452730fc9 Tools: Replay: make it work again
Tools: Replay: ignore setting of LOG_DISARMED

Otherwise log files that come in with LOG_DISARMED false don't get any
significant output

Tools: Replay: apply user parameters after any PARM message

Tools: Replay: emit timestamp when EKF is force-started

Tools: Replay: use stderr for what it's good for

Tools: Replay: force log disarmed
2018-10-31 16:05:33 +11:00
Peter Barker af66d72510 Tools: Replay: correct -n command-line argument 2018-10-31 16:05:33 +11:00
Peter Barker 961aac454b Tools: Replay: use Log_Write for CHEK message 2018-10-31 16:05:33 +11:00
Michael du Breuil 645afbab82 ardupilotwaf: Add ROMFS for scripting 2018-10-30 16:17:03 -07:00
Andrew Tridgell 6f0fab6da9 Tools: updated bootloaders for pullup/pulldown fix
these were affected by the bug in the handling of pullup/pulldown
2018-10-31 08:15:42 +11:00
Peter Barker 4e82250055 Tools: autotest: add test for Copter loiter-to-alt 2018-10-30 17:50:46 +09:00
Peter Barker 432b1fda3a Tools: autotest: add tests for AP_Mount 2018-10-30 17:19:14 +11:00
Peter Barker a01c915173 Tools: autotest: improve debug in arm-with-radio 2018-10-30 15:37:18 +11:00
Peter Barker f290a72d9c Tools: autotest: add test for camera trigger distance 2018-10-30 15:37:18 +11:00
Peter Barker dc6a03f5e0 Plane: mission library handles gripper 2018-10-30 15:37:18 +11:00
Peter Barker 2157999307 Tools: autotest: add tests for gripper mission items 2018-10-30 15:37:18 +11:00
Andrew Tridgell f612c2cfce Tools: added script to build and copy iofirmware 2018-10-30 14:00:03 +11:00
Andrew Tridgell 192244bb6d IO_Firmware: updated iomcu firmware 2018-10-30 13:00:48 +11:00
Andrew Tridgell b3b5415081 waf: added --use-nuttx-iofw configure option
this allows building with the old NuttX based IO firmware. The default
is the ChibiOS based firmware
2018-10-30 13:00:48 +11:00
Andrew Tridgell 58435ad506 IO_Firmware: include both NuttX and ChibiOS IO firmwares 2018-10-30 13:00:48 +11:00
Peter Barker 7c0e5b9929 waf: include AC_Avoid on all vehicles 2018-10-30 12:10:42 +11:00
Peter Barker bb5aa4d195 Tools: add test for proximity avoidance switch 2018-10-30 12:10:42 +11:00
Lucas De Marchi cbe462fa57 Tools: add ist8308 to devtype dict 2018-10-25 20:19:30 -07:00
Lucas De Marchi e85b37ffc4 Tools: allow to decode devid in hex 2018-10-25 20:19:30 -07:00
Patrick José Pereira fac329dd16 Tools: Add ArduSub test
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-10-24 10:20:08 +11:00
Peter Barker 8985cc05c7 Tools: autotest: raise exception on get_parameter failure 2018-10-23 14:49:44 +11:00
Peter Barker 6585b6036d Tools: waf: add -Werror=return-type to all boards 2018-10-23 12:53:28 +11:00
Peter Barker b8e1d26708 Tools: autotest: reduce dummy streamrate
Given we have trouble with the amount of data flowing around, doubling
this seems somewhat unfortunate.
2018-10-23 10:35:21 +11:00
Andrew Tridgell 1c3d90d8b5 scripts: added DrotekP3Pro to autobuild 2018-10-21 09:59:44 +11:00
Willian Galvani bf1429ead7 Tools: Autotest: Fix ArduSub autotest 2018-10-21 09:01:14 +11:00
Andre Kjellstrup 9ebb11ecd9 Location: added Elvenes airport (ENLV) 2018-10-20 18:25:29 +11:00
Peter Barker 33a215e8be Vagrant: correct init script so profiles work; cosmic support
Had to increase the memory allowed to the machine as it appeared to be
running out
2018-10-19 20:13:01 +11:00
Peter Barker e9d6c47f76 Tools: autotest: correct lamda->lambda 2018-10-19 08:54:56 +11:00
Peter Barker a66cc52573 Tools: autotest: provide description of exceptions in constructors 2018-10-19 08:52:44 +11:00
Peter Barker 99090b7170 Tools: build_ci.sh: enable math index checking for sitltest-rover 2018-10-19 08:46:43 +11:00
Peter Barker d4c3caf592 Tools: ardupilotwaf: add enable-math-check-indexes configure option 2018-10-19 08:46:43 +11:00
Andrew Tridgell de39318f6d autotest: increase GPS AUTO glitch timeout
this was timing out in CI
2018-10-17 13:56:06 +11:00
Andrew Tridgell 686d92aac5 Tools: added new bootloaders 2018-10-16 16:17:04 +11:00
Peter Barker af6e308108 Tools: scripts: configure_ci.sh: install numpy so quaternions work 2018-10-16 13:39:26 +11:00
Peter Barker 40ac2e493d Tools: add a test for Plane's SET_ATTITUDE_TARGET support 2018-10-16 13:39:26 +11:00
Andrew Tridgell cb88947700 Tools: added speedybeef4 and F35Lightning to autobuild 2018-10-16 09:40:57 +11:00
Andrew Tridgell 74c5831afa Tools: added mRoX21-777 to autobuild 2018-10-16 09:37:39 +11:00
Pierre Kancir 4f35992049 Tools: make param_parse.py error more explicit
Signed-off-by: Pierre Kancir <pierre.kancir@azurdrones.com>
2018-10-10 11:22:45 +11:00
Peter Barker 14d2012f54 Tools: autotest: add test for ekf navigation speed limits 2018-10-09 10:47:38 +11:00
Michael du Breuil 5192376c85 Tools: Don't generally build scripting unless requested 2018-10-09 10:08:52 +11:00
Andrew Tridgell 31548c983a waf: ensure that C files get same ABI flags as C++ 2018-10-09 10:08:52 +11:00
Michael du Breuil 33d4e09d60 Tools: Add lua source to waf 2018-10-09 10:08:52 +11:00
Michael du Breuil 580c9d6ad9 Tools: Add waf scripting configure option 2018-10-09 10:08:52 +11:00
Michael du Breuil 17103623eb Tools: Pass ENABLE_SCRIPTING into the system 2018-10-09 10:08:52 +11:00
Peter Barker 27657bfd40 Tools: param_metadata: flake8 compliance 2018-10-08 14:56:24 +11:00
Hamish Willee 329b972845 Tools: param_metadata: Add parser code to include uniq ref from path 2018-10-08 14:56:09 +11:00
Pierre Kancir a6322279d4 Tools: scripts: buid_ci.sh: Double quote to prevent globbing and word splitting. 2018-10-04 20:01:59 +10:00
Pierre Kancir a5ef99bcf9 Tools: scripts: build_ci.sh: correct syntax 2018-10-04 20:01:59 +10:00
Pierre Kancir 53e36931fb Tools: correct channel configuration for gripper test 2018-10-03 20:10:13 +10:00
Pierre Kancir 3a29379d9e Tools: run test_arm_feature for heli 2018-10-03 20:10:13 +10:00
Pierre Kancir e087b03dd0 Tools: disable autodisarm test (broken) 2018-10-03 10:11:13 +02:00
Pierre Kancir 15e291aac9 Tools: don't set zero_throttle on arm/disarm 2018-10-03 10:10:25 +02:00
Pierre Kancir 0785706a94 Tools: test that heli interlock output cannot be high when disarmed
Co-authored-by: bnsgeyer <bnsgeyer@aol.com>
2018-10-03 10:09:30 +02:00
Pierre Kancir 752f78c80e Tools: test ARMING_RUDDER restrictions
Co-authored-by: bnsgeyer <bnsgeyer@aol.com>
2018-10-03 10:09:30 +02:00
Pierre Kancir 31d4f1b065 Tools: test that copter cannot arm with throttle too high
Co-authored-by: bnsgeyer <bnsgeyer@aol.com>
2018-10-03 10:09:30 +02:00
Pierre Kancir 553874f14a Tools: add arm/disarm with switch tests
Co-authored-by: bnsgeyer <bnsgeyer@aol.com>
2018-10-03 10:09:28 +02:00
Pierre Kancir f441ab9f2a Tools: autotest: validate RTL if disarmed close to home 2018-10-03 17:45:54 +10:00
Pierre Kancir 598b487fef Tools: autotest: adjust start alt for throttle failsafe 2018-10-03 17:45:54 +10:00
Peter Barker e4738192dd Tools: autotest: clear mission before toggling it in with ch7 2018-10-03 17:45:54 +10:00
Peter Barker 38ae0765ff Tools: autotest: increase throttle in stabilize mode to account for pitching 2018-10-03 17:45:54 +10:00
Pierre Kancir b35cb4d814 Tools: update quadplane tests to use safer functions 2018-10-03 17:24:52 +10:00
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 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