#include <GravityFactor.h>
Definition at line 43 of file GravityFactor.h.
◆ GravityFactor() [1/2]
rtabmap::GravityFactor::GravityFactor |
( |
| ) |
|
|
inline |
default constructor - only use for serialization
Definition at line 52 of file GravityFactor.h.
◆ GravityFactor() [2/2]
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.
◆ attitudeError()
Vector rtabmap::GravityFactor::attitudeError |
( |
const Rot3 & |
p, |
|
|
OptionalJacobian< 2, 3 > |
H = boost::none |
|
) |
| const |
◆ serialize()
template<class ARCHIVE >
void rtabmap::GravityFactor::serialize |
( |
ARCHIVE & |
ar, |
|
|
const unsigned |
int |
|
) |
| |
|
inline |
◆ boost::serialization::access
friend class boost::serialization::access |
|
friend |
◆ bRef_
const Unit3 rtabmap::GravityFactor::bRef_ |
|
protected |
◆ nZ_
const Unit3 rtabmap::GravityFactor::nZ_ |
|
protected |
The documentation for this class was generated from the following files: