fix(imu params default): value default fix.

This commit is contained in:
TinyO 2019-05-21 17:55:02 +08:00
parent 0d0bb1d2ad
commit 7e07b7772e

View File

@ -122,6 +122,13 @@ std::size_t from_data(ImuIntrinsics *in, const std::uint8_t *data,
}
}
i += 72;
} else {
// assembly
for (std::size_t j = 0; j < 3; j++) {
for (std::size_t k = 0; k < 3; k++) {
in->assembly[j][k] = 0.0;
}
}
}
// drift
for (std::size_t j = 0; j < 3; j++) {