ardupilot/libraries/AP_InertialSensor
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
..
examples waf: ardupilotwaf: prefix build context methods with ap_ 2016-01-22 20:10:29 -02:00
AP_InertialSensor_Backend.cpp AP_InertialSensor: added get_delta_angle_dt() API 2016-01-19 09:50:21 +11:00
AP_InertialSensor_Backend.h AP_InertialSensor: sanitize includes 2016-02-01 14:18:51 -02:00
AP_InertialSensor_Flymaple.cpp AP_InertialSensor: use millis/micros/panic functions 2015-11-20 12:31:41 +09:00
AP_InertialSensor_Flymaple.h AP_InertialSensor: sanitize includes 2016-02-01 14:18:51 -02:00
AP_InertialSensor_HIL.cpp AP_InertialSensor: simplify sensor backends 2015-11-16 17:57:35 +11:00
AP_InertialSensor_HIL.h AP_InertialSensor: sanitize includes 2016-02-01 14:18:51 -02:00
AP_InertialSensor_L3G4200D.cpp AP_InertialSensor: L3G4200D: fix coding style 2016-02-01 14:18:51 -02:00
AP_InertialSensor_L3G4200D.h AP_InertialSensor: sanitize includes 2016-02-01 14:18:51 -02:00
AP_InertialSensor_LSM9DS0.cpp AP_InertialSensor: use millis/micros/panic functions 2015-11-20 12:31:41 +09:00
AP_InertialSensor_LSM9DS0.h AP_InertialSensor: sanitize includes 2016-02-01 14:18:51 -02:00
AP_InertialSensor_MPU6000.cpp AP_InertialSensor: MPU60x0: coding style fixes 2016-02-01 14:18:51 -02:00
AP_InertialSensor_MPU6000.h AP_InertialSensor: sanitize includes 2016-02-01 14:18:51 -02:00
AP_InertialSensor_MPU9250.cpp AP_InertialSensor: add PXFmini support 2016-01-05 15:35:56 -02:00
AP_InertialSensor_MPU9250.h AP_InertialSensor: sanitize includes 2016-02-01 14:18:51 -02:00
AP_InertialSensor_PX4.cpp Global: rename min and max macros to uppercase 2015-12-01 16:28:09 -02:00
AP_InertialSensor_PX4.h AP_InertialSensor: sanitize includes 2016-02-01 14:18:51 -02:00
AP_InertialSensor_qflight.cpp AP_InertialSensor: added qflight driver 2015-12-27 16:12:27 +11:00
AP_InertialSensor_qflight.h AP_InertialSensor: sanitize includes 2016-02-01 14:18:51 -02:00
AP_InertialSensor_QURT.cpp AP_InertialSensor: added QURT driver 2015-12-27 16:21:26 +11:00
AP_InertialSensor_QURT.h AP_InertialSensor: sanitize includes 2016-02-01 14:18:51 -02:00
AP_InertialSensor_SITL.cpp AP_InertialSensor: use SIM_GYR_SCALE in SITL 2016-01-19 15:29:08 +11:00
AP_InertialSensor_SITL.h AP_InertialSensor: sanitize includes 2016-02-01 14:18:51 -02:00
AP_InertialSensor_UserInteract_MAVLink.cpp AP_InertialSensor: use millis/micros/panic functions 2015-11-20 12:31:41 +09:00
AP_InertialSensor_UserInteract_MAVLink.h AP_InertialSensor: sanitize includes 2016-02-01 14:18:51 -02:00
AP_InertialSensor_UserInteract_Stream.cpp AP_InertialSensor: use printf() rather than _printf_P() 2015-10-30 14:35:27 +09:00
AP_InertialSensor_UserInteract_Stream.h AP_InertialSensor: sanitize includes 2016-02-01 14:18:51 -02:00
AP_InertialSensor_UserInteract.h AP_InertialSensor: sanitize includes 2016-02-01 14:18:51 -02:00
AP_InertialSensor.cpp AP_InertialSensor: sanitize includes 2016-02-01 14:18:51 -02:00
AP_InertialSensor.h AP_InertialSensor: sanitize includes 2016-02-01 14:18:51 -02:00
AuxiliaryBus.cpp AP_Compass: HMC5843: Add support for MPU6000 auxiliary bus 2015-08-28 12:39:09 +10:00
AuxiliaryBus.h AP_InertialSensor: Add support for auxiliary buses 2015-08-28 12:39:08 +10:00