Description Usage Arguments Details Value
Calculate the Euclidean or Riemannian distance between two rotations
1 2 3 4 5 6 7 8 9 |
R1 |
(or Q1) a rotation in matrix or quaternion representation |
R2 |
(or Q2) the second rotation in the same parameterization as R1 |
method |
String indicating 'projected' or 'intrinsic' method of distance |
p |
the order of the distance |
... |
Additional arguments |
This function will calculate the intrinsic (Riemannian) or projected (Euclidean) distance between two rotations. If only one rotation is specified the other will be set to the identity and the distance between the two is returned. For rotations R1 and R2 both in SO(3), the Euclidean distance between them is
||R1-R2||
where || || is the Frobenius norm. The intrinsic distance is defined as
||Log(R1'R2)||
where Log is the matrix logarithm, and it corresponds to the misorientation angle of R1'R2.
the rotational distance between R1 and R2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.