Commit Graph

4847 Commits

Author SHA1 Message Date
Peter Barker
c8fdf9305b autotest: add test for quadplane stickmixing 2020-05-24 12:17:50 +10:00
Andy Piper
1358e39ffd autotest: test 256 FT windows and fix calculation of log-based FFT
fix quadplane FFT reference calculation
re-enable harmonic test
use median for measuring in-flight FFT average as it's much more reliable
relax quadplane filter restriction
harmonic switching test
tighten frequency check and loop twice to avoid heisenbugs
2020-05-24 07:43:34 +10:00
Peter Barker
605672b631 autotest: round frsky altitude rather than truncate
Closes https://github.com/ArduPilot/ardupilot/issues/14431
2020-05-23 17:40:24 +10:00
jbteja
c9fb988a57 Tools: Added check for validating input arguments in ardupilot-astyle.sh 2020-05-23 14:04:58 +10:00
Arash Negahdar
a7768aabae Tools: Expose more options to SCRIMMAGE 2020-05-21 08:04:23 +10:00
Peter Barker
1f1383ab64 autotest: add quadplane test for qassist 2020-05-20 18:39:42 +10:00
Peter Barker
f9c86bbfd0 autotest: ensure cached timestamp is up-to-date for run_cmd_get_ack
If a long-running process drains the mavlink stream rather than parsing
it then the cached timestamp can be very, very out-of-date.  When we
next receieve a timestamp, then, there can be a signficant change in
time when we weren't expecting it.

run_cmd_get_ack can't use get_sim_time() as it might swallow the ack it
is looking for.
2020-05-19 19:12:41 +10:00
Peter Barker
b857002158 autotest: drain mav before checking EKF values
May be getting stale values from this function
2020-05-19 19:12:41 +10:00
Peter Barker
d51d6752e5 autotest: drain mav before delay
We're seeing suspiciously low wall-clock delays.
2020-05-19 19:12:41 +10:00
Peter Hall
4b726b716b Tools: environment_install: add xterm to Cygwin packages 2020-05-18 09:29:26 +10:00
bugobliterator
183e50b31f autotest: fix autotest on mac os x 2020-05-17 16:12:43 +10:00
Andrew Tridgell
a349a2f956 Tools: fixed SITL build 2020-05-16 10:39:14 +10:00
Andrew Tridgell
c5c171b359 Tools: fixed scripting build with --out on configure line
thanks to Henry for noticing
2020-05-16 10:09:15 +10:00
Peter Barker
c0fae0b1fb autotest: disable GyroFFT test; underlying issue being actively worked on 2020-05-15 16:02:41 +10:00
Peter Barker
dec615bfb5 autotest: drain SITL pexpect when waiting for parameter
This is important when rebooting as the ArduPilot process can block on
sending to stdout, which pexpect is reading from.  While rebooting we're
waiting for a parameter to be reset to a different value in this loop,
which could take quite some time.
2020-05-15 16:02:09 +10:00
Peter Barker
f6b121ad87 autotest: add tests for logging 2020-05-15 16:02:09 +10:00
Andrew Tridgell
5437f1e6ee AP_Periph: prepare for 1.1.0 2020-05-14 15:40:03 +10:00
Andrew Tridgell
be812f490f waf: added AP_LIB_EXTRA_SOURCES
used to allow building of dynamically generated library components
2020-05-12 19:55:21 +10:00
dorovl
70f445e7f1 Bone : Faulty PWM output after few flight controller restarts due to wrong IEP Timer configuration
modified:   Makefile
	modified:   RcAioPRU.p
	modified:   RcAioPRUTest.c
	modified:   RcAioPRU_BBBLUE_bin.h
	modified:   RcAioPRU_BBBMINI_bin.h
	modified:   RcAioPRU_POCKET_bin.h
	new file:   start_test
