Commit Graph

3470 Commits

Author SHA1 Message Date
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
Andrew Tridgell
c955d7b824 AP_Bootloader: fixed issue loading NuttX firmwares
NuttX assumes a lot more about MCU state on startup
2018-06-29 08:17:38 +10:00
Andrew Tridgell
d470c161e8 AP_Bootloader: protect against random input to bootloader
require both a good sync and get_device before accepting destructive
operations
2018-06-29 08:17:38 +10:00
Lucas De Marchi
981a575aa2 Frame_params: rename some aerofc parameters
Now that we don't panic() on unknown parameters, we can boot even with
wrong parameters. This brings the default parameters of aerofc to be up
to date.

The following parameters were not removed and will be warned:

WPNAV_LOIT_JERK
WPNAV_LOIT_MAXA
WPNAV_LOIT_MINA
WPNAV_LOIT_SPEED

There are no clear substitute for those, so they are staying until we
know if they should be renamed/changed/removed.
2018-06-28 10:18:19 -07:00
Ebin
fd92475ce9 autotest: added more default params for balance bot 2018-06-28 21:55:20 +09:00
Ebin
6bb5aa5d36 autotest: added default params for balancebot 2018-06-28 21:55:20 +09:00
Andrew Tridgell
576d1a145d Tools: updated bootloaders 2018-06-28 11:35:13 +10:00
Andrew Tridgell
c44a8309f9 AP_Bootloader: fixed strncmp bug 2018-06-28 11:35:13 +10:00
Andrew Tridgell
28ad2287c8 AP_Bootloader: for fast boot don't init USB 2018-06-28 11:35:13 +10:00
Andrew Tridgell
b6e057dfb9 AP_Bootloader: use RTC sig for fast boot 2018-06-28 11:35:13 +10:00
Andrew Tridgell
bff796af4e Tools: removed annoying print msgs 2018-06-28 11:35:13 +10:00
Andrew Tridgell
8ae6b2e026 waf: fixed dependency of hwdef.h on hwdef.dat 2018-06-27 11:37:45 +10:00
Andrew Tridgell
d12cf0ab59 waf: added -Werror on signed comparison 2018-06-27 11:37:45 +10:00
Evan Hammac
37accc96f6 Tools: Added Tyndall AFB to locatons.txt file 2018-06-27 09:37:25 +10:00
Lucas De Marchi
49d08ba72a Global: remove minlure
Minlure is a port of ArduPilot to Minnow Board connected to daughter
board. Very few of those were produced and nobody is flying with it.

