43 unsigned char ticksPer90;
49 int PositionChange(
unsigned short,
unsigned short );
54 bool lwstall, rwstall;
55 unsigned char status, battery, sonarreadings, analog, digin, digout;
56 unsigned short ptu, compass, timer, rawxpos;
57 unsigned short rawypos, frontbumpers, rearbumpers;
58 short angle, lvel, rvel, control;
59 unsigned short *sonars;
61 int x_offset,y_offset,angle_offset;
65 unsigned short blobmx, blobmy;
66 unsigned short blobx1, blobx2, bloby1, bloby2;
67 unsigned short blobarea, blobconf;
68 unsigned int blobcolor;
74 bool armPowerOn, armConnected;
75 bool armJointMoving[6];
76 unsigned char armJointPos[6];
77 double armJointPosRads[6];
78 unsigned char armJointTargetPos[6];
79 char *armVersionString;
80 unsigned char armNumJoints;
90 void ParseStandard(
unsigned char *buffer );
91 void ParseSERAUX(
unsigned char *buffer );
92 void ParseGyro(
unsigned char* buffer);
93 void ParseArm (
unsigned char *buffer);
94 void ParseArmInfo (
unsigned char *buffer);
99 void FillStandard(player_p2os_data_t* data);
100 void FillSERAUX(player_p2os_data_t* data);
101 void FillGyro(player_p2os_data_t* data);
102 void FillArm(player_p2os_data_t* data);
114 blobmx = blobmy = blobx1 = blobx2 = bloby1 = bloby2 = blobarea = blobconf = blobcolor = 0;
115 armPowerOn = armConnected =
false;
116 armVersionString = NULL;
119 for (
int i = 0; i < 6; ++i)
121 armJointMoving[i] =
false;
123 armJointPosRads[i] = 0;
124 armJointTargetPos[i] = 0;
Definition: p2os/sip.h:46
Definition: p2os/sip.h:36