How do I communicate between Matlab and Universal Robots PolyScope?
11 views (last 30 days)
Show older comments
Hello. I am currently working with a Universal Robot using the PolyScope user interface. I need this robot to communicate with my Matlab code which does image processing and then classifies the image to either category A, B or C. I have created a variable on the Matlab code called "imageSignal" which returns either 1, 2 or 3 depending on the category. What I need is to send this variable to the robot in order for it to know what to do in case imageSignal =1, 2 or 3.
I have read about RTDE and using TCP/IP communication but I do not know how to do it with Matlab or where to start.
Could any of you help me?
1 Comment
Ashutosh
on 10 Jul 2023
Hello, I believe this would be a great place to get started. It links to the documentation for the TCP/IP Communication framework offered by MATLAB. You should also consult the Polyscope Universal Robot documentation for the specific commands and data format required for communication with the robot controller.
See Also
Categories
Find more on Code Generation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!