It served its purpose and all the the improvements to ArduPilot remain
regardless of it not being supported anymore. Now it's just adding
maintenance work with no clear benefit, so pull the plug.
2018-06-26 07:32:08 -07:00
Andrew Tridgell
fe4a18d5f3 Tools: updated bootloader binaries
faster upload, and fixed a number of bugs
2018-06-25 21:22:31 +10:00
Andrew Tridgell
f3a2d63747 Tools: don't generate a _with_bl file for the bootloader itself 2018-06-25 21:22:31 +10:00
Andrew Tridgell
77929dabb3 Tools: fixed python3 error in make_intel_hex.py 2018-06-25 21:22:31 +10:00
Andrew Tridgell
0546ea69d1 AP_Bootloader: fixed build with no uarts 2018-06-25 21:22:31 +10:00
Andrew Tridgell
0ebd05aa1a AP_Bootloader: support changing baudrates on UARTs 2018-06-25 21:22:31 +10:00
Andrew Tridgell
fe4aa4bbc7 AP_Bootloader: support uarts and usb for bootloading 2018-06-25 21:22:31 +10:00
Andrew Tridgell
5b208b401f AP_Bootloader: skip erasing already erased pages 2018-06-25 21:22:31 +10:00
Andrew Tridgell
b5fc7f10f3 AP_Bootloader: added flash size limiting on old CPUs 2018-06-25 21:22:31 +10:00
Andrew Tridgell
4fbd1e409f AP_Bootloader: make flashing a bit faster 2018-06-25 21:22:31 +10:00
Andrew Tridgell
1c73c133a9 waf: fixed binary generation order 2018-06-24 20:24:06 +10:00
Andrew Tridgell
949af17fa4 Tools: save _with_bl.hex files in firmware download 2018-06-24 20:15:38 +10:00
Andrew Tridgell
623a30be55 waf: build hex file with and without bootloader
this allows for DFU tools without losing parameters
2018-06-24 16:47:23 +10:00
Andrew Tridgell
f73ca2a6ba waf: speed up the bootloader build
don't need to build all libraries
2018-06-24 15:57:51 +10:00
Andrew Tridgell
f202ff87e2 Tools: only build one target for revo-mini 2018-06-24 08:26:28 +10:00
Andrew Tridgell
4997898c5b Tools: added bootloaders for new boards 2018-06-24 08:26:28 +10:00
Andrew Tridgell
3900949d19 Tools: build a lot more board binaries 2018-06-24 08:26:28 +10:00
Tom Pittenger
49de205a06 Tools: Git Success - Tom Pittenger 2018-06-23 19:39:54 +10:00
Peter Barker
b555370e07 Tools: build_binaries: remove build directory before configure
with recent changes this should actually be marginally faster than
keeping old build products around
2018-06-23 17:51:45 +10:00
Andrew Tridgell
5b46adf3fb waf: fixed chibios upload 2018-06-23 17:06:53 +10:00
Andrew Tridgell
e2d29fe1db Tools: install intelhex package for CI 2018-06-23 17:06:38 +10:00
Andrew Tridgell
8fbe57c82e Tools: added new bootloaders 2018-06-23 17:06:38 +10:00
Andrew Tridgell
338ff6ae64 waf: automatically build intel hex fw when possible
this combines the bootloader and application code into a single binary
2018-06-23 17:06:38 +10:00
Andrew Tridgell
4cafcc4eae travis: added revo-bootloader to CI
this ensures the bootloader build will keep working
2018-06-23 17:06:38 +10:00
Andrew Tridgell
ae1d1cad5e Tools: added a script to build all bootloaders 2018-06-23 17:06:38 +10:00
Peter Barker
b94e31b21a Tools: remove warning about native clang builds
These appear to be stable now
2018-06-22 16:49:05 +10:00
Andrew Tridgell
290f050575 waf: enable gccdeps, using gcc dependencies
this is considerably faster than the way dependency system
2018-06-22 11:13:03 +10:00
Andrew Tridgell
ad49f4fdbf waf: fixed declaration of ap_romfs_embedded.h 2018-06-22 11:13:03 +10:00
Andrew Tridgell
a7ce864296 AP_Bootloader: added mcu files 2018-06-22 08:06:41 +10:00
Andrew Tridgell
c1d4362555 AP_Bootloader: added MCU descriptions 2018-06-22 08:00:31 +10:00
Andrew Tridgell
14f66461a7 HAL_ChibiOS: shrink build size for bootloader
thanks to @sh83 for the idea
2018-06-22 08:00:31 +10:00
Alexander Malishev
c28296e6f2 AP_Bootloader: added simple std c function to reduce flash space 2018-06-22 08:00:31 +10:00
Andrew Tridgell
f0e0b1baaa AP_Bootloader: only build bootloader when --bootloader configured 2018-06-22 08:00:31 +10:00
Andrew Tridgell
4c2c2012a6 waf: allow for "./waf bootloader"
easier build of the bootloader
2018-06-22 08:00:31 +10:00
Andrew Tridgell
0ae25787c0 waf: added a --bootloader configure option
this selects hwdef-bl.dat instead of hwdef.dat, allowing for
bootloader config to be kept in the same directory as the main
hwdef.dat
2018-06-22 08:00:31 +10:00
Andrew Tridgell
6771a3d65a waf: support Hex USB IDs in px_uploader.py 2018-06-22 08:00:31 +10:00
Andrew Tridgell
e7c43b9df7 AP_Bootloader: initial version of ChibiOS bootloader 2018-06-22 08:00:31 +10:00
Peter Barker
7cdb05ccc0 Tools: add default-parameter-filename sanity check 2018-06-21 19:32:46 +10:00
Peter Barker
5665feb29e Tools: Replay: use AP_FWVersion singleton 2018-06-18 19:10:37 +01:00
Peter Barker
e9a07bdd6f Tools: create CHIBIOS_GIT_VERSION build-time define 2018-06-18 19:10:37 +01:00
Shingo KANEKO
0199a6b273 Tools: Add my name 2018-06-18 09:59:17 +09:00
haru
ad6fca8e57 Tools: Update GIT_Success.txt 2018-06-16 11:15:37 +09:00
Peter Barker
09a9abb3a8 Tools: include AP_RTC in all waf builds 2018-06-15 08:01:22 +10:00
Peter Barker
684482295e Tools: include Gripper in all builds 2018-06-11 19:07:39 +01:00
Randy Mackay
8c485e1a9e Tools: set ground effect comp in tradheli default parameters 2018-06-08 09:51:50 +09:00
Randy Mackay
ccb1042074 Tools: update sitl rover default params 2018-06-08 09:19:25 +09:00
Andrew Tridgell
76750a1d9d scripts: added fmuv5 to autobuild 2018-06-08 09:56:41 +10:00
Andrew Tridgell
11b327e336 scripts: update decode_devid.py for new IMUs 2018-06-06 07:15:41 +10:00
Peter Barker
0b8b23baf6 Tools: adjust tests for vfr_hud getting absolute altitude 2018-06-05 09:38:20 +10:00
Michael du Breuil
dcc25838fb CI: Run param parse last, on all CI instances
This makes param parse failures much more obvious in the CI logs, as
well as ensuring that both Semaphore and Travis will fail on bad
parameter data (which should reduce user confusion when one service
passes and the other fails).
2018-06-05 09:11:09 +10:00
Randy Mackay
3ecc0ea6c8 Tools: add hydrotek boat default parameters 2018-05-29 16:07:55 +09:00
Yuuji Awata
945a392409 Tool: Add name to GIT_Success.txt 2018-05-29 08:20:30 +09:00
Randy Mackay
f2ac48a33e Tools: update holybro kospi1 default 2018-05-28 10:42:21 +09:00
Randy Mackay
268fac0fba Tools: default params for Holybro Kospi1 2018-05-28 10:11:45 +09:00
Michael du Breuil
177c4c2d44 Tools: Accept mAh as a unit 2018-05-26 08:49:02 +09:00
Eugene Shamaev
68ec9f4119 Tools: add CAN bus declaration for the intel aero board 2018-05-25 13:53:17 +10:00
Lucas De Marchi
2916a3f40c build: add --apstatedir for Linux boards
This is the --localstatedir that is found on other
buildsystems/programs + the package directory. We could provide a
--localstatedir instead to be similar to the others, but I thought it
would be too confusing for the help message.
2018-05-24 08:00:33 -07:00
Tom Pittenger
c59be8bafe Tools: add "octal" param unit 2018-05-23 14:02:45 -07:00
Jesse Millwood
014702fc64 Changed Argument Parsing for sim_vehicle.py
The arguments now properly pare the arguments passed through to the
ardupilot instance and to mavproxy.
2018-05-23 17:34:24 +10:00
Francisco Ferreira
ddb45a0813 waf: move skyviper-v2450-px4 definitions to board config 2018-05-22 08:35:01 +09:00
Eugene Shamaev
797fc84e92 Tools/CPUInfo: type conversion 2018-05-22 08:35:01 +09:00
Andrew Tridgell
a17979383d autotest: fixed single and coax motor ranges 2018-05-21 13:04:13 +10:00
Yuuya Fujiwara
abc8208028 Tools: Add name to GIT_Success.txt 2018-05-21 09:46:56 +09:00
seitakataro
a4e208c6cc Tools: Added my name to GIT_Success.txt 2018-05-21 09:42:56 +09:00
Peter Barker
d320e8517d Tools: correct check for realpath 2018-05-17 17:27:43 +10:00
Peter Barker
ee01687c55 Tools: fix autotest/valgrind on Vagrant virtual machines 2018-05-17 17:27:43 +10:00
Michael du Breuil
82d486add0 Tools: Add proximity as a common library 2018-05-16 23:21:41 +01:00
Andrew Tridgell
cc931e9a2a waf: allow F4Light USB ID to be recognised 2018-05-16 20:24:23 +10:00
murata
47b0e00b11 autotest: Added test field location. 2018-05-16 09:57:08 +09:00
Peter Barker
3615219c4c Tools: install-prereqs-ubuntu: correct check for realpath 2018-05-16 08:35:54 +10:00
Peter Barker
fd4463de68 Tools: add more information on test failure 2018-05-15 20:06:05 +09:00
Peter Barker
23a2ea4084 Tools: autotest: set rc to 1500 on RTL 2018-05-15 20:06:05 +09:00
Guilherme Sousa
dab3b93dc3 autotest: Improved motor failure test
This is based on https://github.com/ArduPilot/ardupilot/pull/6028 by
GuilhermeGSousa
2018-05-15 20:06:05 +09:00
Peter Barker
5f44327dab Tools: install-prereqs-ubuntu: only install realpath package if available
This has been rolled into coreutils in more recent Ubuntus
2018-05-15 12:52:03 +10:00
Buzz
0f39c4da80 Tools: install-prereqs-ubuntu.sh: increase verbosity
Make it a bit more verbose in regard to which script is running, helpful for new user/s especially.
2018-05-15 12:09:32 +10:00
Buzz
b3e8618f9d Tools: initvagrant.sh: increase verbosity
- it needs to be run as root, but did not check.
 - increase the verbosity a bit as during 'vagrant up' as its often unclear which script is actually running.
