Commit Graph

6169 Commits

Author SHA1 Message Date
Peter Barker
27fcb3a100 autotest: fix simstate error message 2021-08-05 18:35:11 +10:00
Peter Barker
ca35d01baa autotest: move upload_simple_relhome_mission up 2021-08-05 10:38:03 +10:00
Andrew Tridgell
37935262ff AP_Periph: fixed formatting errors 2021-08-05 09:43:35 +10:00
Andrew Tridgell
751b901ed9 Tools: fixed printf format errors 2021-08-05 09:43:35 +10:00
Josh Henderson
162b3b70cf Autotest: use MAV_POS_TARGET_TYPE_MASK, remove POS_TYPE_MASK_FORCE 2021-08-03 12:48:38 +10:00
Andrew Tridgell
54d92551d1 waf: add files from ROMFS_custom to ROMFS
this allows for lua scripts in the root of the source tree as ROMFS_custom/scripts/*.lua

it also allows for any other custom data files that may be
needed. This is cleaner for custom scripts than having the files in
AP_HAL_ChibiOS/hwdef/BOARD/scripts, and allows for the same scripts
working in SITL, Linux and ChibiOS
2021-08-03 10:57:38 +10:00
Peter Barker
8e72dc32d1 autotest: add test home is restored persistently on wdog reset 2021-08-03 10:36:50 +10:00
Andrew Tridgell
e6f15ed6c0 autotest: cope with WriteStreaming() in doc tests 2021-08-03 10:23:36 +10:00
Josh Henderson
1cb11a5ff2 Tools: autotest change smartbatt param names 2021-08-03 09:36:26 +10:00
Iampete1
27b324742e Tools: sim_vehicle: pass on slave comandline CMD 2021-08-03 09:22:19 +10:00
Andrew Tridgell
19a9e1a416 Tools: cope with build_binaries.py being copied out
the build server uses a copy of build_binaries.py, so __file__ isn't
the right directory
2021-08-01 13:28:09 +10:00
Andrew Tridgell
a0da76243d autotest: reboot after AHRS_ORIENTATION test
the EKF can be left very unhappy by this test
2021-07-31 10:01:14 +10:00
Peter Barker
d40587062e AP_Periph: use AP::compass().available in place of enabled() 2021-07-30 12:19:42 +10:00
Braedon O'Meara
de91058b1a Tools: Add tmux support to run_in_terminal_window.sh
Added in an option so that if running SITL in a tmux session it will open a new window in tmux.
More or less an alternate option to screen.
It will detect if its running in a tmux session by checking the $TMUX and $TERM env variables.
I put it before other options because when I am running a tmux session even in a GUI environment
I would prefer a new Tmux window compared to a new terminal.
This will only run if youre already in a tmux session it will not launch a new session.
2021-07-30 12:05:15 +10:00
Peter Barker
2ae483cee0 autotest: stop uploading artifacts to autotest server
github action's CI is good at this
2021-07-30 11:32:59 +10:00
Andrew Tridgell
69376cdb5f Tools: added mRo M10095 bootloader 2021-07-30 10:20:52 +10:00
Andrew Tridgell
4b0736ecf4 Tools: added bootloader for G491 2021-07-30 10:20:52 +10:00
Andrew Tridgell
adb8e1fc7e Tools: added mRo-M10095 board type 2021-07-30 10:20:52 +10:00
Andrew Tridgell
f507e85f10 Tools: added Nucleo-491 2021-07-30 10:20:52 +10:00
Andrew Tridgell
cfdf91e18a AP_Bootloader: fixed G4 MCU descriptions 2021-07-30 10:20:52 +10:00
Iampete1
d2a14f4283 Tools/ardupilotwaf: make skipped summary warning red 2021-07-28 18:25:27 +10:00
Peter Barker
7929122f49 autotest: improve AHRS trim test 2021-07-28 17:20:28 +10:00
Peter Barker
909decc5be autotest: move wait_attitude up to common.py 2021-07-28 17:20:28 +10:00
bugobliterator
6f3e3a913a AP_Periph: fix dna wait blink 2021-07-28 17:09:41 +10:00
Andrew Tridgell
791b043586 waf: added 10.2.1 gcc to whitelist of compilers for -Werror 2021-07-27 19:50:21 +10:00
Andrew Tridgell
243dc06fd4 Tools: switched development to the 10.2.1 compiler for STM32 2021-07-27 19:50:21 +10:00
Andrew Tridgell
e95abce466 Tools: use 10.2.1 compiler for latest builds of ChibiOS boards 2021-07-27 19:50:21 +10:00
Andrew Tridgell
18cbd25828 Tools: removed remnants of px4 build support 2021-07-27 19:50:21 +10:00
Andrew Tridgell
66bad7b885 waf: added --assert-cc-version configure option
this will allow build_binaries.py to confirm it is using the right
compiler for each build
2021-07-27 19:50:21 +10:00
Peter Barker
da3ff2c142 autotest: add test for live change of AHRS orientation 2021-07-27 17:28:09 +10:00
Peter Barker
04ddc9de03 autotest: correct order of progress vs action in set-param 2021-07-27 16:51:48 +10:00
Peter Barker
e1884bcd6e autotest: run dumpstack/dumpcore on stuck SITL process 2021-07-27 16:51:48 +10:00
Peter Barker
f20644b6cf board_types.txt: reserve ID for Argosdyne DP1000 2021-07-26 18:54:00 +10:00
mateksys
08cd1171bf Tools: added MatekF765-SE to autobuild 2021-07-26 18:13:46 +10:00
Hwurzburg
2c83ab264f Tools: Add Qiotek f103 periph to build list 2021-07-26 18:12:37 +10:00
bugobliterator
35d94b17eb AP_Periph: add support for MAVLink for HerePro 2021-07-26 13:45:43 +10:00
Andrew Tridgell
ea84f295ea Tools: updated MambaF405US-I2C bootloader
this was forgotten in the PR
2021-07-26 06:22:05 +10:00
Andrew Tridgell
299b3ef200 AP_Periph: fixed msp gps yaw
build failed with 10.2 compiler, but is a real bug
2021-07-25 21:00:09 +10:00
Isaac Alich
c84a880de4 Tools: Add Diatone MambaF405US-I2C 2021-07-25 09:28:17 +10:00
Paul Riseborough
9207744152 Tools: Rework Plane.EKFlaneswitch autotest 2021-07-22 18:20:45 +10:00
Paul Riseborough
7f3980c1f4 Tools: Rework Copter VibrationFailsafe test to use commanded land 2021-07-22 18:20:45 +10:00
Paul Riseborough
ef1dda005f Tool: Allow more time for quadplane autotest to land and disarm 2021-07-22 18:20:45 +10:00
Paul Riseborough
ff1c465a17 Tools: relax navigation test accuracy 2021-07-22 18:20:45 +10:00
Paul Riseborough
a0ae998a4d Tools: Fix AIRSPEED_AUTOCAL test failure
The mission plan for this test causes a lot of overshoot when turning onto final approach with the result that there is still some lateral offset when passing the landing waypoint that is not a measure of estimator accuracy.
2021-07-22 18:20:45 +10:00
Andrew Tridgell
d181adfa75 Replay: added --accuracy option
useful for finding what has diverged
2021-07-21 17:55:04 +10:00
Peter Barker
eff4bc4cfb autotest: drain pexpects in set_parameters loop
This loop doesn't self.mav.recv(), so the idle loop isn't called, so the
pexpects aren't drained.  That can cause ArduPilot to block on stderr if
it is trying to print a stacktrace, for example
2021-07-21 17:05:17 +10:00
Peter Barker
27de0a3d23 autotest: add new Copter yaw tests 2021-07-21 17:05:01 +10:00
Peter Barker
43a4ea734f autotest: add some diagnostics for missing processes 2021-07-21 15:50:50 +10:00
bugobliterator
65606b4d1d Tools: add debug target in CI build script 2021-07-21 11:27:52 +10:00
Peter Barker
571ae46b0f Tools: split yaw-vehicle-for-mount-roi test out 2021-07-19 18:16:13 +10:00
Andrew Tridgell
618fa156c7 autotest: added --replay option to autotest
make for easy creation of EKF replay logs
2021-07-16 21:13:53 +10:00
Andrew Tridgell
e52b9f78c2 autotest: fixed tuning of tilthvec quadplane model 2021-07-16 08:41:47 +10:00
Siddharth Purohit
1af2453b54 AP_Bootloader: ignore cast alignment when reading from flash 2021-07-15 07:50:12 +10:00
Siddharth Purohit
7a2c460496 waf: remove cast-align disable flags from CXXFLAGS 2021-07-15 07:50:12 +10:00
Stephen Dade
d5d2aa011c Tools: Force Cygwin environment install to use GCC 7.4 2021-07-14 18:19:05 +10:00
Andy Piper
c5b323fcb6 iomcu: update for pulse width changes 2021-07-14 17:50:06 +10:00
Peter Barker
2ae6030f0c autotest: add baro i2c drivers autotest 2021-07-14 17:46:15 +10:00
Peter Barker
d2be5231cb ardupilotwaf: probe external baros in SITL 2021-07-14 17:46:15 +10:00
Peter Barker
14d271776e autotest: break out a fly_mission method 2021-07-14 17:46:15 +10:00
Peter Barker
53e980bada autotest: add test for two consecutive drops with no reboot 2021-07-14 16:38:36 +09:00
bugobliterator
ef48d706ed AP_Periph: do not wait for DNA to finish before starting AP_Periph 2021-07-14 15:18:42 +10:00
bugobliterator
a9fda29d42 AP_Periph: remove return res from canard_broadcast 2021-07-14 15:18:42 +10:00
bugobliterator
64c41e51ba AP_Periph: use range for loop instead of indexed for loops 2021-07-14 15:18:42 +10:00
Siddharth Purohit
67ed54bfca waf: add option to disable Watchdog 2021-07-14 15:18:42 +10:00
Siddharth Purohit
6d76990c1e AP_Bootloader: add option to disable Watchdog 2021-07-14 15:18:42 +10:00
Siddharth Purohit
3ed53c58e9 AP_Periph: provide separate instances of canard objects per iface 2021-07-14 15:18:42 +10:00
Peter Barker
9fb7ef915e Tools: add support for ms5525 i2c sensor 2021-07-13 12:00:37 +10:00
Pierre Kancir
8234fd4c39 Tools: autotest: add IRLock SITL test 2021-07-12 17:50:31 +10:00
Peter Barker
9ff77d8f1c Tools: remove AC_TERRAIN compilation option
Use AP_TERRAIN_AVAILABLE instead
2021-07-12 17:34:44 +10:00
Andrew Tridgell
d4d80f01bf Tools: added airspeed ID decoding 2021-07-12 17:14:59 +10:00
Leonard Hall
33ec8b965b Tools: Autotest update guided bitbask to include acceleration 2021-07-10 20:25:05 +09:00
DaijiroYamazaki
1e545052f4 Tools: autotest: add 2 locations in Japan 2021-07-10 09:24:32 +09:00
Andrew Tridgell
a6a01cf432 autotest: added --ekf-single and --postype-single options to autotest 2021-07-10 07:20:41 +10:00
Andrew Tridgell
5a5018cda2 autotest: adjust test_altitude_types for small change in longitude_scale 2021-07-10 07:20:41 +10:00
Andrew Tridgell
4f7630e29c Tools: allow for double EKF build 2021-07-10 07:20:41 +10:00
Andrew Tridgell
5f45098044 waf: added --ekf-double configure option 2021-07-10 07:20:41 +10:00
Andrew Tridgell
b8e934ccf1 autotest: added --udp option to sim_vehicle.py
this makes running with high speedups easier
2021-07-09 19:19:24 +10:00
bugobliterator
9ba9352dae Tools: add remote upload script via mac systems 2021-07-09 18:19:04 +10:00
bugobliterator
a5d3dade67 waf: allow overriding uploader script with custom uploader script 2021-07-09 18:19:04 +10:00
Peter Barker
aa27479e95 autotest: show output from Replay run 2021-07-08 16:20:12 +10:00
Peter Barker
743ed05367 autotest: detect ap-*.core as we do core.* files 2021-07-08 15:46:07 +10:00
Peter Barker
fd803ddafc autotest: remove stray diagnostic files before run 2021-07-08 15:46:07 +10:00
Peter Barker
2388f3a3d1 Tools: generate a core file for a given PID
Similarly to dumpstack.sh, uses gdb to dump a core file
2021-07-08 15:46:07 +10:00
Andrew Tridgell
a5f2d12edc Tools: added MatekF765-SE bootloader 2021-07-08 13:02:18 +10:00
Andrew Tridgell
3a7075fc65 autotest: fixed config error loop test 2021-07-08 07:56:51 +10:00
Siddharth Purohit
51a6d3c16a waf: only apply gsoap specific flags to gsoap sources 2021-07-07 18:57:25 +10:00
bugobliterator
236eecc494 autotest: add option for running sim with ONVIF camera 2021-07-07 18:57:25 +10:00
bugobliterator
f6715cdaa0 waf: generate SOAP wsdl into cpp code 2021-07-07 18:57:25 +10:00
Siddharth Purohit
5d435c762e waf: notify users that we have moved to using tool instead of tools 2021-07-07 17:31:09 +10:00
Siddharth Purohit
2750b361aa autotest: move to using tool instead of tools program group 2021-07-07 17:31:09 +10:00
Siddharth Purohit
767e394703 Tools: move to using tool instead of tools program group 2021-07-07 17:31:09 +10:00
Siddharth Purohit
b39b4abb12 Replay: move to using tool instead of tools program group 2021-07-07 17:31:09 +10:00
Siddharth Purohit
f1c865bdd3 Tools: use program group "tool" instead of "tools" 2021-07-07 17:31:09 +10:00
Peter Barker
70a161a583 autotest: create SITL debug binaries by default 2021-07-07 17:11:27 +10:00
Peter Barker
df02289493 autotest: add test for two consecutive drops with no reboot 2021-07-07 12:01:07 +10:00
Michelle Rossouw
8017e528c8 Tools: Add Blimp to param_parse.py 2021-07-06 14:56:02 +10:00
Peter Barker
c1a5ca6060 autotest: add test to ensure we get a log if arming is forced 2021-07-04 08:54:54 +10:00
Peter Barker
85f36f957d autotest: add force option to arm_vehicle 2021-07-04 08:54:54 +10:00
Pierre Kancir
712d812f4e Tools: install-preresq-ubuntu: add check for DO_AP_STM_ENV before adding to path
This prevent to have /opt//bin on PATH if we don't want STM toolchain
2021-07-02 11:32:39 +10:00
Siddharth Purohit
5468869eba Tools: do CI build for HerePro instead of CubeOrange-periph 2021-07-02 08:50:16 +10:00
Siddharth Purohit
637ccf13df AP_Periph: add MAVLink support for AP_Periph modules 2021-07-02 08:50:16 +10:00
Siddharth Purohit
966e8cd1be AP_Bootloader: reserve board id for HerePro 2021-07-02 08:50:16 +10:00
Andrew Tridgell
d6088539b7 waf: use new syntax for chibios_hwdef.py 2021-07-01 09:33:16 +10:00
willpiper
15cd9d502d waf: added --extra-hwdef option 2021-07-01 09:33:16 +10:00
Siddharth Purohit
35340bf7f2 AP_Bootloader: reserve board_type id for H757 EVAL board 2021-06-30 19:33:17 +10:00
Pierre Kancir
54daa94c90 CI: make macos tests more useful by compiling all target and use ccache 2021-06-30 17:57:50 +10:00
Siddharth Purohit
9bd5183d82 Tools: update install macos prereqs 2021-06-30 17:57:50 +10:00
Siddharth Purohit
f9a50e8e47 AP_Periph: allow building InertialSensor and related libraries 2021-06-30 17:06:02 +10:00
Andrew Tridgell
843f87d618 Tools: install geocoder 2021-06-29 15:41:26 +10:00
Andrew Tridgell
d81b758d77 autotest: support using geocoder for -L location
this allows for location names from OSM, for example:

  sim_vehicle.py -L '26 Carstensz St Griffith' --console --map
2021-06-29 15:41:26 +10:00
Rafael Araujo Lehmkuhl
4f7da5867d Tools: Allow direct execution of firmware_version_decoder.py from command line 2021-06-29 09:24:04 +10:00
Peter Barker
99a0f5a86a autotest: disable quadplane ConfigErrorLoop test
failing on the autotest server (and locally).

AT-1474.6: RC values bad: (ch=1 want=1500 got=0)
AT-1474.6: AP: Config error: Baro: unable to initialise driver
AT-1474.6: AP: Config Error: fix problem then reboot
AT-1474.6: RC values bad: (ch=1 want=1500 got=0)
AT-1474.6: RC values bad: (ch=1 want=1500 got=0)
AT-1474.6: RC values bad: (ch=1 want=1500 got=0)
2021-06-27 11:09:39 +10:00
Randy Mackay
5ec75578ab Tools: add copter gps_glitch_loiter_test2
checks for twitches in Loiter after GPS glitch
2021-06-25 16:52:57 +09:00
Andrew Tridgell
220107b2a6 Tools: added boat circuit for Rabi 2021-06-25 15:33:55 +10:00
Andrew Tridgell
396094a82c Tools: added a mission around Rabi, close to -180 degrees lon 2021-06-25 15:33:55 +10:00
Andrew Tridgell
75ae2548a7 Tools: added some locations close to the date line 2021-06-25 15:33:55 +10:00
Andrew Tridgell
3204ce4bf1 Tools: added --postype-single for sim_vehicle.py 2021-06-24 21:34:30 +10:00
Andrew Tridgell
895ab6c089 waf: added --postype-single option
for SITL with single precision postype_t
2021-06-24 21:34:30 +10:00
Peter Barker
4c173e01ef autotest: increase number of parameter retries
sets were failing just after we uploaded very large numbers of
parameters.  I'm guessing the parameter queue in ArduPilot is still
full.
2021-06-24 17:58:31 +10:00
Peter Barker
4bb91d1ec1 autotest: shift where we print which attempt we are doing 2021-06-24 17:58:31 +10:00
Peter Barker
e6eb6dea3f Tools: mark decode_watchdog.py flake8-clean 2021-06-24 08:59:41 +10:00
Peter Barker
e38e026c6e Tools: mark build_examples.py flake8-clean 2021-06-24 08:59:41 +10:00
Peter Barker
4ea8c32c61 Tool: uploader.py: flake8-clean 2021-06-24 08:59:41 +10:00
Peter Barker
b35a586447 Tool: make_apj.py: flake8-clean 2021-06-24 08:59:41 +10:00
Peter Barker
fad9b5d345 Tool: pretty_size_diff.py: flake8-clean 2021-06-24 08:59:41 +10:00
Peter Barker
0940c9371d Tools: decode_ISCR.py: flake8-clean 2021-06-24 08:59:41 +10:00
Peter Barker
21cb6c1cf5 Tools: build_iofirmware.py: flake8-clean 2021-06-24 08:59:41 +10:00
Randy Mackay
f3c96b438b Tools: autotest of vibration failsafe 2021-06-24 08:34:56 +10:00
Peter Barker
b58e7bedaa autotest: correct placement of not-alive-after-test message
This was misplaced with bad conflict resolution
2021-06-24 08:34:06 +10:00
Peter Barker
d6f619fb1a autotest: emit 'attempt 1/3' when retrying set_parameter
Also reterm things in terms of attempts rather than retries
2021-06-24 08:30:03 +10:00
=
a71007f2c7 Tools: added name to GIT_Success.txt 2021-06-23 23:31:22 +10:00
Peter Barker
99c7d3aabc autotest: ensure no stray message listeners after test 2021-06-23 21:55:32 +10:00
Peter Barker
6a8ca9e45b autotest: timeout in wallclock time in config error loop test
SYSTEM_TIME is not sent in config error loop
2021-06-23 21:55:32 +10:00
Peter Barker
b6d5569244 Tools: param_metadata: disallow @Values and @Bitmask at same time 2021-06-23 18:37:34 +10:00
Peter Barker
7842f55a3b Tools: add rc channel option to disable all airspeed sensors 2021-06-23 15:13:13 +10:00
Peter Barker
d82a229584 autotest: revert to subprocess.check_call
.run is only Python3
2021-06-22 20:24:07 +10:00
Peter Barker
8395bf617f autotest: disable autotesting of tri frame as it is still busted 2021-06-21 21:17:10 +10:00
Peter Barker
697fbb0db0 autotest: verify roll/pitch are not adversely affected by yaw inputs 2021-06-21 21:17:10 +10:00
Peter Barker
4c20bc2d9d autotest: ensure reasonable yawrate on takeoff in FlyEachFrame 2021-06-21 21:17:10 +10:00
Pierre Kancir
983e402804 AP_Common: add more unitttests 2021-06-21 21:16:29 +10:00
Peter Barker
d3f90bde7f autotest: add FlyEachFrame test for Plane 2021-06-21 14:13:18 +10:00
Pierre Kancir
a699b8b331 Tools: remove more CAN stuff from coverage statistics 2021-06-21 09:44:57 +10:00
Pierre Kancir
39c96f63c8 Tools: autotest.py: total flake8 compliance. 2021-06-18 16:03:51 +10:00
Pierre Kancir
7ddb4d681d Tools: autotest: correct exception handling on unit test run. 2021-06-18 16:03:51 +10:00
Peter Barker
723d2dee00 autotest: improve diagnostics around touchdown/takeoff expected tests
Also looks at last result as we don't appear to have a consistent number
in our tests
2021-06-18 09:03:34 +09:00
Peter Barker
210818cd6e autotest: let arming failure messages get spit out 2021-06-17 21:01:23 +10:00
QioTek
979b502d30 AP_Bootloader: added QioTekZealotH743 board type
AP_Bootloader: added QioTekZealotH743 board type
2021-06-15 18:50:24 +10:00
Peter Barker
47a778d033 Tools: remove HIL support 2021-06-15 09:47:31 +10:00
Peter Barker
61fda691f2 autotest: add trivial test for smart battery logging 2021-06-15 09:46:26 +10:00
Patrick José Pereira
9211f6d351 Tools: Add navigator board in common boards
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-06-11 14:43:48 -04:00