get_current_tcp()
Features
Returns the TCP information of the currently set safety setting parameter.
Parameters
None
Return
Value | Data Types | Description |
---|---|---|
ret | class.config_tcp_symbol | TCP Setup Infomation |
Class
class.config_tcp_symbol | ||
Field | Data Types | Description |
---|---|---|
obj | list | Object information for that class |
symbol | string | TCP Name |
tcp | class.config_tcp | TCP Information |
class.config_tcp | ||
Field | Data Types | Description |
---|---|---|
obj | list | Object information for that class |
offset | float[6] | Target location |
Example
ret = get_current_tcp()
print(ret.symbol) ## tcp symbol
print(ret.tcp.offset) ## tcp target pos list
Related commands
- None