Closed mqnc closed 2 years ago
Hey @mqnc! What's the control cycle of the Ruckig instance?
I was going to say "there is no control cycle yet, it happens during invocation of the calculate method before sampling" but of course, if ruckig is supposed to round towards the next full step, it needs to know the sampling rate during planning... How do I specify that?
Ok, this should be catched now and should return an Error::InvalidInput
with the latest commit.
You can specify a control cycle just as shown in the tutorial:
Ruckig<6> ruckig {0.001}; // Number DoFs; control cycle in [s]
Thanks! So it was my fault after all :P
Hi! I encountered the aforementioned error. Here are my input parameters:
and I get:
Is this my fault or yours? ;)
UPDATE: I think this only happens with
input.duration_discretization = ruckig::DurationDiscretization::Discrete;
which makes it smell like your fault! :D