Commit Graph

20570 Commits

Author SHA1 Message Date
jaxxzer
8a4b63d5e8 PX4Firmware: revert to DIYD submodule. 2016-02-05 17:23:36 -05:00
jaxxzer
9d4f06483b ms5611: Fix to allow drivers for all buses to start on boot. 2016-02-05 11:27:57 -05:00
Rustom Jehangir
fabc1abc70 Sub: Fixed ROV motor parameters 2016-02-04 14:37:44 -08:00
Rustom Jehangir
239d2ce023 Merge remote-tracking branch 'upstream/master' 2016-02-03 22:22:06 -08:00
Rustom Jehangir
9805f00e87 Sub: Separated motor files and frame types 2016-02-03 22:18:54 -08:00
Rustom Jehangir
519e2dcf03 Merge branch 'Jack' of https://github.com/rjehangir/ArduPilot into Jack 2016-02-03 21:25:58 -08:00
jaxxzer
547ba43fd5 ArduSub: Ignore build directory 2016-02-03 21:25:02 -08:00
jaxxzer
40b92c6559 AP_Vehicle_Type: Add the ArduSub vehicle type.
This also fixes the issue causing accel calibration to be unresponsive
in gcs.
2016-02-03 21:25:02 -08:00
Rustom Jehangir
e441a51313 Sub: Minor bug fix in radio. 2016-02-03 21:19:26 -08:00
jaxxzer
5e9cde8364 ArduSub: Ignore build directory 2016-02-03 21:36:54 -05:00
jaxxzer
58b7e9f421 AP_Vehicle_Type: Add the ArduSub vehicle type.
This also fixes the issue causing accel calibration to be unresponsive
in gcs.
2016-02-03 20:19:00 -05:00
Randy Mackay
a1b0a53e17 Copter: remove AP_Limits from comments 2016-02-04 09:55:07 +09:00
Daniel Frenzel
970b171414 waf: remove AP_Limits from ignored libraries 2016-02-04 09:50:55 +09:00
Daniel Frenzel
a735db2870 Tools: remove AP_Limits unit test 2016-02-04 09:50:43 +09:00
Daniel Frenzel
b01406e671 AP_Limits: Remove unused module 2016-02-04 09:43:29 +09:00
Rustom Jehangir
539bfde015 Sub: Sub changes to match newest Copter changes 2016-02-03 15:05:23 -08:00
Rustom Jehangir
c24413c945 Merge remote-tracking branch 'upstream/master' 2016-02-03 14:44:53 -08:00
Gustavo Jose de Sousa
05f4c8b5b1 waf: ardupilotwaf: reset LAST_IDX on every build
That is a workaround so that one can use `waf bin tests`, for example.  In our
context, the only restriction to the task generators creation is values defined
during configuration. Thus, ideally, the recursion and task generators creation
should be done only once for multiple build calls. We should do that in the
future.
2016-02-03 12:24:21 -02:00
Gustavo Jose de Sousa
f13e71a80c waf: explicitly distinct routines in build
That enhances readability and defines a clear separation of responsibilities of
build routines.
2016-02-03 12:24:21 -02:00
Gustavo Jose de Sousa
1d92a54429 waf: reorganize recursion
That makes the code cleaner and better readable. Futhermore, it's easier to add
a pattern for recursion.

