machines-in-motion / kino_dynamic_opt

Kino-dynamic optimization algorithm for multiped robots
BSD 3-Clause "New" or "Revised" License
39 stars 9 forks source link

Data dump: Start timeseries from zero to avoid offset by one dt #48

Closed jviereck closed 3 years ago

jviereck commented 3 years ago

When looking at the result from the inverse kinematics and the finally dumped data, I noticed that the trajectory from the dumped data is time-shifted by one dt. See screenshot below where dt is 20 ms.

This PR fixes this and make sure the time series used for dumping the data starts at zero.

image