Public Member Functions | Private Member Functions | Private Attributes
rtabmap::IMUThread Class Reference

#include <IMUThread.h>

Inheritance diagram for rtabmap::IMUThread:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 IMUThread (int rate, const Transform &localTransform)
bool init (const std::string &path)
void setRate (int rate)
virtual ~IMUThread ()

Private Member Functions

virtual void mainLoop ()
virtual void mainLoopBegin ()

Private Attributes

double captureDelay_
UTimer frameRateTimer_
std::ifstream imuFile_
Transform localTransform_
double previousStamp_
int rate_

Detailed Description

Class IMUThread

Definition at line 46 of file IMUThread.h.


Constructor & Destructor Documentation

rtabmap::IMUThread::IMUThread ( int  rate,
const Transform localTransform 
)

Definition at line 37 of file IMUThread.cpp.

Definition at line 45 of file IMUThread.cpp.


Member Function Documentation

bool rtabmap::IMUThread::init ( const std::string &  path)

Definition at line 50 of file IMUThread.cpp.

void rtabmap::IMUThread::mainLoop ( ) [private, virtual]

Pure virtual method mainLoop(). The inner loop of the thread. This method is called repetitively until the thread is killed. Note that if kill() is called in mainLoopBegin(), mainLoop() is not called, terminating immediately the thread.

See also:
mainLoop()
kill()

Implements UThread.

Definition at line 90 of file IMUThread.cpp.

void rtabmap::IMUThread::mainLoopBegin ( ) [private, virtual]

Virtual method mainLoopBegin(). User can implement this function to add a behavior before the main loop is started. It is called once (before entering mainLoop()).

Reimplemented from UThread.

Definition at line 84 of file IMUThread.cpp.

void rtabmap::IMUThread::setRate ( int  rate)

Definition at line 79 of file IMUThread.cpp.


Member Data Documentation

Definition at line 66 of file IMUThread.h.

Definition at line 65 of file IMUThread.h.

std::ifstream rtabmap::IMUThread::imuFile_ [private]

Definition at line 64 of file IMUThread.h.

Definition at line 63 of file IMUThread.h.

Definition at line 67 of file IMUThread.h.

Definition at line 62 of file IMUThread.h.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jun 6 2019 21:59:41