I have some questions about the UR simulator:
- Is there any Java API function (or any other way) to know if a URCap is running on a real robot or on the simulator?
- Do all versions of the PolyScope simulator have the same S/N?
I don’t know if there if UR have given a way to identify if its a simulation or not. But you can use some java magic to get the username of the pc, or some other data related to the computer/VM it is running on that should help you here…
it is possible to change the S/N on the Simulator by change the value found in the file ur-serial.urX, where X = 3, 5, 10 or 16 depending on the Robot you use…
Thank you very much @cg1