pantor / ruckig

Motion Generation for Robots and Machines. Real-time. Jerk-constrained. Time-optimal.
https://ruckig.com
MIT License
635 stars 155 forks source link

How to get input waypoints time stamps when using Ruckig remote API #162

Closed chuangwang1991 closed 1 year ago

chuangwang1991 commented 1 year ago

Hello, I have use remote API to generate a trajectory with intermedia points. How can I get the input waypoints time stamps? I could only get the sampled trajectory waypoints time stamp.

pantor commented 1 year ago

Have you tried the get_intermediate_durations() method of the Trajectory class?

chuangwang1991 commented 1 year ago

Got it.