-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstageOne.h
More file actions
35 lines (30 loc) · 788 Bytes
/
stageOne.h
File metadata and controls
35 lines (30 loc) · 788 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
bool initEyes();
bool updateChain();
//bool moveEyes();
bool initGazeControl();
bool initDataStruct();
bool incDataStruct();
double halfNumber(double);
bool getValues();
bool lookAtPoint();
bool addValuesToStruct(yarp::sig::Vector,yarp::sig::Vector);
bool checkMotionStop(bool);
bool displayStruct();
yarp::dev::PolyDriver *headDriver;
yarp::dev::PolyDriver *rightArmChainDriver;
yarp::dev::IEncoders *encs;
yarp::dev::PolyDriver clientGazeCtrl;
yarp::dev::IGazeControl *iGaze;
iCub::iKin::iKinChain* rightArmChain;
struct motorGazePoint
{
double* panValue;
double* tiltValue;
double* versionValue;
double* rollMotorAngleValue;
double* pitchMotorAngleValue;
double* yawMotorAngleValue;
double* elbowMotorAngleValue;
int current;
}rightArm;
YARP_DECLARE_DEVICES(icubmod);