I am using a control cycle of 0.001 second specified in the object constructor:
ruckig::Ruckig<1> generator {0.001}; // control cycle
I am using a discrete duration in order to complete the trajectory within a period multiple of control cycle.
The strange behaviour occurs at the end of computation. The last two samples are:
Position: 700.000000
Velocity: 150.000000
Acceleration: 350.000000
Jerk: 70000.000000
Here Ruckig reports ruckig::Result::Working as return value of generator.update(input, output) method.
Final Position: 700.150175
Final Velocity: 150.350000
Final Acceleration: 350.000000
Final Jerk: 0.000000
Here Ruckig reports ruckig::Result::Finished as return value of generator.update(input, output) method.
I tried this code on Linux Ubuntu as OS.
Am I doing something wrong?
Hello,
I am integrating Ruckig and trying to performe many trajectories and I found a strange behaviour with these parameters:
I am using a control cycle of 0.001 second specified in the object constructor:
ruckig::Ruckig<1> generator {0.001}; // control cycle
I am using a discrete duration in order to complete the trajectory within a period multiple of control cycle. The strange behaviour occurs at the end of computation. The last two samples are:
Position: 700.000000 Velocity: 150.000000 Acceleration: 350.000000 Jerk: 70000.000000 Here Ruckig reports
ruckig::Result::Working
as return value of generator.update(input, output) method.Final Position: 700.150175 Final Velocity: 150.350000 Final Acceleration: 350.000000 Final Jerk: 0.000000 Here Ruckig reports
ruckig::Result::Finished
as return value of generator.update(input, output) method.I tried this code on Linux Ubuntu as OS. Am I doing something wrong?
Thanks