ardupilot/libraries/AP_InertialSensor
Lucas De Marchi c66800dfec AP_InertialSensor: add singleton interface
In order to allow other libraries to use the InertialSensor we need a
way to let them to get the only instance of InertialSensor. The
conventional way to do a singleton would be to let the constructor
private and force it to be instantiated from the get_instance() method.

Here however we just call panic() on the constructor if there's already
an instance alive. This allows us to let the vehicles as is. Later we
can change it so they call the get_instance() method instead.
2015-08-28 12:39:08 +10:00
..
examples AP_InertialSensor: removed AVR1280 specific ifdef 2015-08-11 16:47:56 +10:00
AP_InertialSensor_Backend.cpp AP_InertialSensor: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
AP_InertialSensor_Backend.h AP_InertialSensor: Add support for auxiliary buses 2015-08-28 12:39:08 +10:00
AP_InertialSensor_Flymaple.cpp AP_InertialSensor: standardize inclusion of libaries headers 2015-08-11 16:28:43 +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: standardize inclusion of libaries headers 2015-08-11 16:28:43 +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_HAL_InertialSensor: standardize inclusion of libaries headers 2015-08-18 17:12:52 +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: MPU6000: export auxiliary bus 2015-08-28 12:39:08 +10:00
AP_InertialSensor_MPU6000.h AP_InertialSensor: MPU6000: export auxiliary bus 2015-08-28 12:39:08 +10:00
AP_InertialSensor_MPU9150.cpp AP_InertialSensor: standardize inclusion of libaries headers 2015-08-11 16:28:43 +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: fix typos 2015-08-28 12:39:07 +10:00
AP_InertialSensor_MPU9250.h AP_InertialSensor: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
AP_InertialSensor_Oilpan.cpp AP_InertialSensor: standardize inclusion of libaries headers 2015-08-11 16:28:43 +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: setup for MPU9250 support on PX4 2015-08-17 09:33:15 +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 AP_InertialSensor: add singleton interface 2015-08-28 12:39:08 +10:00
AP_InertialSensor.h AP_InertialSensor: add singleton interface 2015-08-28 12:39:08 +10:00
AuxiliaryBus.cpp AP_InertialSensor: Add support for auxiliary buses 2015-08-28 12:39:08 +10:00
AuxiliaryBus.h AP_InertialSensor: Add support for auxiliary buses 2015-08-28 12:39:08 +10:00