RTAB-Map 0.23.10
Real-Time Appearance-Based Mapping
Loading...
Searching...
No Matches
rtabmap::IMUEvent Class Reference

UEvent carrying an IMU sample and timestamp. More...

#include <IMU.h>

Inheritance diagram for rtabmap::IMUEvent:
Collaboration diagram for rtabmap::IMUEvent:

Public Member Functions

 IMUEvent ()
 Default-constructs an event with zero stamp.
 
 IMUEvent (const IMU &data, double stamp)
 Constructs an event with IMU data and stamp.
 
virtual std::string getClassName () const
 
const IMUgetData () const
 
double getStamp () const
 
- Public Member Functions inherited from UEvent
int getCode () const
 

Additional Inherited Members

- Protected Member Functions inherited from UEvent
 UEvent (int code=0)
 

Detailed Description

UEvent carrying an IMU sample and timestamp.

Definition at line 163 of file IMU.h.

Constructor & Destructor Documentation

◆ IMUEvent() [1/2]

rtabmap::IMUEvent::IMUEvent ( )
inline

Default-constructs an event with zero stamp.

Definition at line 167 of file IMU.h.

◆ IMUEvent() [2/2]

rtabmap::IMUEvent::IMUEvent ( const IMU data,
double  stamp 
)
inline

Constructs an event with IMU data and stamp.

Parameters
dataIMU sample.
stampTimestamp in seconds.

Definition at line 175 of file IMU.h.

Member Function Documentation

◆ getClassName()

virtual std::string rtabmap::IMUEvent::getClassName ( ) const
inlinevirtual
Returns
Event type name for the utilite event system.

Implements UEvent.

Definition at line 181 of file IMU.h.

◆ getData()

const IMU & rtabmap::IMUEvent::getData ( ) const
inline
Returns
IMU payload.

Definition at line 183 of file IMU.h.

◆ getStamp()

double rtabmap::IMUEvent::getStamp ( ) const
inline
Returns
Timestamp in seconds.

Definition at line 185 of file IMU.h.


The documentation for this class was generated from the following file: