loading
 
Distributor
Scott Portocarrero from United States  [12 posts]
6 years
Hello, I am trying to use a Client/Server infrastructure using the Client/Server Distributor.  If I am using a Roboard with webcam as the server sending a video stream to the client which will do all of the processing. Does the code for any module I use sit on the client or server or both depending on the situation.  Is there a sample program I can look at?

So here is my situation:
Server = Roboard with webcam - where does this module sit
Client = PC receiving video stream and sending joystick variables
Anonymous 6 years
Scott,

This is a common situation. Should work well in a RoBoard situation since its processing capabilities are certainly less than a laptop/desktop.

Server - just sends motor values through roboard and captures video
Client - reads joystick values and converts to motor movements. Sends those to server and reads back image.

Attached are examples of both. You will need to config the client distributor to the right ip address of the server. This assumes some motor is connected to pins 1 and 2 of the PWM on the roboard.

STeven.
program.robo
Scott Portocarrero from United States  [12 posts] 6 years
Thanks Steven,  I don't this the client program was attached
Anonymous 6 years
Attached.

STeven.
program.robo

This forum thread has been closed due to inactivity (more than 4 months) or number of replies (more than 50 messages). Please start a New Post and enter a new forum thread with the appropriate title.

 New Post   Forum Index