08-14-2018, 09:28 PM
最新版本的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.
# 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.