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... | |
![]() | |
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... | |
Additional Inherited Members | |
![]() | |
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 114 of file edge_time_optimal.h.
|
inline |
Construct edge.
Definition at line 121 of file edge_time_optimal.h.
|
inline |
Actual cost function.
Definition at line 129 of file edge_time_optimal.h.