You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The protocol is based on TCP sockets.
It can support different type of clients. Currently either a viewer or a remote control client.
Handshake
The type of client is defined by sending a first string after initializing the socket.
"CLIENT" for remote control.
"VIEWER" to get information about servos positions.
Client Packets
struct packet {
int id;
int flags;
int x; // Axis 0
int y; // Axis 1
int turn; // Axis 2
int height; // Axis 3
};