Hi guys, how are you?
I need help or suggestions for my development. I’m developing something that, with a selected input, saves the actual reference point upon receiving the signal. Can anyone tell me the best way to do this?
I don’t had sucess trying with xmlrpc and daemon in python.
I’ve really only done this via socket communication. See here: URCap Sample: URCap-ScriptCommunicator
Basically you use the exportStrings() method and just send “get_actual_tcp_pose()” (and you should send get_actual_joints() and save that too) and store the result to the data model on the Java side.
As for reading the input, I’ve done this via a thread running in Java that checks for the input state. See this post for details: How to read the status of digital outputs? - #5 by eric.feldmann