When the difference between the values of InputParameter().current_position and InputParameter().target_position is large enough, Ruckig outputs zero new_ positions and velocities. This only occurs for DoF 2 (and perhaps with more DoFs too).
Please check the Result return type of the update method and take a look at the numerical limits section in the readme. Ruckig does have an upper bound of the trajectory duration.
When the difference between the values of
InputParameter().current_position
andInputParameter().target_position
is large enough, Ruckig outputs zeronew_
positions and velocities. This only occurs for DoF 2 (and perhaps with more DoFs too).Test code:
Output:
Nothing seems special about the output values close to
7599
, so the change is adrupt.Library installed from
pip
, version1.1.1
.