Vedant Gonnade
Technical User
Hello,
I am new to network programming. Currently, I am working on automation using a robot in which I am going to use a camera as a plugin for the robot to send the x,y and z coordinates.
Before sending the coordinates to the robot, I need to modify the coordinate information generated by the camera because the x and y coordinates are not of the center but of the corners. I will do some math to find the x, y coordinate of the center.
I can send the camera string to PLC via TCP/IP. I want to send it to my computer so that I can modify the string.
I have programmed the server and client socket. But I can just send text messages between them. How to make this process automatic so that the camera sends the string, it gets modified in the laptop and then I forward it to the robot.
I am new to network programming. Currently, I am working on automation using a robot in which I am going to use a camera as a plugin for the robot to send the x,y and z coordinates.
Before sending the coordinates to the robot, I need to modify the coordinate information generated by the camera because the x and y coordinates are not of the center but of the corners. I will do some math to find the x, y coordinate of the center.
I can send the camera string to PLC via TCP/IP. I want to send it to my computer so that I can modify the string.
I have programmed the server and client socket. But I can just send text messages between them. How to make this process automatic so that the camera sends the string, it gets modified in the laptop and then I forward it to the robot.