2020-05-11 18:57:55 +10:00
Andrew Tridgell
582de68ea7 AP_Periph: updated release notes 2020-05-11 18:48:18 +10:00
Andrew Tridgell
50d2b51f3d AP_Periph: added release notes 2020-05-11 18:46:07 +10:00
Andrew Tridgell
67b7c21f87 AP_Periph: prepare for 1.1.0 beta release 2020-05-11 18:38:14 +10:00
Andrew Tridgell
4c1418f325 AP_Periph: added LED blinking while waiting for DNA 2020-05-11 18:36:46 +10:00
Andrew Tridgell
d789c618a2 AP_Periph: use rangefinder get_address() 2020-05-11 18:36:46 +10:00
Devansh Chawla
ebd2e15a6e Tools: added name to GIT_Success.txt 2020-05-10 16:18:49 -07:00
Andrew Tridgell
8c59eb58bb Tools: added generic copter CMAC mission 2020-05-09 12:33:33 +10:00
Michael du Breuil
9d6a138680 Tools: Require edn_format again 2020-05-07 18:11:17 +10:00
Andy Piper
8f864f02fb autotest: 256 windows don't currently work 2020-05-06 10:14:30 +10:00
Andy Piper
db4a612c13 autotest: test 256 FT windows and fix calculation of log-based FFT
fix quadplane FFT reference calculation
re-enable harmonic test
use median for measuring in-flight FFT average as it's much more reliable
relax quadplane filter restriction
2020-05-06 10:14:30 +10:00
Peter Barker
1c7354c321 autotest: improve mount debug 2020-05-05 20:51:23 +10:00
Peter Barker
b312260be3 autotest: add timestamp to progress message 2020-05-05 11:09:43 +10:00
Andy Piper
d0cd494178 waf: add AP_RCTelemetry to build 2020-05-05 09:23:15 +10:00
Peter Barker
bd0ebb5778 autotest: accept statustext and ack in any order for mission errors
Accept statustext/ack in any order; statustext may come after ack
2020-05-04 18:42:18 +10:00
Peter Barker
ebc781ba3a autotest: switch to looking for barometer update string for passthrough test
MAVProxy can fetch parameters using FTP rather than normal param
mechanism.  Currently this does not emit any of our statustext
information - like the text we're looking for in this test
2020-05-04 10:07:38 +10:00
Peter Barker
d197fd4acf autotest: fix rare, random failure in GCSRally test
Notionally the statustext could be put aside and we could not have room
for it, so we see the ack first.
2020-05-04 00:22:54 +10:00
Pierre Kancir
d83b9575da Tools: vagrant: check for $HOME/.local/bin on init for local python package 2020-04-30 20:32:34 +10:00
Pierre Kancir
ced185b59b Tools: Completion: fix vehicle type competion 2020-04-30 20:32:34 +10:00
Pierre Kancir
64b7e8fb9e Tools: prereqs-ubuntu: cleanup and improvements
reorder install
remove unneeded package
make install verbose
add environment variable to control what to install
register STM toolchain on CCache

Tools: install-prereqs-ubuntu.sh: only update package list once

Tools: install-prereqs-ubuntu.sh: move STM toolchain registery into install step

Tools: install-prereqs-ubuntu.sh: use right comparison for variable value

Tools: install-prereqs-ubuntu.sh: always check for libtool-bin

Tools: install-prereqs-ubuntu.sh: Add support for Ubuntu 20.04

Add a selection for python version
ass python symlink for ubuntu 20.04
Move python-argparse out of default list as it install python2 version

Tools: install-prereqs-ubuntu.sh:Tools: Check python version for python3 distro

Tools: install-prereqs-ubuntu.sh: install pygame requirements

Tools: install-prereqs-ubuntu.sh: check for docker envirement and use .bashrc instead of .profile

Tools: install-prereqs-ubuntu.sh: add bash completion by default

Tools: install-prereqs-ubuntu.sh: better ccache management

Tools: install-prereqs-ubuntu.sh: Correct package installation for trusty
2020-04-30 20:32:34 +10:00
Pierre Kancir
2b2dcbb6d8 Tools: Configure-ci: correct some mistakes 2020-04-30 20:32:34 +10:00
pkocmoud
75b5e20c6a build_binaries.py: add mRo MN10070 Location One CAN GPS 2020-04-30 11:31:43 +10:00
Andrew Tridgell
ec73cb0e88 Tools: don't fail CI if we can't install edn_format
trying to fix semaphore
2020-04-29 18:51:16 +10:00
Andrew Tridgell
01e77d6f5b AP_Periph: don't send a zero timestamp marked as UTC time
this fixes a problem with bad SYSTEM_TIME when using an AP_Periph
GPS. Many thanks to Phillip Kocmoud for reporting
2020-04-29 12:20:19 +10:00
Andrew Tridgell
300cfa4380 Tools: added param_unpack.py
decode param.pck file
2020-04-29 07:36:55 +10:00
Andrew Tridgell
518ff84ff6 AP_Periph: fixed ADSB build 2020-04-29 07:36:55 +10:00
Andrew Tridgell
5b063731b6 AP_Periph: avoid building GCS_MAVLink 2020-04-29 07:36:55 +10:00
Peter Barker
475027e03a Tools: autotest.py: add --enable-math-check-indexes 2020-04-28 15:12:39 +10:00
Peter Barker
cb3c1742e8 Tools: sim_vehicle.py: add --enable-math-check-indexes 2020-04-28 15:12:39 +10:00
Arash Negahdar
7de136121b Tools: Exit cleanly based on the environment
As suggested by Peter Barker
2020-04-28 11:09:51 +10:00
Arash Negahdar
908b63573e Tools: Implement better Scrimmage support 2020-04-28 11:09:51 +10:00
Arash Negahdar
e75ac4ae57 Tools: Allow multiple ArduPilot instances to be spawned 2020-04-28 11:09:51 +10:00