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

Get Joint Speeds for a Robot Path using Python API

#3
最新版本的RoboDK可以提取timings for your joint list. Make sure to provide flags=2 or flags=3

# Split your program by steps of 1 mm and 1 deg
message, data, success = program.InstructionListJoints(mm_step=1, deg_step=1, flags=2)

data is a Matrix with columns containing the following information:
[J1, J2, ..., Jn, ERROR, MM_STEP, DEG_STEP, MOVE_ID, TIME, X_TCP, Y_TCP, Z_TCP, Speed_J1, Speed_J2, ..., Speed_Jn]

You can then map the times with the joint positions.

More information here:
//m.sinclairbody.com/doc/en/PythonAPI/robo...ListJoints
//m.sinclairbody.com/doc/en/CsAPI/api/Robo...sType.html
The C# documentation is more complete regarding the effect of changing the flags.


Messages In This Thread
RE: Get Joint Speeds for a Robot Path using Python API - byAlbert- 08-14-2018, 09:28 PM



Users browsing this thread:
1 Guest(s)