YARP
Yet Another Robot Platform
IJoypadController.cpp File Reference
#include <yarp/dev/IJoypadController.h>
#include <yarp/os/LogStream.h>
#include <cmath>
+ Include dependency graph for IJoypadController.cpp:

Go to the source code of this file.

Macros

#define MESSAGE_PREFIX   "IJoypadController:"
 
#define myInfo()   yInfo() << MESSAGE_PREFIX
 
#define myError()   yError() << MESSAGE_PREFIX
 
#define myDebug()   yDebug() << MESSAGE_PREFIX
 
#define myWarning()   yWarning() << MESSAGE_PREFIX
 
#define buttActionGroupName   "BUTTON_EXECUTE"
 
#define JoyData   yarp::dev::IJoypadEvent::joyData
 

Functions

bool isEqual (const float &a, const float &b, const float &tolerance)
 
bool isEqual (const double &a, const double &b, const double &tolerance)
 
bool isEqual (const yarp::sig::Vector &a, const yarp::sig::Vector &b, const double &tolerance)
 

Macro Definition Documentation

◆ buttActionGroupName

#define buttActionGroupName   "BUTTON_EXECUTE"

Definition at line 20 of file IJoypadController.cpp.

◆ JoyData

Definition at line 22 of file IJoypadController.cpp.

◆ MESSAGE_PREFIX

#define MESSAGE_PREFIX   "IJoypadController:"

Definition at line 15 of file IJoypadController.cpp.

◆ myDebug

#define myDebug ( )    yDebug() << MESSAGE_PREFIX

Definition at line 18 of file IJoypadController.cpp.

◆ myError

#define myError ( )    yError() << MESSAGE_PREFIX

Definition at line 17 of file IJoypadController.cpp.

◆ myInfo

#define myInfo ( )    yInfo() << MESSAGE_PREFIX

Definition at line 16 of file IJoypadController.cpp.

◆ myWarning

#define myWarning ( )    yWarning() << MESSAGE_PREFIX

Definition at line 19 of file IJoypadController.cpp.

Function Documentation

◆ isEqual() [1/3]

bool isEqual ( const double &  a,
const double &  b,
const double &  tolerance 
)

Definition at line 41 of file IJoypadController.cpp.

◆ isEqual() [2/3]

bool isEqual ( const float &  a,
const float &  b,
const float &  tolerance 
)

Definition at line 36 of file IJoypadController.cpp.

◆ isEqual() [3/3]

bool isEqual ( const yarp::sig::Vector a,
const yarp::sig::Vector b,
const double &  tolerance 
)

Definition at line 46 of file IJoypadController.cpp.