Commit Graph

4935 Commits

Author SHA1 Message Date
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
bnsgeyer bf86059229 Tools: update tradheli sitl default param file 2020-04-28 10:45:33 +10:00
Andrew Tridgell 10d990a43b AP_Bootloader: refer to SERIAL_ORDER 2020-04-28 10:32:23 +10:00
Andrew Tridgell a950d7f503 Tools: rebuilt bootloaders 2020-04-28 10:32:23 +10:00
Andrew Tridgell a2da360ecc Tools: added --Werror to bootloader builds 2020-04-28 10:32:23 +10:00
Andrew Tridgell 13e11d6a19 Tools: omit f103-periph and f303-periph from configure_all.py 2020-04-28 10:32:23 +10:00
Andrew Tridgell faffcb304a Tools: allow continue of configure_all.py script 2020-04-28 10:32:23 +10:00
Andrew Tridgell 911d643c35 Tools: added -Werror option to configure_all.py 2020-04-28 10:32:23 +10:00
Andrew Tridgell f352b6d107 waf: added -Werror configure option
for building with error on any warning
2020-04-28 10:32:23 +10:00
Andy Piper dd987c9a19 autotest: new harmonic notch test 2020-04-28 09:32:02 +10:00
Andrew Tridgell 70ef6cf02c Tools: updated Durandal bootloader 2020-04-24 19:46:22 +10:00
Peter Barker 864717310d autotest: allow specification of EKF type to use on commandline 2020-04-24 13:37:47 +10:00
Andrew Tridgell 6887252ad3 Tools: added mRoNexus to build 2020-04-23 07:28:13 +10:00
Andrew Tridgell 50ec9b59af Tools: added CUAV-X7 bootloader 2020-04-23 07:28:13 +10:00
Andrew Tridgell d8e208167d Tools: added mRoNexus bootloader 2020-04-23 07:28:13 +10:00
Peter Barker c6cf809041 autotest: correct some parsing-out-of-logging-message 2020-04-22 21:10:55 +10:00
Samuel Tabor 913e5a23fe autotest: Add method to get default params for model. 2020-04-22 10:01:09 +10:00
bugobliterator 49843fc3e7 script: add special decoding for CAN devid 2020-04-22 07:54:21 +10:00
Peter Barker 39032459d1 autotest: add explicit test for mavlink rangefinder 2020-04-21 20:44:59 +10:00
Mark Whitehorn 0e6ae6c5b4 Tools:autotest: add AAMWestField location 2020-04-20 10:08:17 +09:00
Peter Barker e63e5ba130 autotest: correct path to defaults file when customising SITL cmdline 2020-04-19 11:09:16 +10:00
Samuel Tabor e30f0a9173 autotest: Move soaring test into plane. 2020-04-19 11:09:16 +10:00
Peter Barker 52227872d2 autotest: rover: skidsteer: fix defaults file path 2020-04-18 21:51:16 +10:00
Stephen Dade 05cbdcde42 Tools: Update Cygwin install to use Python3 2020-04-17 10:32:25 +10:00
Stephen Dade 49d19e1aac Tools: Python3 and kill_tasks fixes for sim_vehicle under Cygwin 2020-04-17 10:32:25 +10:00
Peter Barker e1e4e6c3c1 build_binaries: add compatability code for git tags
The tags are still called APMrover2-stable rather than Rover-stable - so
cope with that in build_binaries.py for the time being
2020-04-15 21:16:56 +10:00
Peter Barker 7c20a1ee05 autotest: rename apmrover2.py to rover.py 2020-04-15 19:29:04 +10:00
Peter Barker efb5ad2f1c autotest: correct checking of downloaded file
First time we've tried to round-trip a mission file with comments it it

