Commit Graph

3470 Commits

Author SHA1 Message Date
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
Ebin
830a3bbacf Tools: modified default params for Balance Bot 2018-07-20 14:41:32 +10:00
Andrew Tridgell
ff0f293d06 Tools: added KakuteF7 bootloader 2018-07-19 17:06:40 +10:00
Stephen Dade
0130ff9b89 Tools - updated URL and git submodule command for install-prereqs 2018-07-19 14:52:05 +09:00
Andrew Tridgell
9cba2c9bd3 Tools: fixed build target for F4BY 2018-07-18 21:24:44 +10:00
Andrew Tridgell
578f17c45a Tools: rename f4by-ch to F4BY 2018-07-18 21:24:29 +10:00
Andrew Tridgell
34e9a6e693 Tools: added f4by to autobuild list 2018-07-18 21:11:44 +10:00
Alexander Malishev
f265d7e128 AP_Bootloader: add f4by bootloader 2018-07-18 21:10:39 +10:00
Andrew Tridgell
d49d5cbb85 autotest: fixed tailsitter default params for SITL 2018-07-18 19:58:02 +10:00
Andrew Tridgell
07871cb867 Tools: rename revo405_bl to F4LightF405_bl
this is the general bootloader used for F4Light. Prevents confusion
for ChibiOS users
2018-07-18 17:49:54 +10:00
Stephen
651a7030aa Tools: Add quotes in ChibiOS waf file
Without these quotes, the ChibiOS build fails if there are spaces in the Ardupilot path, ie ``C:\Stephen Dade\files\ardupilot``
2018-07-18 12:55:29 +10:00
Peter Barker
8fdcd7e1f5 Tools: hide parameter in documentation if no values present 2018-07-17 12:08:27 +10:00
Michael du Breuil
8ab3b666fa Tools: Remove unused ADC include 2018-07-17 09:29:50 +10:00
Andrew Tridgell
44cfb6eaca Tools: added KakuteF7 to builds 2018-07-13 14:53:53 +10:00
Andrew Tridgell
087aa1a199 Tools: decode SITL device IDs 2018-07-13 10:19:01 +10:00
Pierre Kancir
0af97529ba Tools: common.py : fix empty returned_value variable 2018-07-12 21:13:02 +10:00
Pierre Kancir
065a459df8 Tools: common.py : make some method statics 2018-07-12 21:13:02 +10:00
Pierre Kancir
6c43ab27c1 Tools: remove trailling semilocons 2018-07-12 21:13:02 +10:00
Andrew Tridgell
3b951471f0 Tools: added bootloaders for mRoX21 and Pixracer 2018-07-12 12:33:32 +10:00
Andrew Tridgell
20d1d9dc36 Tools: build Pixracer and mRoX21 in autobuild 2018-07-12 12:33:32 +10:00
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