mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 12:46:12 +00:00
d/dai: Translation is in cm but in m in Monado
This commit is contained in:
parent
9417fe8d7f
commit
0a843eb20f
|
@ -213,7 +213,8 @@ depthai_get_gray_cameras_calibration(struct depthai_fs *depthai, struct t_stereo
|
|||
|
||||
// Copy translation
|
||||
for (uint32_t i = 0; i < 3; i++) {
|
||||
c->camera_translation[i] = extrinsics[i][3];
|
||||
// Is in centimeters, odd. Monado uses meters.
|
||||
c->camera_translation[i] = extrinsics[i][3] / 100.0f;
|
||||
}
|
||||
|
||||
// Copy rotation
|
||||
|
|
Loading…
Reference in a new issue