#include <GravityFactor.h>
Definition at line 43 of file GravityFactor.h.
rtabmap::GravityFactor::GravityFactor |
( |
| ) |
|
|
inline |
default constructor - only use for serialization
Definition at line 52 of file GravityFactor.h.
rtabmap::GravityFactor::GravityFactor |
( |
const Unit3 & |
nZ, |
|
|
const Unit3 & |
bRef = Unit3(0, 0, 1) |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
nZ | measured direction in navigation frame |
bRef | reference direction in body frame (default Z-axis in NED frame, i.e., [0; 0; 1]) |
Definition at line 60 of file GravityFactor.h.
Vector rtabmap::GravityFactor::attitudeError |
( |
const Rot3 & |
p, |
|
|
OptionalJacobian< 2, 3 > |
H = boost::none |
|
) |
| const |
template<class ARCHIVE >
void rtabmap::GravityFactor::serialize |
( |
ARCHIVE & |
ar, |
|
|
const unsigned |
int |
|
) |
| |
|
inline |
friend class boost::serialization::access |
|
friend |
const Unit3 rtabmap::GravityFactor::bRef_ |
|
protected |
const Unit3 rtabmap::GravityFactor::nZ_ |
|
protected |
The documentation for this class was generated from the following files: