22 #ifndef P2OS_DRIVER__SIP_HPP_ 23 #define P2OS_DRIVER__SIP_HPP_ 58 int PositionChange(uint16_t, uint16_t);
65 unsigned char status, battery, sonarreadings, analog, digin, digout;
66 uint16_t ptu, compass,
timer, rawxpos;
78 uint16_t blobx1, blobx2, bloby1,
bloby2;
87 bool armJointMoving[6];
88 unsigned char armJointPos[6];
89 double armJointPosRads[6];
90 unsigned char armJointTargetPos[6];
103 void ParseStandard(
unsigned char * buffer);
104 void ParseSERAUX(
unsigned char * buffer);
105 void ParseGyro(
unsigned char * buffer);
106 void ParseArm(
unsigned char * buffer);
107 void ParseArmInfo(
unsigned char * buffer);
118 : param_idx(idx), sonarreadings(0), sonars(NULL),
119 xpos(0), ypos(0), x_offset(0), y_offset(0), angle_offset(0),
120 blobmx(0), blobmy(0), blobx1(0), blobx2(0), bloby1(0), bloby2(0),
121 blobarea(0), blobconf(0), blobcolor(0),
122 armPowerOn(false), armConnected(false), armVersionString(NULL),
123 armNumJoints(0), armJoints(NULL),
126 for (
int i = 0; i < 6; ++i) {
127 armJointMoving[i] =
false;
129 armJointPosRads[i] = 0;
130 armJointTargetPos[i] = 0;
140 #endif // P2OS_DRIVER__SIP_HPP_
std::string odom_frame_id
TFSIMD_FORCE_INLINE tfScalar angle(const Quaternion &q1, const Quaternion &q2)
unsigned char armNumJoints
std::string base_link_frame_id