Commit Graph

20641 Commits

Author SHA1 Message Date
Gustavo Jose de Sousa
3d22490397 waf: examples: use methods from bld instead of ardupilotwaf 2016-01-22 20:10:29 -02:00
Gustavo Jose de Sousa
e9d3dc9e72 waf: vehicles and antennatracker: use methods from bld
Instead of from ardupilotwaf.
2016-01-22 20:10:29 -02:00
Gustavo Jose de Sousa
a89a1a8a8a waf: use ardupilotwaf as a Waf tool
That will make it possible to replace calls of the form
`ardupilotwaf.<method>(bld, <keyword-args...>)` with
`bld.<method>(<keyword-args...>)` in the wscripts.

Advantages of that approach:
 - there is no need to import ardupilotwaf in every single wscript
 - it follows the same standard used by c and cxx tools (like bld.program,
   bld.stlib etc)
 - semantically, ap_program, ap_stlib, example etc are all build related
   methods, so it makes sense to bind them to the build context
 - from the wscripts' perspective, the code is cleaner, since ardupilotwaf,
   which is not specific to just build contexts, isn't *explictly* used
2016-01-22 20:10:28 -02:00
Gustavo Jose de Sousa
12cfe222eb waf: ardupilotwaf: decorate build methods with @conf
Bind functions used in wscripts to build context. Additionally, a new function
is created and also decorated with @conf, common_vehicle_libraries(), which
returns COMMON_VEHICLE_DEPENDENT_LIBRARIES.  This patch is a preparation for
making wscripts use methods bound to the build context instead of using them
directly from ardupilotwaf.
2016-01-22 20:10:28 -02:00
Gustavo Jose de Sousa
cf432e8b3e waf: ardupilotwaf: rename vehicle_stlib to ap_stlib
That function is not only for vehicles.
2016-01-22 20:10:28 -02:00
Gustavo Jose de Sousa
a35c0d48b0 waf: ardupilotwaf: rename program to ap_program
Make the rename so that there is no name clashes when defining it as a taskgen
method.
2016-01-22 20:10:28 -02:00
Julien BERAUD
90d266698d Frame_Params: Bebop 2 tuning by Leonard 2016-01-22 13:58:46 -02:00
mirkix
2d9b230be1 AP_RangeFinder: Load .data section for HC-SR04 PRU driver used by BBBMINI
This adds .data section loading to the HC-SR04 range finder driver used by
BBBMINI. The firmware is running inside a PRU. It is necessary to develop more
complex driver software inside the PRU.
2016-01-21 14:02:41 -02:00
Rustom Jehangir
de0a5a6b24 Merge remote-tracking branch 'upstream/master' into mergeDIYD 2016-01-20 22:20:53 -08:00
Rustom Jehangir
c4e671b750 Merge branch 'Jacob' 2016-01-20 22:01:38 -08:00
jaxxzer
e3a2d83207 Fix baro precision/pressure: consistent readings across all values. 2016-01-21 00:55:24 -05:00
Rustom Jehangir
8cb4c51a60 Sub: Fixed joystick button persistance issue. 2016-01-20 21:24:26 -08:00
Rustom Jehangir
03d16176d4 Sub: Adjust pressure multiplier for MS5837 2016-01-20 20:38:26 -08:00
Rustom Jehangir
10ed6ec791 Sub: Fix merge error affecting pressure sensor. 2016-01-20 20:23:10 -08:00
Rustom Jehangir
ca140e81bc Merge branch 'Jacob' of https://github.com/rjehangir/ArduPilot into Jacob 2016-01-20 19:55:36 -08:00
jaxxzer
6e6449c6c6 Fix build error. 2016-01-20 22:53:43 -05:00
Rustom Jehangir
eac0833f56 Merge branch 'Jacob' of https://github.com/rjehangir/ArduPilot into Jacob 2016-01-20 19:48:07 -08:00
jaxxzer
fa55c4509c Some more tweaks for water pressure. Change throttle_zero to mid stick. 2016-01-20 22:29:51 -05:00
jaxxzer
8a4bf63ea4 Add parameters for external barometer. 2016-01-20 19:09:14 -08:00
jaxxzer
c6cc215dde Add support for external pressure sensor in ROV context. 2016-01-20 19:09:14 -08:00
Rustom Jehangir
775a2b0366 Sub: Added mode switch to joystick buttons. 2016-01-20 19:01:17 -08:00
Andrew Tridgell
417176c0b2 autotest: reduce speedup on quadplane test to 10
mavproxy wasn't keeping up on autotest server
2016-01-21 07:46:18 +11:00
Lucas De Marchi
06411958b9 README: add CI build status for master branch 2016-01-20 14:19:08 -02:00
Lucas De Marchi
36d669a2ab ci: switch linux/sitl compiler to 4.9 2016-01-20 14:19:08 -02:00
Ricardo de Almeida Gonzaga
921da676db travis: start using configure-ci.sh 2016-01-20 14:19:08 -02:00
Lucas De Marchi
1cd20c50a6 ci: integrate ccache configuration
Also split the exportline setting to allow one PATH per line.
2016-01-20 14:19:07 -02:00
Ricardo de Almeida Gonzaga
c8d01f4bf4 ci: add configure-ci.sh
In order to use it in Travis and in Semaphore.
2016-01-20 14:19:07 -02:00
Ricardo de Almeida Gonzaga
0db54e7b36 ci: change TRAVIS_BUILD_TARGET to CI_BUILD_TARGET on build_ci.sh 2016-01-20 14:19:07 -02:00
Ricardo de Almeida Gonzaga
e816a4845a ci: rename build_all_travis.sh to build_ci.sh
Since we're going to support SemaphoreCI[1] besides Travis.

