|
@@ -52,6 +52,9 @@ public class SecondaryClient {
|
|
|
case PackageType.JOINT_DATA:
|
|
|
readJointData(di, size);
|
|
|
break;
|
|
|
+ case PackageType.TOOL_DATA:
|
|
|
+ readToolData(di, size);
|
|
|
+ break;
|
|
|
case PackageType.CARTESIAN_INFO:
|
|
|
readCartesianInfo(di, size);
|
|
|
break;
|
|
@@ -90,6 +93,12 @@ public class SecondaryClient {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ private ToolData readToolData(CountDataInputStream di, int size) throws IOException {
|
|
|
+ ToolData td=new ToolData();
|
|
|
+ td.read(di, size);
|
|
|
+ return td;
|
|
|
+ }
|
|
|
+
|
|
|
private ToolCommInfo readToolCommInfo(CountDataInputStream di, int size) throws IOException {
|
|
|
ToolCommInfo tci=new ToolCommInfo();
|
|
|
tci.read(di, size);
|