NHP_Wrist_Center_Out 1.1.1
Compiled `c` application run on Jetson Nano 2, which renders uses `XLib11` libraries to render the white cursor and targets on a black background, moving the cursor and showing or hiding targets as a function of received UDP messages.
Loading...
Searching...
No Matches
Network Utilities

Functions that enable communication via network UDP socket.
More...

Functions

void setNonBlocking (int socket)
 Sets a socket to non-blocking mode.
 
void updateCursor (int udpSocket)
 Updates the cursor position based on data received over UDP.
 
void updateTargets (int udpSocket)
 Updates the target positions based on data received over UDP.
 

Detailed Description

Functions that enable communication via network UDP socket.

Function Documentation

◆ setNonBlocking()

void setNonBlocking ( int socket)

Sets a socket to non-blocking mode.

Parameters
socketThe socket descriptor.

◆ updateCursor()

void updateCursor ( int udpSocket)

Updates the cursor position based on data received over UDP.

Parameters
udpSocketThe UDP socket for receiving cursor data.

◆ updateTargets()

void updateTargets ( int udpSocket)

Updates the target positions based on data received over UDP.

Parameters
udpSocketThe UDP socket for receiving target data.