Commit Graph

2511 Commits

Author SHA1 Message Date
Gustavo Jose de Sousa
b8e518a533 waf: use ap_library tool
That way we avoid recompiling source files that don't depend on vehicles.
Change notes:
- UTILITY_SOURCE_EXTS: moved to ap_library
- Task generators indexes: ap_library handles that now and in a better way
- Use of AP_STLIB_FEATURES: it doesn't make sense anymore, since the stlib
  taskgen has empty source list
- Flags and defines: passed down to ap_library through AP_LIBRARIES_OBJECTS_KW
- Set use='mavlink' in AP_LIBRARIES_OBJECTS_KW instead of calls to
  bld.ap_stlib().
2016-08-24 10:46:23 -03:00
Gustavo Jose de Sousa
9a6fcafade waf: ap_library: add tool
That's a tool for creating task generators for libraries object files. One of
the key objectives of this patch is to provide a way to avoid recompiling
sources that are independent of vehicles.
2016-08-24 10:46:23 -03:00
Gustavo Jose de Sousa
b191269cc8 waf: px4: run firmware task after link task
This fix a bug introduced by 06a5156 ("waf: px4: reconfigure PX4Firmware for
each program"), with the removal of the call fw_task.set_run_after(cp_lib).
2016-08-24 10:46:23 -03:00
Gustavo Jose de Sousa
8fb6ccc8b7 waf: px4: use copy of "use" in px4_import_objects_from_use()
Utils.to_list() returns the argument if it is a list, which means that
px4_import_objects_from_use() cleared that attribute when processing the queue.
2016-08-24 10:46:23 -03:00
Gustavo Jose de Sousa
424f6490fc waf: px4: add missing import Errors 2016-08-24 10:46:23 -03:00
Craig Elder
68dfe42443 Autotest: Update logo.png 2016-08-22 19:50:03 -06:00
Craig Elder
30e1ee2c8f Autotest: Delete Logo 2016-08-22 19:49:16 -06:00
Peter Barker
569a7a4abd Tools: sim_vehicle.py - correct process termination
Closes #4699
2016-08-22 15:38:50 +10:00
Craig Elder
211175efac Autotest: Update Logo 2016-08-21 23:31:12 -06:00
Craig Elder
121c7f1136 Update Logo 2016-08-21 23:26:14 -06:00
Craig Elder
ac8b17c177 Autotest: Updated website names 2016-08-21 19:07:23 -06:00
Eduardo Cáceres de la Calle
0395141450 Tools: Add name to GIT_Success.txt 2016-08-18 20:17:16 +09:00
MitsuhiroKomiya
dc9c101594 Tools: Git_Success.txt added my name 2016-08-18 19:34:39 +09:00
ropizo
2d89c631ea Tools: Git test.
This is for the preliminary check of github PR.
2016-08-18 18:47:55 +09:00
SuzukiYasuyuki
9722e921d5 Update GIT_Success.txt
added Yasuyuki Suzuki
2016-08-18 18:42:58 +09:00
yoshinuma
0c2d01b60c add my name 2016-08-18 00:03:22 -07:00
muro008
7f0a4e3874 added name to GIT_Success.txt 2016-08-17 23:58:06 -07:00
Saegusa5
c2f23b88ed Add GIT_Success.txt 2016-08-17 23:56:58 -07:00
YukiMiyama
aaebfc9239 added my name to GIT_Success.txt 2016-08-17 23:50:47 -07:00
Peter Barker
25136ea15a Tools: correct tracker build 2016-08-17 08:33:53 +10:00
Peter Barker
08ef3271c1 Tools: bump Vagrant Ubuntu to Wily
This allows the Vagrant VM to build PX4 using waf.

The initvagrant script has been changed to run as much as possible
as the Vagrant user.

jsbsim is now compiled by the vagrant user, and run from the source directory.
2016-08-16 10:23:48 -03:00
Takanobu Minoshima
00eb5ed355 Git: added name to GIT_Success.txt
Testing whether I cann add changes to git success via the Windows Client
2016-08-16 10:55:59 +09:00
ysk73
8f1f9481eb Tools: added name to GIT_Success.txt
by Yuki Yoshioka
2016-08-16 09:58:58 +09:00
Kouichi Nakajima
6e643d64b7 Tools: add Kouichi Nakajim to Git_Success.txt 2016-08-16 09:47:41 +09:00
Lucas De Marchi
46be2cf026 Tools: build_binaries: fix generation of firmware-version.txt
For waf builds we build from root directory.
2016-08-13 17:44:38 -03:00
Lucas De Marchi
cd333cb43a Tools: build_binaries: fix check for wrong file
We get the version from version.h not APM_Config.h.
2016-08-13 17:44:38 -03:00
Lucas De Marchi
a511f97971 Tools: build_binaries: fix inverted condition 2016-08-11 09:01:43 -03:00
Lucas De Marchi
80b04ecb41 scripts: update command with sim_vehicle.py 2016-08-10 17:00:09 -03:00
Lucas De Marchi
8a3974f08f vagrant: update commands to sim_vehicle.py 2016-08-10 16:59:39 -03:00
Peter Barker
06b0dec15e Tools: remove sim_vehicle.sh in favour of sim_vehicle.py 2016-08-10 16:56:04 -03:00
Lucas De Marchi
53968e5d78 Tools: build_binaries: add bebop to arducopter-quad 2016-08-10 11:12:54 +09:00
Lucas De Marchi
6553e428c0 Tools: build_binaries: add navio/navio2 to antennatracker 2016-08-10 11:12:52 +09:00
Lucas De Marchi
6e9686a16b Tools: build_binaries: use waf for Linux boards 2016-08-10 11:12:50 +09:00
IndustrialWasteWeaponOfUltimate
431f7da5b3 Tools: add Shinya Oda to GIT_Success.txt 2016-08-09 16:21:31 +09:00
Randy Mackay
65ee71075c Tools: set GND_EFFECT_COMP for Bebop2 params 2016-08-09 16:19:53 +09:00
Lucas De Marchi
f0590581e4 autotest: standardize name of param files
Try to make the various param files to follow similar namings:

    - Lowercase the few ones using uppercase
    - Use dash to separate name components
    - Start with "copter", "plane", "rover", etc instead of the mix we
      had
    - Remove "params" from the filename since it's redundant with the
      extension
2016-08-08 10:12:14 -03:00
Tom Pittenger
127e86562a AP_Relay: remove FixedWing dependency on airspeed 2016-08-08 00:25:20 -07:00
Tom Pittenger
aa65fda01c Revert "Replay: Convert references to AP_Airspeed."
This reverts commit 96b287735f.
2016-08-07 17:54:24 -07:00
KenjiKoseki
d8367ecbef Tools:add Kenji Koseki to Git_Success.txt 2016-08-08 09:53:46 +09:00
Tatsuya Yamaguchi
be398864b7 Git: add Tatsuya Yamaguchi to Git_Success.txt 2016-08-08 09:51:33 +09:00
yHoriuchi
5b1d22f35d GIT_Test: add Yasuhide Horiuchi to GIT_Success.txt 2016-08-06 09:11:38 +09:00
Kunihiro.Yoshida
ab8a6da397 Tools: add name to Git_Success.txt 2016-08-05 21:12:43 +09:00
Randy Mackay
650d6756bf Tools: update EnRoute EX700 parameter defaults 2016-08-05 16:26:36 +09:00
Kazutaka Ozawa
0582cd254e assignment 2016-08-05 10:40:30 +09:00
AndersonRayner
96b287735f Replay: Convert references to AP_Airspeed. 2016-08-04 10:09:04 -07:00
EijiAoki
699d5bf99c Homework at Dronecode seminar 2016-08-04 09:38:50 -07:00
ikgmats
0b492288e7 Git: add Ikegami Atsushi to GIT_Success.txt 2016-08-04 22:07:11 +09:00
Randy Mackay
3b86ef71ca Tools: update EnRoute EX700 parameters 2016-08-04 16:56:46 +09:00
Yu Kuwahara
f5b4a482b0 Git: add Yu Kuwahara to Git_Success.txt 2016-08-04 14:42:57 +09:00
okapy
0141fa972f Git: added Hiroshi Kitaoka to GIT_Success.txt 2016-08-04 14:37:20 +09:00
Randy Mackay
de24d2ca3b Tools: add EnRoute EX700 frame parameters 2016-08-04 14:37:14 +09:00
Pierre Kancir
19d94737a0 autotest: move all default params to default_params directory 2016-08-03 17:44:37 -03:00
murata
ec59a83219 Git: add Murata Katsutoshi to Git_Success.txt 2016-08-03 15:16:23 +09:00
ShingoMatsuura
bf5a035024 Git: add Shingo Matsuura to Git_Success.txt 2016-08-03 13:28:24 +09:00
Gustavo Jose de Sousa
2e1ac0de8d waf: make get_legacy_defines() "public"
That function will be used by an upcoming separate tool.
2016-08-01 22:04:16 -03:00
Gustavo Jose de Sousa
f2dec971e7 waf: add "ap_" prefix to keywords "libraries" and "vehicle"
As an effort to keep things specific to ardupilot API in the build system
consistent and easy way to identify.
2016-08-01 22:04:16 -03:00
Pierre Kancir
07eb170b39 Autotest: correct mavproxy unloaded map error 2016-08-01 10:37:15 -03:00
Gustavo Jose de Sousa
d1c5691501 waf: build_summary: let the user register the post build callback
That allows more control from the user's point of view.
2016-07-28 17:50:19 -03:00
Pierre Kancir
ff8c772776 sim_vehicle.py: correct url 2016-07-28 16:44:18 -03:00
Pierre Kancir
40a594e137 sim_vehicle.py : style correction 2016-07-28 16:44:18 -03:00
Staroselskii Georgii
61e066513d FlightGear: remove the application
It seems like nobody uses this app because it can't even get compiled.
That's why I think it should go away.
2016-07-27 21:30:19 +10:00
Staroselskii Georgii
bd8c61542d Replay: make use of sigaction instead of signal API
It's a more proper and portable way to set up signal handlers.
2016-07-27 21:30:19 +10:00
Staroselskii Georgii
9576be3a21 Replay: encapsulated signal handling 2016-07-27 21:30:18 +10:00
Andrew Tridgell
70c4038751 Replay: changed Makefile to use waf 2016-07-27 21:28:30 +10:00
Gustavo Jose de Sousa
4bd17ab90c waf: git_submodule: allow warning about skipped submodules updates
Provide a function to register a post build routine to do the warnings. Do that
way so that the user can chose when to add the callback to the build (i.e.
allow the user to assert a desired order for the post build callbacks to be
called).
2016-07-25 16:45:57 -03:00
Gustavo Jose de Sousa
4cd70842d9 waf: git_submodule: don't update submodule if non-fastforward
Don't cause trouble to developers working on submodules.
2016-07-25 16:45:57 -03:00
Andrew Tridgell
db8bf48747 build: added AP_ICEngine to build 2016-07-25 10:06:03 +10:00
Andrew Tridgell
3489f7b576 autotest: use builtin plane sim for autotest
and simplify startup using defaults file
2016-07-22 16:42:46 +10:00
Andrew Tridgell
241b6edfcf Build: added AP_Button to build 2016-07-22 15:01:20 +10:00
Andrew Tridgell
fd286498af PX4: added otp to the build 2016-07-21 18:05:00 +10:00
Lucas De Marchi
2b1b23cabf build: fix static linking through --static option 2016-07-20 18:03:20 -03:00
Andrew Tridgell
9ea4a9233d autotest: updated OBC2016 mission
added butterfly search
2016-07-20 19:44:14 +10:00
Andrew Tridgell
3769e0fc64 waf: build support for Disco 2016-07-20 13:28:28 +10:00
priseborough
18c4327a2a autotest: reduce copter test run time
Signed-off-by: priseborough <p_riseborough@live.com.au>
2016-07-19 12:16:50 +10:00
priseborough
cc0d3b89d3 Replay: use separated EKF horiz/vert position interfaces 2016-07-19 12:16:49 +10:00
priseborough
e0d87bf529 autotest: Increase startup wait time to allow EKF and GPS checks to pass 2016-07-19 12:16:48 +10:00
Gustavo Jose de Sousa
9a9b59a97f waf: boards: fix funny CXXFLAGS typo 2016-07-18 15:26:07 -03:00
Julien Beraud
fdb43fdc6a Frame_Params: fix param name for bebop
Change-Id: Id1c16e11e68f0004019afc885acf0e0f119b78b7
2016-07-15 12:25:17 -03:00
Gustavo Jose de Sousa
849a83315a waf: git_submodule: fix for Waf 1.9
Tasks cwd must be Node objects in Waf 1.9
2016-07-14 14:00:07 -03:00
Andrew Tridgell
d25db426a3 waf: added AP_Module to the build 2016-07-14 13:39:47 +10:00
Andrew Tridgell
59e4e8def6 autotest: make bat files work with multiple versions of flightgear 2016-07-14 12:50:27 +10:00
Lucas De Marchi
b375b33189 waf: allow to disable tests
This allows to completely disable the tests. Even the gtest submodule is
not checked out allowing integration on build servers without needing to
download one more submodule.

This is different from the --notests flag. The latter only disables
executing the tests, but always use the submodule.
2016-07-13 15:38:50 -03:00
Lucas De Marchi
8967220652 waf: pass uselib_store in check_package()
This guarantees waf will always add the flags with our known prefix.
2016-07-13 15:24:42 -03:00
Andrew Tridgell
1b12371e25 waf: use define_name in libdl check 2016-07-13 15:24:42 -03:00
Andrew Tridgell
a5adae5fb4 waf: make linux check for libdl
needed for libiio
2016-07-13 15:24:42 -03:00
Andrew Tridgell
3322d7c321 waf: don't build bebop static
need dynamic for libiio
2016-07-13 15:24:42 -03:00
Andrew Tridgell
2980d47e23 waf: added check_package() function for pkg-config checks
this converts existing pkg-config checks to use check_package, which
sets up all the needed variables after a check.

This also disables libdl and libiio for static builds, where they make
no sense
2016-07-13 15:24:41 -03:00
Lucas De Marchi
ee62b61fc7 waf: use STDC format macros 2016-07-13 14:18:27 +10:00
Lucas De Marchi
8a27680fbb build: check for endian.h and byteswap.h 2016-07-08 19:49:32 -03:00
Andrew Tridgell
1a3b292aa3 autotest: fixed run_in_terminal_window() on Linux
try to retain MacOS functionality too
2016-07-08 08:20:20 +10:00
Lucas De Marchi
e2498a1090 autotest: add function to kill tasks on MacOS
Like done on other cases, add an explicit function for that, which turns
the comment redundant.
2016-07-07 11:35:18 -03:00
Siddharth Bharat Purohit
4f0dad19ea autotest: support mac osx terminal launch 2016-07-07 11:35:17 -03:00
Siddharth Bharat Purohit
71c2f69a63 waf: add support for sitl build on mac 2016-07-07 11:35:17 -03:00
snl1101
e15b1a8f2e SITL: add Sterling to locations.txt 2016-07-01 11:21:56 +09:00
Gustavo Jose de Sousa
f426e2c681 Replay: build: use separate library
There are checks for APM_BUILD_Replay in the source code, so Replay tools needs
a separate static library.
2016-06-30 12:55:18 -03:00
Andrew Tridgell
d477905fbd autotest: fixed XPlane with sim_vehicle.py 2016-06-30 20:26:14 +10:00
Andrew Tridgell
b1de768756 autotest: added quadplane-tilttri parameters 2016-06-30 17:00:56 +10:00
Andrew Tridgell
0f7b4a0cd1 autotest: fixed tricopter quadplane for sim_vehicle.py 2016-06-30 14:16:52 +10:00
Gustavo Jose de Sousa
a748c52f06 waf: bump to version 1.9.0
Some things worth mentioning:

- That version contains commits we had cherry picked on our submodule.
- There's a patch on top with a fix for the new process spawning used on
  version 1.9.0. That has already been applied to upstream's master, but not
  released yet.
- This patch also does necessary changes on our build system in order to
  accommodate the upgrade. Basically:
  - Use full task class names when calling create_task().
  - Use always_run class attribute instead of the decorator, which is
    deprecated.
2016-06-29 11:18:22 -03:00
Paul Riseborough
094dd9d769 Replay: Fix bug preventing use of IMT data during replay 2016-06-28 14:20:13 +10:00