getRobotData Real Time Client reader URCap
Description of functionality:
This URCap implements a new custom class, getRobotRealtimeData.class, that connects to the Real Time Client interface, and reads the message.
The data from the Real Time Client is broken into the information it represents, and implements get-methods to read actual TCP pose, actual joint positions, joint temperatures, joint operation modes and the safety limited speed scaling percentage. You can add your own get-methods as well.
Hence, this class demonstrates how to read information about the robot state (position, running mode, etc.) and use this within another section of the URCap.
A sample placeholder Installation node is implemented, to show how to import the getRobotRealtimeData
class into another class. The Installation node uses EventQueue.invokeLater
to update the values from the getRobotRealtimeData
dynamically.
What topics are covered:
socket, importing class, get actual TCP, client interfaces, live update