How to update robot target coordinates from Matlab?

I am working on a project where I am supposed to perform a pick and place operation using a camera connected with MATLAB. I have done the image processing in MATLAB and the different coordinates of object at different positions are coming in real time. However when I send the coordinates to RobotStudio via TCP/IP, the robot keeps coming to the same pick up place and new coordinates are not updated in Robotstudio. What could I be missing in the following program. Thanks in advance for your help.



Anyone who knows please help me on how I can be able to bring in a new coordinate into robot studio so that the robot will move to the new coordinate instead of repeating the first coordinates over and over again.
Thanks

Comments

Sign In or Register to comment.