ardupilot/libraries/AP_InertialSensor
Lucas De Marchi 294298ea34 AP_InertialSensor: use method for downcast
Instead of just doing a static cast to the desired class, use a method
named "from". Pros:

  - When we have data shared on the parent class, the code is cleaner in
    child class when it needs to access this data. Almost all the data
    we use in AP_HAL benefits from this

  - There's a minimal type checking because now we are using a method
    that can only receive the type of the parent class
2015-09-23 09:01:29 +10:00
..
examples InertialSensor: remove INS start style from example sketch 2015-09-21 17:06:20 +09:00
AP_InertialSensor.cpp InertialSensor: add GYR_CAL to control when gyro calibration occurs 2015-09-21 17:06:16 +09:00
AP_InertialSensor.h InertialSensor: add GYR_CAL to control when gyro calibration occurs 2015-09-21 17:06:16 +09:00
AP_InertialSensor_Backend.cpp AP_InertialSensor: Backend: calculate vibration and clipping on new raw sample 2015-09-07 11:14:42 +10:00
AP_InertialSensor_Backend.h AP_InertialSensor: Backend: add hook for new raw accel samples 2015-09-07 11:14:42 +10: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: use method for downcast 2015-09-23 09:01:29 +10:00
AP_InertialSensor_MPU6000.h AP_InertialSensor: use method for downcast 2015-09-23 09:01:29 +10: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: MPU9250: publish sample rate 2015-09-07 11:14:42 +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: 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.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
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