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

Get real/simulation time and joints position in lists

#1
Hello,

After running simulation, I would like to know if it's possible to retrieve real/simulation time samples in a list, as well as the joints position in another list for each time sample ?

Thanks,

Yohan
#2
You can run this script in debug mode or customize it to save a list of joints:
C:/RoboDK/Library/Scripts/ProgramSlider.py

You can run this as a script to see the result by following these steps:
  1. Tools-Run Script
  2. Select ProgramSlider
  3. Select your program
You'll see in the status bar the time stamps or time increments.

You can customize this script to save the list of joints as a CSV file with time increments. A similar question was asked here and you can find 2 more scripts that can output time estimates:
https://robodk.com/forum/Thread-Slowmoti...9#pid10549

Please note that RoboDK timestamps are an estimate. More information here:
https://robodk.com/doc/en/General.html#CycleTime
  




Users browsing this thread:
1 Guest(s)