Additionally, this commit remove Tools from the exclusion list as that is not
necessary.
2016-02-03 12:24:21 -02:00
Rustom Jehangir
a6c599aec2 Sub: Remove unneeded camtilt input. 2016-02-02 13:40:26 -08:00
Rustom Jehangir
4e8a9a83eb Sub: Fix ADSB file for compilation. 2016-02-02 13:34:19 -08:00
Tom Pittenger
9157f634eb Plane: Add Tom Pittenger to authors list 2016-02-02 10:50:12 +09:00
Lucas De Marchi
2296139516 AP_HAL_Linux: remove unused constant 2016-02-01 14:18:51 -02:00
Lucas De Marchi
5ba20b1763 AP_Notify: sanitize includes
Due to the way the headers are organized changing a single change in
an AP_Notify driver would trigger a rebuild for most of the files in
the project. Time could be saved by using ccache (since most of the
things didn't change) but we can do better, i.e. re-organize the headers
so we don't have to re-build everything.
2016-02-01 14:18:51 -02:00
Lucas De Marchi
0e09975fa6 AP_HAL_SITL: fix typo 2016-02-01 14:18:51 -02:00
Lucas De Marchi
21b2d5d34c AP_HAL_Linux: AnalogIn_Raspilot: rename classes to follow other names 2016-02-01 14:18:51 -02:00
Lucas De Marchi
87e7704b1c AP_HAL_Linux: ADS1115: rename classes to follow other names
While at it, remove some dead/commented-out code.
2016-02-01 14:18:51 -02:00
Lucas De Marchi
4562c0cffc AP_ADC: ADS1115: coding style fixes
- Clean trailing whitespaces
  - Fix switch
  - Use pragma once
2016-02-01 14:18:51 -02:00
Lucas De Marchi
c1d19fa4dc AP_InertialSensor: LSM9DS0: sanitize whitespaces 2016-02-01 14:18:51 -02:00
Lucas De Marchi
9c6bd38e91 AP_InertialSensor: sanitize includes
Due to the way the headers are organized changing a single change in an
inertial sensor driver would trigger a rebuild for most of the files in
the project. Time could be saved by using ccache (since most of the
things didn't change) but we can do better, i.e. re-organize the headers
so we don't have to re-build everything.

With this patch only AP_InertialSensor/AP_InertialSensor.h is exposed to
most users. There are some corner cases to integrate with some example
code, but most of the places now depend only on this header and this
header doesn't depend on the specific backends.

Now changing a single header, e.g. AP_InertialSensor_L3G4200D.h triggers
a rebuild only of these files:

	$ waf copter
	'copter' finished successfully (0.000s)
	Waf: Entering directory `/home/lucas/p/dronecode/ardupilot/build/minlure'
	[ 80/370] Compiling libraries/AP_InertialSensor/AP_InertialSensor.cpp
	[ 84/370] Compiling libraries/AP_InertialSensor/AP_InertialSensor_L3G4200D.cpp
	[310/370] Linking build/minlure/ArduCopter/libArduCopter_libs.a
	[370/370] Linking build/minlure/bin/arducopter
	Waf: Leaving directory `/home/lucas/p/dronecode/ardupilot/build/minlure'
2016-02-01 14:18:51 -02:00
Lucas De Marchi
1ca03006ad AP_InertialSensor: MPU9150: remove driver
This is not used by any board and has a lot of commented out code. For
example, the compass is not enabled.  The comment in the beginning of
the driver says it should serve as an example, but we should rather use
a working driver as an example. If this was at least a bit simpler and
that worked in the past we could refactor it to the new I2CDevice API.
This is not the case.
2016-02-01 14:18:51 -02:00
Lucas De Marchi
22f2a2ee09 AP_InertialSensor: L3G4200D: fix coding style
- remove trailing and leading whitespaces
  - remove unecessary void from functions taking no parameters
2016-02-01 14:18:51 -02:00
Lucas De Marchi
637b53f4ce AP_InertialSensor: L3G4200D: sanitize includes 2016-02-01 14:18:51 -02:00
Lucas De Marchi
5088dca072 AP_InertialSensor: MPU60x0: coding style fixes 2016-02-01 14:18:51 -02:00
Lucas De Marchi
ed653f8dbb AP_InertialSensor: MPU60x0: add comment about 8G/16G 2016-02-01 14:18:51 -02:00
Lucas De Marchi
56e4de0bdd AP_Baro: MS56XX: remove initialization to 0 from constructor 2016-02-01 14:18:50 -02:00
Lucas De Marchi
5bb2716081 AP_HAL_Linux: add name to SPI device table
A string name allows to more easily expand the table: the board is
responsible for the name and doesn't have to declare it as a enum or
define. It's also easier to add 2 sensors of the same type.
2016-02-01 14:18:50 -02:00
Lucas De Marchi
9d5fb97819 Global: rename enum SPIDevice to SPIDeviceType
Free the SPIDevice name so to have a consistent name for I2C/SPI device
classes.
2016-02-01 14:18:50 -02:00
Gustavo Jose de Sousa
eb68f039d7 waf: update README with current status 2016-02-01 14:08:39 -02:00
Gustavo Jose de Sousa
a06359c0c6 waf: format README into GFM
Use GitHub Flavored Markdown for README.
2016-02-01 14:08:39 -02:00
Gustavo Jose de Sousa
14947da5e5 waf: rename README
The next commit will reformat the README for waf to use GitHub Flavored
Markdown.
2016-02-01 14:08:39 -02:00
Gustavo Jose de Sousa
7b0a6d301d ci: use command 'all' instead of 'build' for waf
The command build uses 'bin' programs group by default. By using the command
'all', we tell the build system to build all programs.
2016-02-01 14:08:39 -02:00
Gustavo Jose de Sousa
4c6dbe725d waf: Makefile.waf: use check-all command instead of --alltests 2016-02-01 14:08:39 -02:00
Gustavo Jose de Sousa
fff14f6262 waf: add check-all shortcut
A shortcut for `waf check --alltests`.
2016-02-01 14:08:39 -02:00
Gustavo Jose de Sousa
8718f5be4f waf: ardupilotwaf: rename build_shortcut() to build_command()
Rationale:
 1. That function creates a separate build context class instead of just
    creating a wrapper for calling build (previous approach).
 2. The check command isn't a build shortcut since there's no way of calling it
    without using 'check' explicitly.
2016-02-01 14:08:39 -02:00
Gustavo Jose de Sousa
6901a2cdf6 waf: define command check as a build shortcut
Now that the concept of programs group is used and 'bin' is the default program
group, the command check needed to be adapted so that (i) it is consistent with
the other build command and (ii) it defines 'all' as its target programs group.
2016-02-01 14:08:38 -02:00
Gustavo Jose de Sousa
1682be2596 waf: add documentation for build shortcuts 2016-02-01 14:08:38 -02:00
Gustavo Jose de Sousa
8be2db4d01 waf: ardupilotwaf: add parameter doc to build_shortcut()
That makes it possible to display meaningful information on the help message.
2016-02-01 14:08:38 -02:00
Gustavo Jose de Sousa
9d7eaa7913 waf: create build shortcuts for program groups 2016-02-01 14:08:38 -02:00