Skip to content

Commit

Permalink
Fixed bug in rotation matrix to quaternion conversion where the resul…
Browse files Browse the repository at this point in the history
…ting quaternion would not always get minimized.
  • Loading branch information
Ryker Fish committed Nov 23, 2020
1 parent 6c660b2 commit a0908ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tf.c
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@ void aa_tf_rotmat2quat( const double R[restrict 9],
}

aa_tf_qnormalize(q);
aa_tf_qminimize(q);
}

/* void aa_tf_rotvec2quat( const double rotvec[restrict 3], */
Expand Down

0 comments on commit a0908ab

Please sign in to comment.