New frames used by new mission files need stuff to be ignored
2020-04-15 16:24:40 +10:00
Peter Barker 899b98b2f9 Plane: add test for loading/restoring large missions 2020-04-15 16:24:40 +10:00
Andrew Tridgell 7ad8ea017c autotest: make column ordering in rst gen stable
needed for cache of param builds
2020-04-15 15:11:21 +10:00
Andy Piper 6245197204 waf: add support for the macOS clang address sanitizer 2020-04-15 07:22:49 +10:00
Peter Barker 0e40d1cb6b autotest: correct key for Rover -> APMrover2 in skidsteer test 2020-04-14 15:09:17 +10:00
Peter Barker 10e8f3f3d7 autotest: canonicalise on defaults_filepath rather than defaults_file
This naming better represents the fact this isn't just a filename.
2020-04-14 15:09:17 +10:00
Samuel Tabor c4e255fa5f autotest: Fix key error 2020-04-14 15:09:17 +10:00
Andrew Tridgell 1f3f04e5b8 Tools: added MatekH743 to build 2020-04-14 13:17:31 +10:00
Peter Barker 332a19d9dc autotest: sim_vehicle.py: add backwards-compatible APMrover2 option 2020-04-14 09:50:34 +09:00
Peter Barker 2088446ebf Tools: rename APMrover2 to Rover 2020-04-14 09:50:34 +09:00
Peter Barker 691ae58a79 Tools: rename APMrover2 to Rover 2020-04-14 09:50:34 +09:00
Andrew Tridgell b5ef6d0b11 Tools: added MatekH743 bootloader 2020-04-14 10:02:51 +10:00
Andrew Tridgell a74f2428f2 AP_Bootloader: fixed use of FLASH_RESERVE_END_KB 2020-04-14 10:02:51 +10:00
Andrew Tridgell 685d26c808 Tools: added --disable-ekf2 and --disable-ekf3 in sim_vehicle.py 2020-04-14 09:15:43 +10:00
Andrew Tridgell 823d666bc2 waf: added --disable-ekf2 and --disable-ekf3 build options
allows for testing disables in SITL
2020-04-14 09:15:43 +10:00
CUAVcaijie b97d20acba Tools: added CUAV-X7 to autobuild 2020-04-13 15:26:02 +10:00
Peter Barker d43fc591c3 autotest: add skidsteer test 2020-04-12 20:34:26 +10:00
Peter Barker 9511fa59ec autotest: permit specification of frame as part of customing cmdline 2020-04-12 20:34:26 +10:00
Peter Barker e0380fc9be autotest: improve debug information for missing fields 2020-04-12 08:36:48 +10:00
Andrew Tridgell 845755dd3d Tools: removed GPS_POS vars from defaults 2020-04-11 21:14:31 +10:00
Philipp Borgers 5e09553449 Tools: remove trailing white spaces from output of generate_manifest
Explicitly set the seperators of the json.dumps call. Some versions of
the library in combination with set indent parameter create output that
contains quite a lot of trailing white spaces.
2020-04-10 16:25:09 +10:00
Willian Galvani a1dcb8e3c1 Tools: use html.escape instead of cgi.escape
cgi.escape has been deprecated since Python 3.2
https://docs.python.org/3.5/library/cgi.html#cgi.escape
2020-04-10 15:40:01 +10:00
Henry Wurzburg b3678fdf02 Tools: correct incorrect gservo6 alias name in mavinit.scr 2020-04-10 12:30:16 +10:00
bugobliterator 1f421edaf2 waf: chibios remove quotes from the default param filename 2020-04-10 07:04:21 +10:00
Randy Mackay f78d8b009a Tools: enable visual odometry for fly_vision_position test 2020-04-09 19:41:08 +09:00
Pierre Kancir 07435cc541 Tools: correct path for soaring mission 2020-04-09 09:01:03 +10:00
Pierre Kancir d5aec30a7d Tools: update path for antenna tracker test missions files 2020-04-09 09:01:03 +10:00
Pierre Kancir 77ee15bfa1 Tools: finish clean up path 2020-04-09 09:01:03 +10:00
Pierre Kancir 81274018c3 Tools: update path for sub test missions files 2020-04-09 09:01:03 +10:00
Pierre Kancir 4eceef1cef Tools: update path for rover test missions files 2020-04-09 09:01:03 +10:00
Pierre Kancir bcd15bc6e4 Tools: update path for plane test missions files 2020-04-09 09:01:03 +10:00
Pierre Kancir 24a2bc3b0e Tools: update path for copter test missions files 2020-04-09 09:01:03 +10:00
Pierre Kancir 5b26df5780 Tools: put Mission files into right directories 2020-04-09 09:01:03 +10:00
Andrew Tridgell 04d760d54c Tools: added new RM3100 ID 2020-04-08 11:21:51 +10:00
Peter Barker 2d171d0cb4 autotest: add sanity check for duplicate labels in LogWrite calls 2020-04-08 11:17:41 +10:00
Samuel Tabor a4c5e12fac Tools: Make soaring test a subclass of plane test. 2020-04-08 09:11:54 +10:00
Samuel Tabor 0df6d74d77 AP_Soaring: Update autotest to use delay_sim_time not wait_seconds. 2020-04-08 09:11:54 +10:00
Samuel Tabor 7168a65155 Autotest: Simplify soaring.py. 2020-04-08 09:11:54 +10:00
Samuel Tabor 528dcc3f6b Autotest: Add test for soaring. 2020-04-08 09:11:54 +10:00
Samuel Tabor a18d6e925d AP_Soaring: Improved default sim parameters. 2020-04-08 09:11:54 +10:00
Samuel Tabor 5082c9be8b SITL: Add plane-soaring type, including parameters, mission, simulated thermals and glider sim settings. 2020-04-08 09:11:54 +10:00
Peter Barker 5881692e4f autotest: sub: fix altitude-hold for being below target altitude 2020-04-07 14:51:32 +10:00
Pierre Kancir c4fa6fee9a Tools: completion: add completion for autotest.py 2020-04-07 09:16:33 +10:00
Pierre Kancir 6dce7a88d4 Tools: completion: small correction to zsh 2020-04-07 09:16:33 +10:00
Pierre Kancir 5736e28693 Tools: completion bash: correct word reuse skipping 2020-04-07 09:16:33 +10:00
Pierre Kancir 3262175f86 Tools: completion: add bash completion for autotest.py 2020-04-07 09:16:33 +10:00
Peter Barker 52bb7760bc autotest: add debug for COMMAND_LONG commands 2020-04-06 10:07:26 +10:00
juvinski 7919bafc86 Tools: added name to GIT_Success.txt 2020-04-04 08:06:46 +09:00
Peter Barker d966f5718d autotest: add option to list subtests 2020-04-03 17:00:22 +11:00
Peter Barker 45ccced4df autotest: add examples to help output 2020-04-03 17:00:22 +11:00
Peter Barker 47e03d4e62 autotest: loosen epsilon on arriving at boundary
We don't always get within 2.5m
2020-04-02 12:56:24 +11:00
Andrew Tridgell e2d6e70895 AP_Periph: fixed HWESC temperature decoding
now have protocol docs
2020-04-02 11:43:37 +11:00
Peter Barker 4bab3c083e autotest: sort messages in logger documentation output files 2020-04-02 10:57:40 +11:00
Peter Barker cbe1dba781 autotest: loosen slowdown constraint on zigzag test 2020-04-02 09:39:27 +11:00
Pierre Kancir 5d299eb584 Tools: add error keyword on param parse for newcomers 2020-04-02 08:11:42 +11:00
Peter Barker f450df18b0 autotest: allow more time to loiter to ne in precision test 2020-04-01 21:51:22 +11:00
Jawed Alam 72c46a7fc8 Tools: added name to GIT_Success.txt
I added my name by forking the repository
2020-04-01 17:55:41 +09:00
jgruver ff784aee67 Tools: Add name to GIT_Success 2020-04-01 17:48:22 +09:00
Peter Barker 2fb31e69ea autotest: correct test class map for Helicopter 2020-04-01 11:17:56 +11:00
Marek Łukasiewicz d41275298b Tools: added name to GIT_Success.txt 2020-03-31 08:06:00 +09:00
bhaskar 544df71fd2 Tools: added name to GIT_Success.txt 2020-03-30 20:47:06 +09:00
Peter Barker 9da91b2005 autotest: execute check-logs step for Tracker
... and newly-renamed steps.

