Edge defining the cost function for minimizing transition time of the trajectory. More...
#include <edge_time_optimal.h>
Public Member Functions | |
void | computeError () |
Actual cost function. More... | |
EdgeTimeOptimal () | |
Construct edge. More... | |
Public Member Functions inherited from teb_local_planner::BaseTebUnaryEdge< 1, double, VertexTimeDiff > | |
BaseTebUnaryEdge () | |
Construct edge. More... | |
ErrorVector & | getError () |
Compute and return error / cost value. More... | |
virtual bool | read (std::istream &is) |
Read values from input stream. More... | |
void | setTebConfig (const TebConfig &cfg) |
Assign the TebConfig class for parameters. More... | |
virtual bool | write (std::ostream &os) const |
Write values to an output stream. More... | |
virtual | ~BaseTebUnaryEdge () |
Destruct edge. More... | |
Additional Inherited Members | |
Protected Attributes inherited from teb_local_planner::BaseTebUnaryEdge< 1, double, VertexTimeDiff > | |
const TebConfig * | cfg_ |
Store TebConfig class for parameters. More... | |
Edge defining the cost function for minimizing transition time of the trajectory.
The edge depends on a single vertex and minimizes:
.
scale is determined using the penaltyEquality() function, since we experiences good convergence speeds with it.
weight can be set using setInformation() (something around 1.0 seems to be fine).
Definition at line 73 of file edge_time_optimal.h.
|
inline |
Construct edge.
Definition at line 80 of file edge_time_optimal.h.
|
inline |
Actual cost function.
Definition at line 88 of file edge_time_optimal.h.