Edge defining the cost function for limiting the translational and rotational acceleration. More...
#include <edge_acceleration.h>
Public Member Functions | |
void | computeError () |
Actual cost function. | |
EdgeAccelerationHolonomic () | |
Construct edge. |
Edge defining the cost function for limiting the translational and rotational acceleration.
The edge depends on five vertices and minimizes: .
ax is calculated using the difference quotient (twice) and the x position parts of all three poses
ay is calculated using the difference quotient (twice) and the y position parts of all three poses
omegadot is calculated using the difference quotient of the 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 acceleration (x-dir), the second one the strafing acceleration and the third one the rotational acceleration.
Definition at line 474 of file edge_acceleration.h.
Construct edge.
Definition at line 481 of file edge_acceleration.h.
void teb_local_planner::EdgeAccelerationHolonomic::computeError | ( | ) | [inline] |
Actual cost function.
Definition at line 489 of file edge_acceleration.h.