Start Streaming
By sending this message, the controller is notified to transition to streaming mode. Along with the message, a payload needs to be transmitted that configures the streaming mode.
Payload
modeThe desired streaming mode, i.e. the type of waypoints to be streamed0None, no streaming activated1Joint positions, see Mode Joint Positions2Joint positions and velocities, see Mode Joint Positions and Velocities3Absolute cartesian pose, see Mode Cartesian (absolute)4Relative (to the end effector frame) cartesian pose, see Mode Cartesian (relative)
target_frequencyThe frequency, at which streaming messages will be sent in [Hz].desired_buffer_lengthTarget length of the message buffer.Note: For some modes relying on spline interpolation, the buffer has to have at least four entries.
A larger buffer makes the program more robust against e.g. packet loss, at the cost of a longer input delay (in real-time streaming applications)
source_ipThe IP address from which streaming messages will be sent. Messages from all other addresses are rejected.
Example:
1{
2"mode": 1,
3"target_frequency": 200,
4"desired_buffer_length": 8,
5"source_ip": {
6 "address": "192.168.1.99"
7}
8}