Hi,
I am using the interface RobotMovement
to call on the method requestUserToMoveRobot(Pose pose, RobotMovementCallback callback)
.
I want to open the Automove screen once the user presses the Play-button in Polyscope, so I have added a Java method in a class that is exposed to the URScript code through an XML-RPC server that calls on the RobotMovement
interface.
My problem lies with the requestUserToMoveRobot
-method, as it may throw an IllegalStateException
if the URCap is not visible. I do not want to limit the user, such that they always have to make sure that the URCap is open in either the installation node or the program node once they press the Play-button in Polyscope.
Therefore, I was wondering if there is a way to automatically open the URCap once the user presses the play-button (if the URCap is not already visible)?