Grant Morphett
705f96dd3e
Build: More changes as we move to WAF
...
The only example being built in build_all.sh was CPUInfo and that is
really an APM tool. It will get built further down in when
autotest.py calls build.Examples so we don't need to build it here.
And changing the Replay build to just call make which really means it
will invoke waf as that's what the makefile does.
2016-11-02 15:14:30 -03:00
Lucas De Marchi
0c1f2ba144
scripts: add cmake to install-prereq scripts
2016-10-31 09:49:40 -07:00
Jani Hirvinen
c99a4a6973
Update build_autotest.sh
2016-10-31 19:53:29 +11:00
rahul-io
6c9924f3e9
Add Rahul Nunna to List
2016-10-30 23:56:49 -07:00
gregorydz
f3b6acb7a1
Git test Yay!
2016-10-28 15:40:07 -07:00
DESKTOP-TGSQLBG\kinuy
6864864797
JapanDrone school homework
2016-10-27 09:34:54 -07:00
Lucas De Marchi
217da05c64
build: Add Urus board to waf
2016-10-27 11:53:26 -02:00
Randy Mackay
964ddfb0d2
SITL: increase speed of yaw in copter sitl
...
This should resolve the SITL failures caused by the recent change to add
yaw expo to all manual flight modes
2016-10-27 10:44:44 +09:00
Mathieu OTHACEHE
5e42800b5e
Disco: add LED support
...
Use RGBLed generic implementation to support Disco LED.
2016-10-26 11:56:11 -03:00
Peter Barker
30233ab9b8
Tools: unhide groups when generating parameters in autotest
2016-10-26 09:53:14 +11:00
Peter Barker
729765bd30
Tools: correct firmware-version.txt file creation
2016-10-25 17:00:43 +11:00
Peter Barker
90979b6db5
Tools: skip malformed firmware-version.txt files
2016-10-25 17:00:43 +11:00
Peter Barker
b9270712e4
Tools: fix manifest generation (skip files.html)
2016-10-25 17:00:43 +11:00
Andrew Tridgell
10638d72a7
Tools: useful plane run script
2016-10-25 17:00:03 +11:00
Francisco Ferreira
79cb4ea595
Tools: set Disco battery capacity in frame parameters
2016-10-24 09:24:11 -03:00
Francisco Ferreira
832fec68b7
Tools: set Bebop battery capacity in frame parameters
2016-10-24 09:24:11 -03:00
Martin Evans
c0b913a975
build: Add Dark board to waf
2016-10-24 10:01:55 -02:00
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
2016-10-24 09:42:01 -02:00
Sumiaki Takemoto
13a0b112c3
Tools: add name to Git_Success
2016-10-24 19:08:59 +09:00
JOS43\tamura
d61775226f
Tools: add name to Git_Success
2016-10-24 10:23:57 +09:00
natsuki
0ad8e180c0
Tools: add name to Git_Success
2016-10-24 10:21:42 +09:00
TsuyoshiKawamura
603f061f58
(retry) Added my name to GIT_Success.txt
2016-10-22 09:35:46 -07:00
TsuyoshiKawamura
80f46c925b
Add name to git test
2016-10-22 13:33:38 +09:00
Yuichiro Shibata
00836eea99
added my name to GIT_Success.txt
2016-10-22 13:31:16 +09:00
Mathieu OTHACEHE
01804063f6
Disco: set SCHED_LOOP_RATE to 200
...
Video stabilization on stock firmware requires main loop to run at
200Hz.
2016-10-20 09:07:54 -03:00
Mathieu OTHACEHE
6ccbbb0074
Disco: set WP_LOITER_RAD to 30
...
Use the same value for LOITER radius as in stock autopilot.
2016-10-20 09:07:54 -03:00
Mathieu OTHACEHE
352551a239
Bebop2: Remove CR in param file.
...
Remove CR in Parrot_Bebop2.param line endings.
2016-10-20 09:07:07 -03:00
Andrew Tridgell
bd0d37e2fd
Tools: added cmake to ububtu prereqs install
...
this fixes waf build for ubuntu 14.04 LTS
2016-10-20 16:29:51 +11:00
Peter Barker
0bcbf726ac
Tools: move Vagrant to 16.10 LTS (Yakkety Yak)
...
Hopefully this will the last move for 2 years.
This move gives us a version of git which uses absolute paths
in the .git files in submodules, so sharing a repo with the
host should be cleaner.
The current Vagrant box does not appear to use a vagrant user. This
might change in future boxes.
2016-10-20 11:14:41 +11:00
Pierre Kancir
2cefaf8a4d
autotest: update gazebo-iris parms
2016-10-19 18:04:09 +11:00
Andrew Tridgell
d967074183
autotest: disable rebuild-on-failure by default
...
the waf build has much better dependencies, so on balance this is more
annoying than useful now
2016-10-19 09:58:54 +11:00
Andrew Tridgell
227bd3d13c
Frame_params: enabled FS_THR_ENABLE on Bebop and Bebop2
2016-10-18 21:00:13 +11:00
Andrew Tridgell
fe3d57b19c
Frame_params: fixed scaling errors in Bebop parameters
2016-10-18 08:28:58 +11:00
Pierre Kancir
10c3d82c67
Tools: update ci install script
2016-10-16 13:02:48 -02:00
Pierre Kancir
f7d19a6cd7
Tools: update ubuntu install script
2016-10-16 13:02:48 -02:00
Pierre Kancir
59366b058a
Tools: update ci install script
2016-10-15 09:23:10 -03:00
Pierre Kancir
2942b1b56d
Tools: update arch install script
2016-10-15 09:23:10 -03:00
Pierre Kancir
08cf58a027
Tools: update ubuntu install script
2016-10-15 09:23:10 -03:00
Andrew Tridgell
16bd04ba7e
Tools: update frame parameters for Disco
...
use new SERVO_RNG_ENABLE option. This makes tuning independent of the
users R/C settings
2016-10-15 16:59:37 +11:00
Lucas De Marchi
041ec327a2
ci: add ~/.local/bin to PATH
...
In semaphoreci it doesn't have ~/.local/bin by default on path making
us not able to find the mavproxy.py executable.
2016-10-14 18:58:58 -03:00
Lucas De Marchi
cc683c1db1
build: use gcc/g++ first
...
We currently are unable to build on MacOSX unless we give waf the
--check-cxx-compiler g++. Change the compiler order to search for
gcc/g++ first instead of clang/clang++.
2016-10-14 17:30:46 -03:00
Andrew Tridgell
fcc89a2577
autotest: fixed RC_CHANNELS_RAW -> RC_CHANNELS
2016-10-14 11:40:23 +11:00
khancyr
bba5b0e530
autotest: update gazebo-iris parms
2016-10-13 20:40:49 +11:00
Andrew Tridgell
ec1462dccf
autotest: use minimal params for zephyr gazebo model
2016-10-13 12:03:20 +11:00
Andrew Tridgell
860f1918e8
autotest: update gazebo-iris parms to be minimal
2016-10-13 12:03:20 +11:00
John Hsu
4c14707611
SITL: set simulation names gazebo-iris and gazebo-zephyr in sim_vehicles.py
2016-10-13 12:03:20 +11:00
John Hsu
7cae83581b
SITL: add Gazebo SITL params for Iris with IRLocak tracking, Zephyr elevon flying wing model, and update sim_vehicles.py with GazeboIris and GazeboZephyr labels.
2016-10-13 12:03:20 +11:00
Andrew Tridgell
a5c9fb56af
Tools: updated arch install script
2016-10-12 21:41:19 +11:00
Andrew Tridgell
b66c3d3915
Tools: added lxml and future for ubuntu users
2016-10-12 21:40:48 +11:00
josecoto
de5b40d70e
Update locations.txt
2016-10-11 19:47:53 +11:00
josecoto
e6eafc4506
SITL- Add EPI Gijon location
...
This is the Politechnic School of Engineering (University of Oviedo, Spain) test ground location were our students test UAVs and SITL simulator
2016-10-11 19:47:53 +11:00
Gustavo Jose de Sousa
414977b6c5
Tools: sitl_calibration: add sitl_autonomous_magcal command
2016-10-11 12:58:37 +11:00
Gustavo Jose de Sousa
226290158b
Tools: sitl_calibration: fix PWM values for angular velocity
2016-10-11 12:58:37 +11:00
Andrew Tridgell
7041d2587b
Travis: added dependency on python future and lxml
2016-10-11 06:42:22 +11:00
shinski0211
8c1b551ad9
Added my name to GIT_Success.txt
2016-10-09 23:53:30 -07:00
Peter Barker
068c310ed5
Tools: remove hard-coded FRAME global, specify same via parameter
2016-10-10 11:09:47 +11:00
Fnoop
2c0b687b9d
Tools: Make default udpout ports scale by instance in sim_vehicle.py
2016-10-09 21:49:45 +11:00
Fnoop
02f49398be
Added name to GIT_Success.txt
2016-10-09 21:09:31 +11:00
Peter Barker
edf6964487
Tools: autotest: emit lockfile name in case of contention
...
For those of us who want to remove the lockfile and can
never remember where it lives
2016-09-23 16:55:52 +10:00
Peter Barker
084862a999
Tools: build_ci.sh: make target not required in Replay directory
2016-09-19 12:56:42 +10:00
Peter Barker
c23ee3d35c
Tools: tag run-in-terminal-window output with RiTW:
2016-09-19 12:55:42 +10:00
Peter Barker
909f7779c7
Tools: rearrange sim_vehicle.py to put all functions first
2016-09-19 09:13:53 +10:00
Andrew Tridgell
c9435963c8
autotest: use ArduPilot mavlink tree
2016-09-19 08:44:32 +10:00
Matthew Brener
06388b0417
Global: Fix typos
2016-09-17 00:36:36 -03:00
Andrew Tridgell
19d580d60f
Disco: adjust default Disco parameters
2016-09-16 19:31:28 +10:00
Andrew Tridgell
2d2ed7b06e
autotest: added autobuild of disco
2016-09-15 19:57:32 +10:00
Andrew Tridgell
65bcead1bd
autotest: build bebop static in build_binaries.sh
2016-09-15 19:56:27 +10:00
Andrew Tridgell
dd3d5152f6
Frame_params: added more Disco info
2016-09-15 18:17:09 +10:00
Andrew Tridgell
94460949e1
Frames: added Parrot Disco parameters
2016-09-15 18:09:35 +10:00
Peter Barker
074e9dc9b0
Tools: special --aircraft mavproxy pass-through for sim-vehicle.py
2016-09-09 17:36:37 +10:00
Lucas De Marchi
f5be0823f9
sim_vehicle.py: move exit handler and start message
...
Move them after the argument parser because otherwise they would display
and the handler be registered when using the 'help' option.
2016-09-09 15:50:52 +10:00
Lucas De Marchi
0a75e2f12a
sim_vehicle.py: fix indent on epilog
2016-09-09 15:50:52 +10:00
Andrew Tridgell
26e1c30b19
autotest: avoid a race condition in quadplane test
...
this shows up on the new (faster) autotest server
2016-09-08 15:28:20 +10:00
Peter Barker
45bc95edeb
Tools: LogAnalyzer: handle changed RCOU and parameters in motorbalance
2016-09-08 08:54:50 +10:00
Peter Barker
f42df1bc54
Tools: LogAnalyzer: handle MODE lines appearing before vehicle MSGs
2016-09-08 08:41:09 +10:00
Peter Barker
214bca8b30
Tools: LogAnalyzer: correct CTUN test
2016-09-08 08:41:09 +10:00
Peter Barker
f1641161d7
Tools: LogAnalyzer: correct Vcc test
2016-09-08 08:41:09 +10:00
Andrew Tridgell
6e2c600fe7
autotest: make px4-clean between px4 builds
...
avoids an issue where vehicle object files are re-used from other
targets
2016-09-05 18:22:01 +10:00
Andrew Tridgell
d529b5e3b8
autotest: build each set of px4 binaries separately
2016-09-05 12:43:52 +10:00
Lucas De Marchi
95d5752011
build: fix configure check for headers
...
When we are checking if a header is available we can't pass -I argument
to our missing/ directory. Otherwise we would end up telling the build
that a header is available when it actually isn't.
This fixes the build of sitl in MacOS with clang.
2016-09-03 01:19:14 -03:00
José Roberto de Souza
6a9addb2a8
waf: Add Intel Aero to waf build
...
This will be the first board that only build with waf.
2016-09-03 01:03:17 -03:00
Pierre Kancir
63a6b28065
param_metadata: change Ardupilot site to old Ardupilot site
2016-09-01 13:05:11 +10:00
Pierre Kancir
59ecccd4aa
autotest: remove old apm_unit_tests
2016-09-01 13:05:11 +10:00
Pierre Kancir
9e1ffcae5d
Tools: update python coding style
...
Tools: update PrintVersion.py coding style
autotest: update python coding style
pysim: update python coding style
jsb_sim: update Python coding style
param_metadata: update Python coding style
2016-09-01 13:05:11 +10:00
Gustavo Jose de Sousa
5d7ca3fd27
waf: build_summary: don't call size for empty list of nodes
...
Otherwise, that will cause an error.
2016-08-31 00:19:51 -03:00
Randy Mackay
e4efa4c07c
Tools: EnRoute EX700 param file gets flow orientation
2016-08-31 10:34:26 +09:00
Peter Barker
198a7d7710
sim_vehicle.py: add arguments to pass args to waf build and configure
2016-08-31 11:04:40 +10:00
Lucas De Marchi
631d4a1152
Replay: add clean target for CI
...
CI has a generic infra that calls make clean before building and it
fails for Replay since it doesn't have a clean target.
2016-08-29 10:27:36 -03:00
Randy Mackay
4fbc686e68
Tools: EnRoute EX700 params get SF10b
2016-08-29 21:06:50 +09:00
Gustavo Jose de Sousa
87862a08ab
waf: ap_library: make headers whitelist portable
...
Otherwise it won't work for platforms that don't use Unix style paths.
2016-08-26 13:13:56 -03:00
Randy Mackay
28715106d6
Tools: update Bebop2 parameter gains
2016-08-26 09:12:48 +09:00
Randy Mackay
29e18dba5b
Tools: add battery failsafe to EnRoute EX700 param file
2016-08-25 13:07:56 +09:00
Gustavo Jose de Sousa
a6b55d90a7
waf: cmake: define a dictionary of supported generators
...
On Windows, using MSYS Makefiles generator doesn't work very well when the
CMakeLists.txt files use custom commands with paths as arguments. Furthermore,
MinGW Makefiles generator can't be used if sh.exe is in the system's path and
some build systems rely on sh for certain tasks (which is the case of PX4
Firmware build). Because of that, the list of generators for Windows has been
narrowed to Ninja and NMake Makefiles.
2016-08-24 12:15:42 -03:00
Gustavo Jose de Sousa
07592d650e
waf: px4: copy with shutil module instead of cp program
...
In order to make it independent of host platform.
2016-08-24 12:15:42 -03:00
Lucas De Marchi
e31a06cfdb
waf: fix programs searches
...
Here we do the following:
1) Move the pkg-config check to boards.py so we only check of it for
linux boards
2) Use cfg.find_toolchain_program() if possible, for example, for AR
2016-08-24 12:15:42 -03:00
Gustavo Jose de Sousa
f430ef3825
waf: toolchain: override find_g{xx,cc}() instead of wrapping configure()
...
That's more correct than setting Waf environment variables:
(1) We don't need to worry about differences between OSes - the previous
implementation was actually broken for Windows because the program names in
the environment variables were missing the ".exe" extension.
(2) That looks better than looping over possible compiler names and running
the configuration transactionally multiple times.
2016-08-24 12:15:42 -03:00
Gustavo Jose de Sousa
31965689cb
waf: persist implicit dependency information across clean
...
Implicit dependency scanning takes significant time and, since it doesn't
produce files, it's okay to keep the resulting information across clean
commands as long as the scanner is triggered again if there's need to. This
commit accomplishes that.
The advantage of this approach can be observed by the following timings when
building the group "bin":
Method Time
------------------------------------------------------------------------
Fully clean build 5m18.633s
Clean build with scanning result persisted 4m23.346s
Clean build with ccache but non-persistent scan results 1m40.125s
Clean build with scanning results persisted and with ccache 14.843s
While at it, move management of information persisted across clean commands to
a separate module.
2016-08-24 10:46:23 -03:00
Gustavo Jose de Sousa
6abcf6150c
waf: ap_library: use ap_persistent_task_sigs for header checking tasks
...
In order to make clean builds faster.
2016-08-24 10:46:23 -03:00
Gustavo Jose de Sousa
ef4fd0e2d3
waf: add --clean-all-sigs option
...
Explanation on the option help string.
2016-08-24 10:46:23 -03:00
Gustavo Jose de Sousa
0b7a98d40c
waf: allow persisting tasks signatures across clean commands
...
That allows some time consuming tasks that don't really produce anything on the
file system to keep their signature after a clean command is issued.
2016-08-24 10:46:23 -03:00