#include <OdometryEvent.h>
Public Member Functions | |
const cv::Mat & | covariance () const |
SensorData & | data () |
const SensorData & | data () const |
virtual std::string | getClassName () const |
const OdometryInfo & | info () const |
OdometryEvent () | |
OdometryEvent (const SensorData &data, const Transform &pose, const cv::Mat &covariance=cv::Mat::eye(6, 6, CV_64FC1), const OdometryInfo &info=OdometryInfo()) | |
OdometryEvent (const SensorData &data, const Transform &pose, double rotVariance=1.0, double transVariance=1.0, const OdometryInfo &info=OdometryInfo()) | |
const Transform & | pose () const |
double | rotVariance () const |
double | transVariance () const |
virtual | ~OdometryEvent () |
Static Public Member Functions | |
static cv::Mat | generateCovarianceMatrix (float rotVariance, float transVariance) |
Private Attributes | |
cv::Mat | _covariance |
SensorData | _data |
OdometryInfo | _info |
Transform | _pose |
Definition at line 39 of file OdometryEvent.h.
rtabmap::OdometryEvent::OdometryEvent | ( | ) | [inline] |
Definition at line 56 of file OdometryEvent.h.
rtabmap::OdometryEvent::OdometryEvent | ( | const SensorData & | data, |
const Transform & | pose, | ||
const cv::Mat & | covariance = cv::Mat::eye(6,6,CV_64FC1) , |
||
const OdometryInfo & | info = OdometryInfo() |
||
) | [inline] |
Definition at line 60 of file OdometryEvent.h.
rtabmap::OdometryEvent::OdometryEvent | ( | const SensorData & | data, |
const Transform & | pose, | ||
double | rotVariance = 1.0 , |
||
double | transVariance = 1.0 , |
||
const OdometryInfo & | info = OdometryInfo() |
||
) | [inline] |
Definition at line 78 of file OdometryEvent.h.
virtual rtabmap::OdometryEvent::~OdometryEvent | ( | ) | [inline, virtual] |
Definition at line 90 of file OdometryEvent.h.
const cv::Mat& rtabmap::OdometryEvent::covariance | ( | ) | const [inline] |
Definition at line 96 of file OdometryEvent.h.
SensorData& rtabmap::OdometryEvent::data | ( | ) | [inline] |
Definition at line 93 of file OdometryEvent.h.
const SensorData& rtabmap::OdometryEvent::data | ( | ) | const [inline] |
Definition at line 94 of file OdometryEvent.h.
static cv::Mat rtabmap::OdometryEvent::generateCovarianceMatrix | ( | float | rotVariance, |
float | transVariance | ||
) | [inline, static] |
Definition at line 42 of file OdometryEvent.h.
virtual std::string rtabmap::OdometryEvent::getClassName | ( | ) | const [inline, virtual] |
This method is used to get the class name of the event. For example, if a class MouseEvent inherits from UEvent, it must return the "MouseEvent" string.
Implements UEvent.
Definition at line 91 of file OdometryEvent.h.
const OdometryInfo& rtabmap::OdometryEvent::info | ( | ) | const [inline] |
Definition at line 97 of file OdometryEvent.h.
const Transform& rtabmap::OdometryEvent::pose | ( | ) | const [inline] |
Definition at line 95 of file OdometryEvent.h.
double rtabmap::OdometryEvent::rotVariance | ( | ) | const [inline] |
Definition at line 98 of file OdometryEvent.h.
double rtabmap::OdometryEvent::transVariance | ( | ) | const [inline] |
Definition at line 99 of file OdometryEvent.h.
cv::Mat rtabmap::OdometryEvent::_covariance [private] |
Definition at line 104 of file OdometryEvent.h.
SensorData rtabmap::OdometryEvent::_data [private] |
Definition at line 102 of file OdometryEvent.h.
OdometryInfo rtabmap::OdometryEvent::_info [private] |
Definition at line 105 of file OdometryEvent.h.
Transform rtabmap::OdometryEvent::_pose [private] |
Definition at line 103 of file OdometryEvent.h.