2018-05-15 12:08:56 +10:00
Buzz
f5b2d5ca66 Tools: jsbsim script should not re-install jsbsim if it's already installed
It's called unconditionally from other script/s that may be run repeatedly
2018-05-15 12:08:19 +10:00
Andre Kjellstrup
63c1439c39 geotag.sh - an advanced geotagging tool.
It can do all, tag by time, with offset, by CAM messages, detect and
help correct problems, and process multiple logs(flights) at once.
2018-05-15 11:30:21 +10:00
LAPTOP-HP031GUH\waga
6b13e211ba Tools: Add name to GIT_Success.txt 2018-05-14 06:08:14 +10:00
stephen.dade
ce31c55091 Tools - added extra packages for Cygwin environment setup scripts 2018-05-12 10:59:10 +09:00
Peter Barker
167553e8a5 Tools: autotest: tidy usage and simplify vehicle build steps 2018-05-11 13:43:33 +10:00
ChristopherOlson
087fd4effc Tools: Add default tuning params for single-rotor TradHeli
Tunes PSC, LOIT, NAV, ATC specific to Copter 3.6 and New Loiter
2018-05-11 12:28:14 +09:00
Peter Barker
f3d6d8e236 Tools: autotest: make Copter tests more reliable
RTL may disarm the vehicle on completion.  We RTL at several times in
the testing, and the subsequent tests were not rearming.  This means we
had a race condition.

