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

  • mode The desired streaming mode, i.e. the type of waypoints to be streamed

  • target_frequency The frequency, at which streaming messages will be sent in [Hz].

  • desired_buffer_length Target 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_ip The 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}