Also, eliminate no-longer needed step prefixes as we've canonicalised
them.
2020-03-30 13:34:08 +11:00
Peter Barker 53ced35f9d autotest: correct bytes decoding for Python3 in Logger documentation 2020-03-29 14:44:36 +11:00
Peter Barker b8dba9886f autotest: Python3 fixes for LTM tests 2020-03-29 10:00:08 +11:00
Andrew Tridgell 9f2c689ec8 waf: fixed build to produce consistent binary
this ensures that optimisation levels are added regardless of whether
clean is run before or after a configure
2020-03-28 15:28:03 +11:00
Andrew Tridgell 4ca11224ba waf: embed files from ROMFS directory in SITL 2020-03-28 15:28:03 +11:00
Andrew Tridgell 1b5e5de0d1 waf: prevent warnings about OSD_ENABLED in build 2020-03-28 15:28:03 +11:00
Pierre Kancir aec5ae91fa Tools: adjust zigzag timing to pass test 2020-03-27 22:13:52 +11:00
Pierre Kancir 3f441e61cd Tools: copter : make zigzag more verbose 2020-03-27 22:13:52 +11:00
Pierre Kancir f24f97e51b Tools: sub: update to new wait functions
Signed-off-by: Pierre Kancir <pierre.kancir.emn@gmail.com>
2020-03-27 22:13:52 +11:00
Pierre Kancir aba594fe2d Tools: copter: update exception for rangefinder test 2020-03-27 22:13:52 +11:00
Pierre Kancir 1689714a5c Tools: copter: add more verbose on fly_guided_change_submode 2020-03-27 22:13:52 +11:00
Pierre Kancir 56298aabda Tools: update arduplane.py wait function parameters 2020-03-27 22:13:52 +11:00
Pierre Kancir e4eebce5a6 Tools: update arducopter.py to use new wait functions 2020-03-27 22:13:52 +11:00
Pierre Kancir 2d65cbd884 Tools: Common : create generic wait_and_maintain function, upgrade all wait functions to use it 2020-03-27 22:13:52 +11:00
Peter Barker 87d363c3f4 Tools: use renamed autotest step names 2020-03-27 18:20:52 +11:00
Peter Barker 2d29cc3eda Tools: build_ci.sh: use canonicalised autotest names 2020-03-27 09:29:19 +11:00
Peter Barker be49396d32 autotest: canonicalise step names (e.g. drive.APMrover2 -> test.Rover)
Map from older step names to newer test names added for
backwards-compatability
2020-03-27 09:29:19 +11:00
Tejprakash-Sharma cdbc5f1655 Tools/GIT_Test: Added a dev name
Tools/GIT_Test: Added a new dev name Tejprakash Sharma to GIT_SUCCESS.txt
2020-03-26 18:44:09 +09:00
Andrew Tridgell 318d467ecc AP_Periph: fixed airspeed to use corrected pressure
this prevents the AP_Periph node from doing the fabs()
2020-03-25 20:37:00 +11:00
Peter Barker bfc4802b37 autotest: fix sitl reboot 2020-03-25 20:19:25 +11:00
Ahmed Majuid 6ffc35fbf3 Tools: added name to GIT_Success.txt 2020-03-24 09:53:55 +09:00
Andrew Tridgell bdc615e4cc Tools: added rcda_decode script 2020-03-24 09:10:36 +09:00
bugobliterator 21a6a5d061 waf: disable use of libc realloc for chibios 2020-03-24 10:32:14 +11:00
bugobliterator 51fa1773b4 waf: enable heap methods for everything but bootloader 2020-03-24 10:32:14 +11:00
Rishabh c859287310 Tools: param_metadata: check for duplicate enteries in parameter value field 2020-03-24 10:26:04 +11:00