Home
last modified time | relevance | path

Searched refs:quat_float (Results 1 – 1 of 1) sorted by relevance

/hardware/invensense/6515/libsensors_iio/software/core/mllite/
Dhal_outputs.c274 float quat_float[4]; in inv_get_sensor_type_rotation_vector() local
276 inv_get_quaternion_float(quat_float); in inv_get_sensor_type_rotation_vector()
278 if (quat_float[0] >= .0) { in inv_get_sensor_type_rotation_vector()
279 values[0] = quat_float[1]; in inv_get_sensor_type_rotation_vector()
280 values[1] = quat_float[2]; in inv_get_sensor_type_rotation_vector()
281 values[2] = quat_float[3]; in inv_get_sensor_type_rotation_vector()
282 values[3] = quat_float[0]; in inv_get_sensor_type_rotation_vector()
284 values[0] = -quat_float[1]; in inv_get_sensor_type_rotation_vector()
285 values[1] = -quat_float[2]; in inv_get_sensor_type_rotation_vector()
286 values[2] = -quat_float[3]; in inv_get_sensor_type_rotation_vector()
[all …]