artofnothingness / mppic

MIT License
84 stars 19 forks source link

Require model_dt = control_frequency? #66

Closed SteveMacenski closed 2 years ago

SteveMacenski commented 2 years ago

That would help with stability if users couldn't define some model_dt != control_frequency so when we apply the control shift it doesn't shift by the right amount as the next starting point. We should just straight up require that to be true

SteveMacenski commented 2 years ago

That could be contributing to non-smoothness. What do you think?

artofnothingness commented 2 years ago

That could help a little, basically that shift helps with initial approximation on the next step, but without testing, it's hard to say.

artofnothingness commented 2 years ago

With extremely high hz, i don' think we must strictly require equality, model could plan by higher dt and it's ok, unless we prove opposite. higher model_dt implies less prediction time steps required for longer trajectory. And it could be more robust in some cases probably (why should we consider not constant speed at 40 hz, even if we replaning that fast.