Hi everyone,
I use a measuring device mounted at the end of a robotic arm, Staubli TX2 90, controller CS9. This device requires the robot’s current position to be sent each time it receives a trigger signal, in order to generate point clouds of objects. I’ve programmed a function to retrieve the robot’s position; however, the data received is not the actual real-time position when the robot is moving. Instead, it returns the previous position, updated every 4 milliseconds.
I’m looking for a way for the device’s software to reliably receive the accurate, real-time position every 4ms. I considered adding a 4ms delay, but the system needs to continuously receive position data; otherwise, the program stopped. Could you suggest a method to ensure that the software receives the correct position data at a 4ms interval?
Thanks for your help.