|
|
@ -78,12 +78,12 @@ class EMotorS(Structure):
|
|
|
|
("deltaPulse", c_int)
|
|
|
|
("deltaPulse", c_int)
|
|
|
|
]
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
|
################## Arm orientation定义 ##################
|
|
|
|
################## Arm orientation ##################
|
|
|
|
ArmOrientation = enum(
|
|
|
|
ArmOrientation = enum(
|
|
|
|
LeftyArmOrientation=0,
|
|
|
|
LeftyArmOrientation=0,
|
|
|
|
RightyArmOrientation=1)
|
|
|
|
RightyArmOrientation=1)
|
|
|
|
|
|
|
|
|
|
|
|
################## 点动示教部分 ##################
|
|
|
|
################## ##################
|
|
|
|
|
|
|
|
|
|
|
|
class JOGJointParams(Structure):
|
|
|
|
class JOGJointParams(Structure):
|
|
|
|
_pack_ = 1
|
|
|
|
_pack_ = 1
|
|
|
@ -145,7 +145,7 @@ class JOGCmd(Structure):
|
|
|
|
("cmd", c_byte)
|
|
|
|
("cmd", c_byte)
|
|
|
|
]
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
|
################## 再现运动部分 ##################
|
|
|
|
################## ##################
|
|
|
|
|
|
|
|
|
|
|
|
class PTPJointParams(Structure):
|
|
|
|
class PTPJointParams(Structure):
|
|
|
|
_fields_ = [
|
|
|
|
_fields_ = [
|
|
|
@ -275,7 +275,7 @@ class CPCmd(Structure):
|
|
|
|
("velocity", c_float)
|
|
|
|
("velocity", c_float)
|
|
|
|
]
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
|
################## 圆弧:ARC ##################
|
|
|
|
################## :ARC ##################
|
|
|
|
class ARCPoint(Structure):
|
|
|
|
class ARCPoint(Structure):
|
|
|
|
_pack_ = 1
|
|
|
|
_pack_ = 1
|
|
|
|
_fields_ = [
|
|
|
|
_fields_ = [
|
|
|
|