// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef SERVICES_DEVICE_GENERIC_SENSOR_LINEAR_ACCELERATION_FUSION_ALGORITHM_USING_ACCELEROMETER_H_ #define SERVICES_DEVICE_GENERIC_SENSOR_LINEAR_ACCELERATION_FUSION_ALGORITHM_USING_ACCELEROMETER_H_ #include "services/device/generic_sensor/platform_sensor_fusion_algorithm.h" namespace device { // Algotithm that obtains linear acceleration values from data provided by // accelerometer sensor. Simple low-pass filter is used to isolate gravity // and subtract it from accelerometer data to get linear acceleration. class LinearAccelerationFusionAlgorithmUsingAccelerometer final : public PlatformSensorFusionAlgorithm { … }; } // namespace device #endif // SERVICES_DEVICE_GENERIC_SENSOR_LINEAR_ACCELERATION_FUSION_ALGORITHM_USING_ACCELEROMETER_H_