template<class Scalar_, int Options>
class Sophus::SO3< Scalar_, Options >
SO3 using default storage; derived from SO3Base.
Definition at line 19 of file so3.hpp.
template<class Scalar_ , int Options>
Group exponential
This functions takes in an element of tangent space (= rotation vector omega
) and returns the corresponding element of the group SO(3).
To be more specific, this function computes expmat(hat(omega))
with expmat(.)
being the matrix exponential and hat(.)
being the hat()-operator of SO(3).
Definition at line 571 of file so3.hpp.
template<class Scalar_ , int Options>
Returns the ith infinitesimal generators of SO(3).
The infinitesimal generators of SO(3) are:
| 0 0 0 |
G_0 = | 0 0 -1 |
| 0 1 0 |
| 0 0 1 |
G_1 = | 0 0 0 |
| -1 0 0 |
| 0 -1 0 |
G_2 = | 1 0 0 |
| 0 0 0 |
Precondition: i
must be 0, 1 or 2.
Definition at line 646 of file so3.hpp.
template<class Scalar_ , int Options>
hat-operator
It takes in the 3-vector representation omega
(= rotation vector) and returns the corresponding matrix representation of Lie algebra element.
Formally, the hat()-operator of SO(3) is defined as
hat(.): R^3 -> R^{3x3}, hat(omega) = sum_i omega_i * G_i
(for i=0,1,2)
with G_i
being the ith infinitesimal generator of SO(3).
The corresponding inverse is the vee()-operator, see below.
Definition at line 668 of file so3.hpp.
template<class Scalar_ , int Options>
Lie bracket
It computes the Lie bracket of SO(3). To be more specific, it computes
[omega_1, omega_2]_so3 := vee([hat(omega_1), hat(omega_2)])
with [A,B] := AB-BA
being the matrix commutator, hat(.)
the hat()-operator and vee(.)
the vee()-operator of SO3.
For the Lie algebra so3, the Lie bracket is simply the cross product:
[omega_1, omega_2]_so3 = omega_1 x omega_2.
Definition at line 692 of file so3.hpp.
template<class Scalar_ , int Options>
vee-operator
It takes the 3x3-matrix representation Omega
and maps it to the corresponding vector representation of Lie algebra.
This is the inverse of the hat()-operator, see above.
Precondition: Omega
must have the following structure:
| 0 -c b |
| c 0 -a |
| -b a 0 |
Definition at line 749 of file so3.hpp.