Edge defining the cost function for limiting the translational and rotational velocity. More...
#include <edge_velocity.h>
Public Member Functions | |
void | computeError () |
Actual cost function. | |
EdgeVelocity () | |
Construct edge. |
Edge defining the cost function for limiting the translational and rotational velocity.
The edge depends on three vertices and minimizes:
.
v is calculated using the difference quotient and the position parts of both poses.
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 2: the first component represents the translational velocity and the second one the rotational velocity.
Definition at line 75 of file edge_velocity.h.
teb_local_planner::EdgeVelocity::EdgeVelocity | ( | ) | [inline] |
Construct edge.
Definition at line 82 of file edge_velocity.h.
void teb_local_planner::EdgeVelocity::computeError | ( | ) | [inline] |
Actual cost function.
Definition at line 90 of file edge_velocity.h.