setCustomScriptFile Error

Hi,

I would like to use the external control urcap (need to have access to the teaching pedant) and also access the end-effector. This is why I'm trying to use a custom control script, as seen in previous issues, e.g. #234 (closed).

When I try to set a custom script file with the respective function, I receive the following error message:

RuntimeError: Command is not allowed due to safety reasons, please switch robot to Remote Control mode and reconnect to port 29999

I'm using the python bindings. Any hint would be extremely appreciated.

Thanks a lot in advance! 😄

Edited by Dimitrios Chatzinikolis