C and C++:
End-Effector Ecosystem Protocol ConfigurationRmPlusConfig Reading of basic and real-time information of end-effector devices supported by the end-effector ecosystem protocol.
Read End-Effector Basic Information (Supported by End-Effector Ecosystem Protocol) rm_get_rm_plus_base_info()
- Method prototype
C
int rm_get_rm_plus_base_info(rm_robot_handle *handle, rm_plus_base_info_t *info)Jump to rm_robot_handle and rm_plus_base_info_t for details of the structure.
- Parameter description:
| Parameter | Type | Description |
|---|---|---|
handle | Input | The robot arm handle. |
info | Output | The basic information of the end-effector device. |
- Return value:
0 represents success. For other error codes, please refer to the API2 Error Codes.
- Usage demo
C
rm_robot_handle *handle = NULL;
handle = rm_create_robot_arm("192.168.1.18",8080);
rm_plus_base_info_t baseinfo;
int ret = rm_get_rm_plus_base_info(handle, &baseinfo);Read End-Effector Real-Time Information (Supported by End-Effector Ecosystem Protocol) rm_get_rm_plus_state_info()
- Method prototype
C
int rm_get_rm_plus_state_info(rm_robot_handle *handle, rm_plus_state_info_t *info)Jump to rm_robot_handle and rm_plus_state_info_t for details of the structure.
- Parameter description:
| Parameter | Type | Description |
|---|---|---|
handle | Input | The robot arm handle. |
info | Output | The real-time information of the end-effector device. |
- Return value:
0 represents success. For other error codes, please refer to the API2 Error Codes.
- Usage demo
C
rm_robot_handle *handle = NULL;
handle = rm_create_robot_arm("192.168.1.18",8080);
rm_plus_state_info_t stateinfo;
int ret = rm_get_rm_plus_state_info(handle, &stateinfo);
