Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"Get Position" Automatically in Online Programming
#1
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.

-------Edit----------

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.
#2
Hi Tharisata,

机器人是什么哟u using?

Jeremy
Find useful information about RoboDK and its features by visiting our2022世界杯32强赛程表时间 and by watching tutorials on ourYoutube Channel.






Users browsing this thread:
1 Guest(s)