We now explicitly wait to be disarmed by the RTL mode, and rearm the
vehicle.

This is an interim patch until we decide whether to make each "test"
self-contained, and have a precondition of "on ground and disarmed".
2018-05-11 08:07:21 +09:00
Daisuke IMAI
04dbb0dd9d Tools: Add name to GIT_Success.txt 2018-05-10 13:38:19 -07:00
Peter Barker
4847a61868 Tools: build all vehicles in build-with-disabled-features 2018-05-10 17:55:13 +09:00
Andrew Tridgell
6ab96fe8a9 Tools: don't publish elf files in build_binaries.py
these just confuse users of ChibiOS
2018-05-10 17:37:59 +10:00
Peter Barker
58f4b4b65d Tools: autotest: correct copter auto mission test 2018-05-09 14:23:51 +10:00
Peter Barker
513865ae4d Tools: autotest: flake8 compliance 2018-05-09 14:23:51 +10:00
Karthik Desai
40cd0cd17f Tools: autotest: Use the generic run_test.
If any of the tests throws an exception, it will be caught by the generic test function
that collects all errors and displays them before passing the result to the vehicle testcode.
Hence the name of the test and the exception that got raised get printed in a single
location. This nicely reduces code duplication.
2018-05-09 14:23:45 +10:00
Karthik Desai
7a20dd8b73 Tools: autotest: Added a generic run_test.
This function is called from every vehicle to run a test. If any of the tests throws an exception, it will be caught here, and the name of the test and the exception that got raised will be added to the fail_list
2018-05-09 14:23:40 +10:00
Karthik Desai
b485867db3 Tools: autotest: Check if the mode exists in the dictionary 2018-05-09 14:23:35 +10:00
Karthik Desai
d26c09ccac Tools: autotest: Add and raise exceptions for wait_* helper functions 2018-05-09 14:23:26 +10:00
Andrew Tridgell
9096bcf7b2 Tools: fixed reference to linux-debug 2018-05-09 14:17:32 +10:00
Pierre Kancir
cc50fff51f Tools: install-prereqs-ubuntu: add xterm to SITL install list 2018-05-09 13:38:36 +10:00
Dimitri Vasilkov
d2c247bb90 Added to success.txt, added UChicago to locations.txt 2018-05-08 13:42:31 -07:00
Patrick José Pereira
9dee2c4981 Tools: Add ardusub
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-05-08 09:58:13 +10:00
Patrick José Pereira
f4559113c5 Tools: Update build_docs script
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-05-08 09:58:13 +10:00
Peter Barker
cb2e3424ee Tools: add kilobytes as known unit 2018-05-08 09:36:01 +10:00