chromium/services/device/generic_sensor/relative_orientation_euler_angles_fusion_algorithm_using_accelerometer.cc

// 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.

#include "services/device/generic_sensor/relative_orientation_euler_angles_fusion_algorithm_using_accelerometer.h"

#include <cmath>

#include "base/check_op.h"
#include "base/numerics/angle_conversions.h"
#include "base/numerics/math_constants.h"
#include "services/device/generic_sensor/platform_sensor_fusion.h"

namespace device {

namespace {

void ComputeRelativeOrientationFromAccelerometer(double acceleration_x,
                                                 double acceleration_y,
                                                 double acceleration_z,
                                                 double* alpha_in_degrees,
                                                 double* beta_in_degrees,
                                                 double* gamma_in_degrees) {}

}  // namespace

RelativeOrientationEulerAnglesFusionAlgorithmUsingAccelerometer::
    RelativeOrientationEulerAnglesFusionAlgorithmUsingAccelerometer()
    :{}

RelativeOrientationEulerAnglesFusionAlgorithmUsingAccelerometer::
    ~RelativeOrientationEulerAnglesFusionAlgorithmUsingAccelerometer() =
        default;

bool RelativeOrientationEulerAnglesFusionAlgorithmUsingAccelerometer::
    GetFusedDataInternal(mojom::SensorType which_sensor_changed,
                         SensorReading* fused_reading) {}

}  // namespace device