mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-02 21:25:03 +00:00
poppy: fix accel/gyro rotation matrix
The matrix was not correct and sensor would report -1G along the Z axis while on a flat surface. BUG=chrome-os-partner:63021 BRANCH=none TEST=Check in ARC++ AIDA64 the gravity data is reported correctly along the Z axis. Change-Id: I0ddbf40876746432c640f547a5efede3a07c6eec Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/444066 Tested-by: Rajat Jain <rajatja@chromium.org> Reviewed-by: Rajat Jain <rajatja@chromium.org>
This commit is contained in:
committed by
chrome-bot
parent
08928c1f76
commit
38188d322e
@@ -575,7 +575,7 @@ const matrix_3x3_t mag_standard_ref = {
|
||||
const matrix_3x3_t lid_standard_ref = {
|
||||
{ 0, FLOAT_TO_FP(1), 0},
|
||||
{FLOAT_TO_FP(-1), 0, 0},
|
||||
{ 0, 0, FLOAT_TO_FP(-1)}
|
||||
{ 0, 0, FLOAT_TO_FP(1)}
|
||||
};
|
||||
|
||||
struct motion_sensor_t motion_sensors[] = {
|
||||
|
||||
Reference in New Issue
Block a user