OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef DEVICE_GENERIC_SENSOR_RELATIVE_ORIENTATION_FUSION_ALGORITHM_USING_ACCELE
ROMETER_H_ |
| 6 #define DEVICE_GENERIC_SENSOR_RELATIVE_ORIENTATION_FUSION_ALGORITHM_USING_ACCELE
ROMETER_H_ |
| 7 |
| 8 #include "base/macros.h" |
| 9 #include "device/generic_sensor/relative_orientation_fusion_algorithm.h" |
| 10 |
| 11 namespace device { |
| 12 |
| 13 class RelativeOrientationFusionAlgorithmUsingAccelerometer |
| 14 : public RelativeOrientationFusionAlgorithm { |
| 15 public: |
| 16 RelativeOrientationFusionAlgorithmUsingAccelerometer(); |
| 17 ~RelativeOrientationFusionAlgorithmUsingAccelerometer() override; |
| 18 |
| 19 void GetRelativeOrientationData(double* x, |
| 20 double* y, |
| 21 double* z, |
| 22 double* w) override; |
| 23 |
| 24 private: |
| 25 DISALLOW_COPY_AND_ASSIGN( |
| 26 RelativeOrientationFusionAlgorithmUsingAccelerometer); |
| 27 }; |
| 28 |
| 29 } // namespace device |
| 30 |
| 31 #endif // DEVICE_GENERIC_SENSOR_RELATIVE_ORIENTATION_FUSION_ALGORITHM_USING_ACC
ELEROMETER_H_ |
OLD | NEW |