[1] - https://semaphoreci.com/
2016-01-20 14:19:07 -02:00
Andrew Tridgell
115d089904 Plane: continue limiting pitch during last phase of transition
this prevents a very high pitch demand causing the plane to slow down
to below assist speed
2016-01-20 18:30:48 +11:00
Andrew Tridgell
926c37a876 autotest: increase timeout in quadplane test 2016-01-20 17:23:36 +11:00
Andrew Tridgell
0223218c39 Plane: use altitude_error for quadplane climb rate assistance 2016-01-20 17:23:36 +11:00
Andrew Tridgell
69b2421563 Plane: ensure TECS is updated at 10Hz only 2016-01-20 17:23:36 +11:00
Andrew Tridgell
5da6082d78 GCS_MAVLink: raise the waypoint receive timeout to 8s
this fixes a timeout in autotest
2016-01-20 17:23:36 +11:00
Andrew Tridgell
6baae735de SITL: updated fixed wing model based on last_letter skywalker_2013
many thanks to Georacer for this code!
2016-01-20 17:23:36 +11:00
Andrew Tridgell
c2a12b55a0 scripts: raise max lockage in autotest 2016-01-20 07:43:43 +11:00
Andrew Tridgell
b8c6bee132 autotest: raise overall timeout 2016-01-20 07:42:29 +11:00
Andrew Tridgell
15c8a27d5e scripts: added some debug to travis script 2016-01-20 07:42:28 +11:00
Gustavo Jose de Sousa
6ca58eac78 travis: fix verification for calling waf check
The use of `[[ $t == linux ]] && $waf check` makes the script exit with
non-zero status when $t isn't linux *and* that's the last thing executed.
2016-01-19 11:56:30 -02:00
Rustom Jehangir
d8ee8d1fde waf: Update Sub script to match others. 2016-01-18 23:07:46 -08:00
Andrew Tridgell
bc5210d6f2 AP_Arming: don't reporting IMU inconsistencies if IMU not enabled 2016-01-19 18:05:08 +11:00
Rustom Jehangir
989c97f8bf Merge branch 'master' of https://github.com/diydrones/ArduPilot into masterUpdate 2016-01-18 23:02:37 -08:00
Andrew Tridgell
3a3afe42be Plane: don't force disarm on parachute release
in auto-throttle modes throttle is suppressed. In pilot controlled
modes pilot can lower throttle
2016-01-19 17:59:53 +11:00
squilter
c7e8a48a55 Plane: deploy parachute as fs action 2016-01-19 17:55:58 +11:00
Rustom Jehangir
a67460d2ec Sub: Enabled control modes to operate at zero throttle 2016-01-18 22:08:55 -08:00
Rustom Jehangir
58968efb5d Sub: Fixed joystick to camera tilt control direction 2016-01-18 21:39:46 -08:00
Rustom Jehangir
d7e24315cf Sub: Fixed motor mix factors for vectored ROV 2016-01-18 21:39:24 -08:00
Andrew Tridgell
24d8610013 AP_InertialSensor: use SIM_GYR_SCALE in SITL 2016-01-19 15:29:08 +11:00
Andrew Tridgell
a828db792e SITL: added SIM_GYR_SCALE_{X,Y,Z}
allows testing of gyro scale factor learning in EKF2
2016-01-19 15:28:53 +11:00
jaxxzer
6cfbbd5791 Add parameters for external barometer. 2016-01-18 23:19:04 -05:00