42 #define K400_OLD_PROTOCOL_THRESHOLD 3 44 #if !defined (BYTE_DECLARED) 46 typedef unsigned char byte;
114 double arr_segment[4];
150 public:
const TKatGNL* GetGNL() {
return &gnl; }
const TKatMFW* GetMFW() {
return &mfw; }
const TKatIDS* GetIDS() {
return &ids; }
const TKatCTB* GetCTB() {
return &ctb; }
const TKatCBX* GetCBX() {
return &cbx; }
const TKatECH* GetECH() {
return &ech; }
163 const TKatMOT* GetMOT() {
return &mot; }
const TKatSCT* GetSCT() {
return &sct; }
TKatEFF* GetEFF() {
return &eff; }
184 void recvMFW();
void recvIDS();
void recvCTB();
void recvGMS();
void waitFor(
TMotStsFlg status,
int waitTimeout,
bool gripper);
void recvECH();
void recvMPS();
202 int checkKatanaType(
int type);
208 void getMasterFirmware(
short* fw,
short* rev);
209 void enableCrashLimits();
void disableCrashLimits();
void unBlock();
220 void setCrashLimit(
long idx,
int limit);
226 void setSpeedCollisionLimit(
long idx,
int limit);
237 void setAndStartPolyMovement(std::vector<short> polynomial,
int exactflag,
int moreflag);
unsigned char byte
type specification (8 bit)
char modelName[255]
model name
static std::unique_ptr< CCplSerialCRC > protocol
TKatMFW mfw
master's firmware version/revision
Abstract base class for protocol definiton.
virtual ~CKatBase()
destructor
[SCT] every sens ctrl's attributes
TKatSCT sct
sensor controllers
short mMasterVersion
master version of robot we are communicating with
CCplBase * getProtocol()
get a handle of the protocol, used in CKatana
[CTB] command table defined in the firmware
short mMasterRevision
master firmware revision
Inverse Kinematics structure of the endeffektor.
[IDS] identification string
[MOT] every motor's attributes
setPositionCollisionLimit
[MFW] master firmware version/revision number
[GNL] general robot attributes
CCplBase * protocol
protocol interface
TKatGNL gnl
katana general
DLLEXPORT int flushMoveBuffers()
flush all the movebuffers
unsigned char byte
type specification (8 bit)