Skip to content

Commit

Permalink
Fixed copy-paste error (introduced in PR laboshinl#20) in TransformTo…
Browse files Browse the repository at this point in the history
…StartIMU in scan registration component.
  • Loading branch information
StefanGlaser committed Dec 1, 2017
1 parent a7c6cf9 commit 45461e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/scanRegistration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,9 @@ void TransformToStartIMU(PointType *p)
Vector3 v2 = rotateX( v1, imuPitchCur);
Vector3 v3 = rotateY( v2, imuYawCur);

Vector3 v4 = rotateY( v2, -imuYawStart);
Vector3 v5 = rotateX( v1, -imuPitchStart);
Vector3 v6 = rotateZ( *p, -imuRollStart);
Vector3 v4 = rotateY( v3, -imuYawStart);
Vector3 v5 = rotateX( v4, -imuPitchStart);
Vector3 v6 = rotateZ( v5, -imuRollStart);

v6 += imuShiftFromStartCur;

Expand Down

0 comments on commit 45461e8

Please sign in to comment.