template<class Scalar_, int Options>
class Sophus::RxSO2< Scalar_, Options >
RxSO2 using storage; derived from RxSO2Base.
Definition at line 11 of file rxso2.hpp.
template<class Scalar_ , int Options>
Group exponential
This functions takes in an element of tangent space (= rotation angle plus logarithm of scale) and returns the corresponding element of the group RxSO2.
To be more specific, this function computes expmat(hat(theta))
with expmat(.)
being the matrix exponential and hat(.)
being the hat()-operator of RSO2.
Definition at line 467 of file rxso2.hpp.
template<class Scalar_ , int Options>
Returns the ith infinitesimal generators of R+ x SO(2)
.
The infinitesimal generators of RxSO2 are:
| 0 -1 |
G_0 = | 1 0 |
| 1 0 |
G_1 = | 0 1 |
Precondition: i
must be 0, or 1.
Definition at line 492 of file rxso2.hpp.
template<class Scalar_ , int Options>
hat-operator
It takes in the 2-vector representation a
(= rotation angle plus logarithm of scale) and returns the corresponding matrix representation of Lie algebra element.
Formally, the hat()-operator of RxSO2 is defined as
hat(.): R^2 -> R^{2x2}, hat(a) = sum_i a_i * G_i
(for i=0,1,2)
with G_i
being the ith infinitesimal generator of RxSO2.
The corresponding inverse is the vee()-operator, see below.
Definition at line 514 of file rxso2.hpp.
template<class Scalar_ , int Options>
Lie bracket
It computes the Lie bracket of RxSO(2). To be more specific, it computes
[omega_1, omega_2]_rxso2 := 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 RxSO2.
Definition at line 532 of file rxso2.hpp.
template<class Scalar_ , int Options>
template<class UniformRandomBitGenerator >
static RxSO2 Sophus::RxSO2< Scalar_, Options >::sampleUniform |
( |
UniformRandomBitGenerator & |
generator | ) |
|
|
inlinestatic |
Draw uniform sample from RxSO(2) manifold.
The scale factor is drawn uniformly in log2-space from [-1, 1], hence the scale is in [0.5, 2)].
Definition at line 544 of file rxso2.hpp.
template<class Scalar_ , int Options>
vee-operator
It takes the 2x2-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:
| d -x |
| x d |
Definition at line 563 of file rxso2.hpp.