Skip to content

Commit

Permalink
fix d457 extrinsics
Browse files Browse the repository at this point in the history
  • Loading branch information
noacoohen committed Jan 19, 2025
1 parent 818cc87 commit 4563e65
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/ds/ds-calib-parsers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,12 +158,18 @@ namespace librealsense
_def_extr = { { 1, 0, 0, 0, 1, 0, 0, 0, 1 }, { -0.00552f, 0.0051f, 0.01174f} };
_imu_2_depth_rot = { {-1,0,0},{0,1,0},{0,0,-1} };
}
else if (_pid == ds::RS455_PID || _pid == ds::RS457_PID)
else if (_pid == ds::RS455_PID)
{
// D455 specific - Bosch BMI055
_def_extr = { { 1, 0, 0, 0, 1, 0, 0, 0, 1 },{ -0.03022f, 0.0074f, 0.01602f } };
_imu_2_depth_rot = { { -1,0,0 },{ 0,1,0 },{ 0,0,-1 } };
}
else if( _pid == ds::RS457_PID )
{
_def_extr = { { 1, 0, 0, 0, 1, 0, 0, 0, 1 },{ -0.09530f, -0.00056f, 0.01740f } };
_imu_2_depth_rot = { { -1,0,0 },{ 0,1,0 },{ 0,0,-1 } };

}
else // unmapped configurations
{
// IMU on new devices is oriented such that FW output is consistent with D435i
Expand Down

0 comments on commit 4563e65

Please sign in to comment.