Vision Protocol - Team5818/vision-2017 GitHub Wiki

The vision server and client use a simple protocol written for protobuf, stored here.

Basically, the server and client exchange SimplePackets, which each contain an associated message.

Client Messaging

A message from the client can either be a Signal or a SetFrameType.

Signal either tells the server to switch to the other feed (camera), or to disconnect this client.

SetFrameType tells the server to switch to the provided frame type.

Server Messaging

A message from the server can only be a Frame. This message contains a JPEG image.