28#ifndef ODOMETRYEVENT_H_
29#define ODOMETRYEVENT_H_
31#include "rtabmap/utilite/UEvent.h"
34#include "rtabmap/core/SensorData.h"
35#include "rtabmap/core/OdometryInfo.h"
113 float x,y,z,roll,pitch,yaw;
123 return std::vector<float>();
150 virtual std::string
getClassName()
const {
return "OdometryResetEvent";}
ULogger class and convenient macros.
#define UASSERT(condition)
Basic mathematics functions.
bool uIsFinite(const T &value)
One processed frame with the pose the odometry integrated for it.
OdometryEvent(const SensorData &data, const Transform &pose, const OdometryInfo &info=OdometryInfo())
Constructor.
const cv::Mat & covariance() const
virtual std::string getClassName() const
const OdometryInfo & info() const
OdometryEvent()
Creates an empty event, with an identity covariance.
const SensorData & data() const
const Transform & pose() const
std::vector< float > velocity() const
Linear and angular velocity, from the motion and the frame interval.
What one Odometry iteration produced, beyond the pose.
RegistrationInfo reg
Registration result: matches, inliers, covariance, ICP indicators and timings.
double interval
Time since the previous processed frame (s); the divisor for velocities.
Transform transform
Motion since the previous frame, null when lost.
Asks OdometryThread to restart the odometry from a given pose.
OdometryResetEvent(const Transform &pose=Transform::getIdentity())
virtual std::string getClassName() const
const Transform & getPose() const
Container class for all sensor data captured at a specific time.