ControlDurationObjective.h
Cost motionCost(const State *s1, const State *s2) const override
Returns a cost with a value of 0.
Definition: ControlDurationObjective.cpp:51
Cost controlCost(const control::Control *c, unsigned int steps) const override
Returns the cost with the value of steps*dt.
Definition: ControlDurationObjective.cpp:56
ControlDurationObjective(const control::SpaceInformationPtr &si)
Requires a control::SpaceInformationPtr to access dt.
Definition: ControlDurationObjective.cpp:39
Cost stateCost(const State *s) const override
Returns a cost with a value of 0.
Definition: ControlDurationObjective.cpp:46