Edge defining the cost function for limiting the translational and rotational velocity according to x,y and theta. More...
#include <edge_velocity.h>

Public Member Functions | |
| void | computeError () |
| Actual cost function. | |
| EdgeVelocityHolonomic () | |
| Construct edge. | |
Edge defining the cost function for limiting the translational and rotational velocity according to x,y and theta.
The edge depends on three vertices
and minimizes:
.
vx denotes the translational velocity w.r.t. x-axis (computed using finite differneces).
vy denotes the translational velocity w.r.t. y-axis (computed using finite differneces).
omega is calculated using the difference quotient of both yaw angles followed by a normalization to [-pi, pi].
weight can be set using setInformation().
penaltyInterval denotes the penalty function, see penaltyBoundToInterval().
The dimension of the error / cost vector is 3: the first component represents the translational velocity w.r.t. x-axis, the second one w.r.t. the y-axis and the third one the rotational velocity.
Definition at line 221 of file edge_velocity.h.
Construct edge.
Definition at line 228 of file edge_velocity.h.
| void teb_local_planner::EdgeVelocityHolonomic::computeError | ( | ) | [inline] |
Actual cost function.
Definition at line 236 of file edge_velocity.h.