4 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
10 * http://www.apache.org/licenses/LICENSE-2.0
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
20 #include <sensor_fusion.h>
22 sensor_fusion::sensor_fusion()
26 sensor_fusion::~sensor_fusion()
30 bool sensor_fusion::is_data_ready(void)
35 bool sensor_fusion::get_properties(sensor_properties_t &properties)
40 bool sensor_fusion::add_interval(int client_id, unsigned int interval)
45 bool sensor_fusion::delete_interval(int client_id)
50 bool sensor_fusion::get_rotation_matrix(arr33_t &rot)
55 bool sensor_fusion::get_attitude(float &x, float &y, float &z, float &w)
60 bool sensor_fusion::get_gyro_bias(float &x, float &y, float &z)
65 bool sensor_fusion::get_rotation_vector(float &x, float &y, float &z, float &w, float &heading_accuracy)
70 bool sensor_fusion::get_linear_acceleration(float &x, float &y, float &z)
75 bool sensor_fusion::get_gravity(float &x, float &y, float &z)
80 bool sensor_fusion::get_rotation_vector_6axis(float &x, float &y, float &z, float &w, float &heading_accuracy)
85 bool sensor_fusion::get_geomagnetic_rotation_vector(float &x, float &y, float &z, float &w)
90 bool sensor_fusion::get_orientation(float &azimuth, float &pitch, float &roll)
95 bool sensor_fusion::is_fusion(void)