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