iCub-main
Classes | Macros | Functions | Variables
XSensMTx.cpp File Reference
#include <yarp/os/LogStream.h>
#include <yarp/os/Thread.h>
#include <yarp/os/Time.h>
#include <yarp/os/Stamp.h>
#include <string>
#include <mutex>
#include "MTComm.h"
#include "XSensMTx.h"
+ Include dependency graph for XSensMTx.cpp:

Go to the source code of this file.

Classes

class  XSensMTxResources
 

Macros

#define M_PI   3.14159265358979323846264338328
 
#define CTRL_RAD2DEG   (180.0/M_PI)
 
#define CTRL_DEG2RAD   (M_PI/180.0)
 

Functions

XSensMTxResourcesRES (void *res)
 

Variables

constexpr size_t rpyStartIdx = 0
 
constexpr size_t accelStartIdx = 3
 
constexpr size_t gyroStartIdx = 6
 
constexpr size_t magnStartIdx = 9
 

Macro Definition Documentation

◆ CTRL_DEG2RAD

#define CTRL_DEG2RAD   (M_PI/180.0)

Definition at line 26 of file XSensMTx.cpp.

◆ CTRL_RAD2DEG

#define CTRL_RAD2DEG   (180.0/M_PI)

Definition at line 25 of file XSensMTx.cpp.

◆ M_PI

#define M_PI   3.14159265358979323846264338328

Definition at line 24 of file XSensMTx.cpp.

Function Documentation

◆ RES()

XSensMTxResources& RES ( void *  res)
inline

Definition at line 128 of file XSensMTx.cpp.

Variable Documentation

◆ accelStartIdx

constexpr size_t accelStartIdx = 3
constexpr

Definition at line 29 of file XSensMTx.cpp.

◆ gyroStartIdx

constexpr size_t gyroStartIdx = 6
constexpr

Definition at line 30 of file XSensMTx.cpp.

◆ magnStartIdx

constexpr size_t magnStartIdx = 9
constexpr

Definition at line 31 of file XSensMTx.cpp.

◆ rpyStartIdx

constexpr size_t rpyStartIdx = 0
constexpr

Definition at line 28 of file XSensMTx.cpp.