Is there a simple way to acess the current robot state in a URCAP prgram? I cant seem to find anything specific in the documentation regarding this. Thank you!!
See my other post here for details on how to accomplish this. (Verify robot state - #2 by eric.feldmann)
Thanks for the response! I looked at the link, but I dont htink this would work for the use case I am looking for. I basically need to be listening for the chnage in robot state, to trigger an action based on that state. It seems like setting up a daemon and accessing the RTDE with python might be my best bet, but I was hoping the API provided a simpler way of doing something like this.
Can always just wrap the call to the dashboard in a thread (or Timer Task) that runs repeatedly in the background. Good luck with the RTDE interacting with the URCAP. I’ve hated every minute I’ve spent trying to make that work.
1 Like