Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

"Get Position" Automatically in Online Programming

Hi guys,

I'm doing Online Programming where I'm running the script alongside the robot.

I want to be able to manually move the robot mid script and get the program to update the simulation for me. This can be done by manually clicking 'Get Position' in the 'Connect to Robot' section.

I was wondering if there's a function for this that I can incorporate into my code. 

Thanks in advance.


I've found that this can be done by calling robot.Joints() (i.e. update the joints first) as opposed to calling robot.Pose() which gives you the Pose in the simulation.

If there is another method, I'm also keen to hear it.
Hi Tharisata,

What robot are you using?

Find useful information about RoboDK and its features by visiting our Online Documentation and by watching tutorials on our Youtube Channel


Users browsing this thread:
1 Guest(s)