Interface communication command instructions
Command instructions
Single command
Command |
Instruction |
Return information |
---|---|---|
110, Camera ID (When only 110 is entered, the first camera is used by default) |
Capture |
Success: 110 (Photo captured, 2D image updated on the running interface) Failure: Failure code, Camera ID |
120 |
Detection |
Success: Case 1 (normal detection/collision detection): 120, pose type (Cartesian/joint), number of pose points n, number of objects with gripping points, currentSpace, currentPickObject, pickPointIndex, pickPointId, 0, 0, 0, pose Case 2 (path planning): 120, pose type (Cartesian/joint), number of pose points n, number of objects with gripping points, currentSpace, currentPickObject, pickPointIndex, pickPointId, 0, 0, 0, pose*n (The only difference between case 1 and case 2 is whether the last pose is single or multiple) Failure: Refer to xref: status-code [return status code]. |
130, space ID, grab ID |
Switch to grab object in space |
Success: 130 Failure: 001 |
140, camera ID, X, Y, Z, pose (quaternion is parsed in the order of W, X, Y, Z) |
Robot photo pose (used in EIH) |
Success: 140 (get the current posture of the robot, no change in the interface) Failure: 012 |
Combination command
Command |
Description |
Return information |
---|---|---|
110, camera ID1, camera ID2… |
Multi-camera capture |
Success: 110 Failure: Failure code, camera ID |
110, camera ID1, camera ID2…, 120, or 110, 120 (the first camera is used by default if the camera ID is not included) |
Capture + Detection |
Return results refer to the table above |
Return status code
Failure status code
Status code |
Description |
---|---|
3000 |
Initialization failed |
3001 |
Robot initialization failed |
3002 |
Switch grab configuration failed |
3003, Camera group ID |
Switch camera group failed, and return the failed camera group ID |
3004 |
Set camera parameters failed |
3005 |
Capture failed |
3006 |
ATOM detection failed |
3007 |
Path planning data preparation failed |
3008 |
When the eye is on the hand, setting the robot’s current position failed |
3009 |
ResponseHook compilation failed |
3010 |
ExtendPage compilation failed |
3011 |
ParserMonitorData compilation failed |
3012 |
Failed to set ATOM parameters |
3013 |
Communication service startup failed |
Abnormal status code
Status code |
Description |
---|---|
4000 |
ATOM abnormal |
4001 |
ATOM detection abnormal |
4002 |
Epic Pro operation abnormal |
4003 |
Collision detection abnormal |
4004 |
Path planning abnormal |
4005 |
Set robot current posture abnormal |
Warning status code
Status code |
Description |
---|---|
5000 |
Operation is not completed yet, please try again later |
5001 |
Current position of the robot has not been received |
5002 |
Pose list is exhausted |
5003 |
No available points after collision detection |
5004 |
No available trajectory is planned |
5005 |
ATOMGraph name is empty |
5006 |
ATOMReturned grab point result is empty |
5007 |
Incoming EIH data has incorrect digits |
5008 |
No tool data |
5009 |
Bound model name is empty |
5010 |
Incoming parameter contains null value |