Home
last modified time | relevance | path

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

/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
Dhal_outputs.c397 float rad2deg = (float)(180.0 / M_PI); in google_orientation_geomagnetic() local
400 g[0] = atan2f(-R[1][0], R[0][0]) * rad2deg; in google_orientation_geomagnetic()
401 g[1] = atan2f(-R[2][1], R[2][2]) * rad2deg; in google_orientation_geomagnetic()
402 g[2] = asinf ( R[2][0]) * rad2deg; in google_orientation_geomagnetic()
428 float rad2deg = (float)(180.0 / M_PI); in google_orientation_6_axis() local
433 g[0] = atan2f(-R[1][0], R[0][0]) * rad2deg; in google_orientation_6_axis()
434 g[1] = atan2f(-R[2][1], R[2][2]) * rad2deg; in google_orientation_6_axis()
435 g[2] = asinf ( R[2][0]) * rad2deg; in google_orientation_6_axis()
459 float rad2deg = (float)(180.0 / M_PI); in google_orientation() local
464 g[0] = atan2f(-R[1][0], R[0][0]) * rad2deg; in google_orientation()
[all …]
/hardware/invensense/6515/libsensors_iio/software/core/mllite/
Dhal_outputs.c443 float rad2deg = (float)(180.0 / M_PI); in google_orientation_geomagnetic() local
446 g[0] = atan2f(-R[1][0], R[0][0]) * rad2deg; in google_orientation_geomagnetic()
447 g[1] = atan2f(-R[2][1], R[2][2]) * rad2deg; in google_orientation_geomagnetic()
448 g[2] = asinf ( R[2][0]) * rad2deg; in google_orientation_geomagnetic()
474 float rad2deg = (float)(180.0 / M_PI); in google_orientation_6_axis() local
479 g[0] = atan2f(-R[1][0], R[0][0]) * rad2deg; in google_orientation_6_axis()
480 g[1] = atan2f(-R[2][1], R[2][2]) * rad2deg; in google_orientation_6_axis()
481 g[2] = asinf ( R[2][0]) * rad2deg; in google_orientation_6_axis()
505 float rad2deg = (float)(180.0 / M_PI); in google_orientation() local
510 g[0] = atan2f(-R[1][0], R[0][0]) * rad2deg; in google_orientation()
[all …]