#include <IMUThread.h>
|
| | IMUThread (int rate, const Transform &localTransform) |
| |
| bool | init (const std::string &path) |
| |
| void | setRate (int rate) |
| |
| virtual | ~IMUThread () |
| |
| Handle | getThreadHandle () const |
| |
| unsigned long | getThreadId () const |
| |
| bool | isCreating () const |
| |
| bool | isIdle () const |
| |
| bool | isKilled () const |
| |
| bool | isRunning () const |
| |
| void | join (bool killFirst=false) |
| |
| void | kill () |
| |
| void | setAffinity (int cpu=0) |
| |
| void | setPriority (Priority priority) |
| |
| void | start () |
| |
| | UThread (Priority priority=kPNormal) |
| |
| virtual | ~UThread () |
| |
| int | Create (Handle *const &H=0, const bool &CreateDetached=false, const unsigned int &StackSize=0, const bool &CancelEnable=false, const bool &CancelAsync=false) const |
| |
| int | Create (Handle *const &H=0, const bool &CreateDetached=false, const unsigned int &StackSize=0, const bool &CancelEnable=false, const bool &CancelAsync=false) const |
| |
| int | Create (unsigned long &ThreadId, Handle *const &H=0, const bool &CreateDetached=false, const unsigned int &StackSize=0, const bool &CancelEnable=false, const bool &CancelAsync=false) const |
| |
| int | Create (unsigned long &ThreadId, Handle *const &H=0, const bool &CreateDetached=false, const unsigned int &StackSize=0, const bool &CancelEnable=false, const bool &CancelAsync=false) const |
| |
| virtual | ~UThreadC () |
| |
| virtual | ~UThreadC () |
| |
| | UEventsSender () |
| |
| virtual | ~UEventsSender () |
| |
|
| enum | Priority {
kPLow,
kPBelowNormal,
kPNormal,
kPAboveNormal,
kPRealTime
} |
| |
| typedef THREAD_HANDLE | Handle |
| |
| typedef THREAD_HANDLE | Handle |
| |
| typedef void(* | Handler) () |
| |
| typedef void(* | Handler) () |
| |
| static unsigned long | currentThreadId () |
| |
| static int | Create (const Handler &Function, Handle *const &H=0, const bool &CreateDetached=false, const unsigned int &StackSize=0, const bool &CancelEnable=false, const bool &CancelAsync=false) |
| |
| static int | Create (const Handler &Function, Handle *const &H=0, const bool &CreateDetached=false, const unsigned int &StackSize=0, const bool &CancelEnable=false, const bool &CancelAsync=false) |
| |
| static int | Detach (Handle H) |
| |
| static int | Detach (const Handle &H) |
| |
| static int | Join (const Handle &H) |
| |
| static int | Join (Handle H) |
| |
| static int | Kill (Handle H) |
| |
| static int | Kill (const Handle &H) |
| |
| | UThreadC () |
| |
| | UThreadC () |
| |
| void | post (UEvent *event, bool async=true) const |
| |
| static void | Exit () |
| |
| static void | Exit () |
| |
| static Handle | Self () |
| |
| static int | Self () |
| |
| static void | TestCancel () |
| |
| static void | TestCancel () |
| |
Class IMUThread
Definition at line 46 of file IMUThread.h.
| rtabmap::IMUThread::IMUThread |
( |
int |
rate, |
|
|
const Transform & |
localTransform |
|
) |
| |
| rtabmap::IMUThread::~IMUThread |
( |
| ) |
|
|
virtual |
| bool rtabmap::IMUThread::init |
( |
const std::string & |
path | ) |
|
| void rtabmap::IMUThread::mainLoop |
( |
| ) |
|
|
privatevirtual |
| void rtabmap::IMUThread::mainLoopBegin |
( |
| ) |
|
|
privatevirtual |
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 | ) |
|
| double rtabmap::IMUThread::captureDelay_ |
|
private |
| UTimer rtabmap::IMUThread::frameRateTimer_ |
|
private |
| std::ifstream rtabmap::IMUThread::imuFile_ |
|
private |
| Transform rtabmap::IMUThread::localTransform_ |
|
private |
| double rtabmap::IMUThread::previousStamp_ |
|
private |
| int rtabmap::IMUThread::rate_ |
|
private |
The documentation for this class was generated from the following files: