Ardupilot2/libraries/AP_InertialSensor
Caio Marcelo de Oliveira Filho 2e464a53c2 AP_HAL: make code not depend on concrete HAL implementations
The switching between different AP_HAL was happening by giving different
definitions of AP_HAL_BOARD_DRIVER, and the programs would use it to
instantiate.

A program or library code would have to explicitly include (and depend)
on the concrete implementation of the HAL, even when using it only via
interface.

The proposed change move this dependency to be link time. There is a
AP_HAL::get_HAL() function that is used by the client code. Each
implementation of HAL provides its own definition of this function,
returning the appropriate concrete instance.

Since this replaces the job of AP_HAL_BOARD_DRIVER, the definition was
removed.

The static variables for PX4 and VRBRAIN were named differently to avoid
shadowing the extern symbol 'hal'.
2015-10-21 09:16:07 +11:00
..
examples AP_HAL: make code not depend on concrete HAL implementations 2015-10-21 09:16:07 +11:00
AP_InertialSensor_Backend.cpp AP_InertialSensor: fix order of accelerometer corrections 2015-10-21 08:22:36 +11:00
AP_InertialSensor_Backend.h AP_InertialSensor: Fix typo: auxiliar to auxiliary 2015-10-16 10:16:24 +11:00
AP_InertialSensor_Flymaple.cpp AP_InertialSensor: Backend: add hook for new raw accel samples 2015-09-07 11:14:42 +10:00
AP_InertialSensor_Flymaple.h AP_InertialSensor: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
AP_InertialSensor_HIL.cpp AP_InertialSensor: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
AP_InertialSensor_HIL.h AP_InertialSensor: moved default filter and sample_rate to frontend 2014-10-24 12:10:40 +11:00
AP_InertialSensor_L3G4200D.cpp AP_InertialSensor: Backend: add hook for new raw accel samples 2015-09-07 11:14:42 +10:00
AP_InertialSensor_L3G4200D.h AP_InertialSensor: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
AP_InertialSensor_LSM9DS0.cpp AP_InertialSensor: Backend: add hook for new raw accel samples 2015-09-07 11:14:42 +10:00
AP_InertialSensor_LSM9DS0.h AP_InertialSensor: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
AP_InertialSensor_MPU6000.cpp AP_InertialSensor: Fix typo: auxiliar to auxiliary 2015-10-16 10:16:24 +11:00
AP_InertialSensor_MPU6000.h AP_InertialSensor: Fix typo: auxiliar to auxiliary 2015-10-16 10:16:24 +11:00
AP_InertialSensor_MPU9150.cpp AP_InertialSensor: Backend: add hook for new raw accel samples 2015-09-07 11:14:42 +10:00
AP_InertialSensor_MPU9150.h AP_InertialSensor: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
AP_InertialSensor_MPU9250.cpp AP_InertialSensor: Add MPU9250 multiple instance support 2015-09-24 13:11:38 +10:00
AP_InertialSensor_MPU9250.h AP_InertialSensor: Add MPU9250 multiple instance support 2015-09-24 13:11:38 +10:00
AP_InertialSensor_Oilpan.cpp AP_InertialSensor: remove param rotate_and_correct from publish functions 2015-09-07 11:14:42 +10:00
AP_InertialSensor_Oilpan.h AP_InertialSensor: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
AP_InertialSensor_PX4.cpp AP_InertialSensor: PX4: publish sample rate 2015-09-07 11:14:42 +10:00
AP_InertialSensor_PX4.h AP_InertialSensor: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
AP_InertialSensor_UserInteract_MAVLink.cpp AP_InertialSensor: update severities 2015-08-28 10:04:35 +10:00
AP_InertialSensor_UserInteract_MAVLink.h AP_InertialSensor: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
AP_InertialSensor_UserInteract_Stream.cpp AP_InertialSensor: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
AP_InertialSensor_UserInteract_Stream.h AP_InertialSensor: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
AP_InertialSensor_UserInteract.h AP_InertialSensor: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
AP_InertialSensor.cpp InertialSensor: remove gyro cal on first arming 2015-10-19 12:00:38 +09:00
AP_InertialSensor.h InertialSensor: remove gyro cal on first arming 2015-10-19 12:00:38 +09: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