summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYu-An Chen <yu-an.chen@quanta.corp-partner.google.com>2021-01-11 09:56:31 +0800
committerCommit Bot <commit-bot@chromium.org>2021-01-12 01:16:31 +0000
commit6b2beb8f6b733828658da37295c69824eadc034a (patch)
tree98fb03923296c4d78b7ed3d2ceac6e4f9118974d
parent46e88f9bc3a819ec91f29db410d14e25dd9d4a68 (diff)
downloadchrome-ec-6b2beb8f6b733828658da37295c69824eadc034a.tar.gz
Metaknight: Fix motion sensor rotation matrices
Fix motion sensor rotation matrices BUG=b:173984659 BRANCH=main TEST=make BOARD=metaknight TEST=check factory test item can pass Signed-off-by: yu-an.chen@quanta.corp-partner.google.com Change-Id: I970249a4b0292fb0eba73df3c19239bcf89821f0 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2620718 Tested-by: Yu-An Chen <yu-an.chen@quanta.corp-partner.google.com> Reviewed-by: Henry Sun <henrysun@google.com> Reviewed-by: Diana Z <dzigterman@chromium.org> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> Commit-Queue: Yu-An Chen <yu-an.chen@quanta.corp-partner.google.com>
-rw-r--r--board/metaknight/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/metaknight/board.c b/board/metaknight/board.c
index b8bf4a5d08..aff7cd9f7d 100644
--- a/board/metaknight/board.c
+++ b/board/metaknight/board.c
@@ -459,8 +459,8 @@ static const mat33_fp_t lid_standard_ref = {
};
static const mat33_fp_t base_standard_ref = {
+ { 0, FLOAT_TO_FP(1), 0},
{ FLOAT_TO_FP(1), 0, 0},
- { 0, FLOAT_TO_FP(-1), 0},
{ 0, 0, FLOAT_TO_FP(-1)}
};