Hi everyone,
I’m trying to understand whether external device/software communication is currently supported in PolyScopeX URSim, or if it may be added in the future.
Specifically, is it possible for MATLAB running on a Windows computer to communicate with PolyScopeX URSim through RTDE, similar to how MATLAB would communicate with a physical UR robot?
My goal is to:
- Launch PolyScopeX URSim
- Run a simulated UR3
- Connect MATLAB R2025b on Windows to the simulator through RTDE
- Run MATLAB scripts that command the simulated robot
Current setup:
- Windows computer
- MATLAB R2025b
- Robotics System Toolbox + Universal Robots support package installed
- PolyScopeX URSim launched through the PolyScopeX URCap SDK / GitHub Codespaces
- Robot type: UR3
- Browser UI works through forwarded port 4200
- Robot is active in the simulator
I can use the PolyScopeX simulator through the browser, but when checking RTDE access through port 30004, the connection is refused. I’m trying to understand whether external RTDE access is unsupported, or if I am missing the correct setup.
Main questions:
- Can external software like MATLAB connect directly to PolyScopeX URSim through RTDE?
- If not, is this planned for a future PolyScopeX URSim release?
- Is the intended workaround to use a URCap backend container that communicates internally with
urcontrol-rtde? - For camera/RTDE workflows, should PolyScopeX URSim only be used for URCap/URScript development, with RTDE tested on the physical robot?
Any guidance on the cleanest supported workflow would be appreciated. Thanks!
