Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(147)

Side by Side Diff: device/generic_sensor/relative_orientation_fusion_algorithm_using_accelerometer.h

Issue 2929603003: Add RELATIVE_ORIENTATION sensor implementation on macOS to //device/generic_sensor (Closed)
Patch Set: updated IsSignificantlyDifferent() Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698