iCub-main
Classes | Macros | Functions
tutorial_gaze_interface.cpp File Reference
#include <cstdio>
#include <mutex>
#include <cmath>
#include <deque>
#include <yarp/os/Network.h>
#include <yarp/os/RFModule.h>
#include <yarp/os/PeriodicThread.h>
#include <yarp/os/Time.h>
#include <yarp/sig/Vector.h>
#include <yarp/math/Math.h>
#include <yarp/dev/Drivers.h>
#include <yarp/dev/ControlBoardInterfaces.h>
#include <yarp/dev/GazeControl.h>
#include <yarp/dev/PolyDriver.h>
+ Include dependency graph for tutorial_gaze_interface.cpp:

Go to the source code of this file.

Classes

class  CtrlThread
 
class  CtrlModule
 

Macros

#define CTRL_THREAD_PER   0.02
 
#define PRINT_STATUS_PER   1.0
 
#define STORE_POI_PER   2.0
 
#define SWITCH_STATE_PER   10.0
 
#define STATE_TRACK   0
 
#define STATE_RECALL   1
 
#define STATE_WAIT   2
 
#define STATE_STILL   3
 

Functions

int main (int argc, char *argv[])
 

Macro Definition Documentation

◆ CTRL_THREAD_PER

#define CTRL_THREAD_PER   0.02

Definition at line 24 of file tutorial_gaze_interface.cpp.

◆ PRINT_STATUS_PER

#define PRINT_STATUS_PER   1.0

Definition at line 25 of file tutorial_gaze_interface.cpp.

◆ STATE_RECALL

#define STATE_RECALL   1

Definition at line 30 of file tutorial_gaze_interface.cpp.

◆ STATE_STILL

#define STATE_STILL   3

Definition at line 32 of file tutorial_gaze_interface.cpp.

◆ STATE_TRACK

#define STATE_TRACK   0

Definition at line 29 of file tutorial_gaze_interface.cpp.

◆ STATE_WAIT

#define STATE_WAIT   2

Definition at line 31 of file tutorial_gaze_interface.cpp.

◆ STORE_POI_PER

#define STORE_POI_PER   2.0

Definition at line 26 of file tutorial_gaze_interface.cpp.

◆ SWITCH_STATE_PER

#define SWITCH_STATE_PER   10.0

Definition at line 27 of file tutorial_gaze_interface.cpp.

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 329 of file tutorial_gaze_interface.cpp.