Skip to content

Commit

Permalink
Merge pull request laboshinl#31 from StefanGlaser/hotfix
Browse files Browse the repository at this point in the history
Fixed copy-paste error (introduced in PR laboshinl#20) in TransformToStartIMU …
  • Loading branch information
laboshinl authored Dec 1, 2017
2 parents a7c6cf9 + 45461e8 commit 965ea30
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 965ea30

Please sign in to comment.