Base edge connecting multiple vertices in the TEB optimization problem. More...
#include <base_teb_edges.h>
Public Member Functions | |
ErrorVector & | getError () |
Compute and return error / cost value. More... | |
virtual bool | read (std::istream &is) |
Read values from input stream. More... | |
virtual void | resize (size_t size) |
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... | |
Protected Attributes | |
const TebConfig * | cfg_ |
Store TebConfig class for parameters. More... | |
Base edge connecting multiple vertices in the TEB optimization problem.
This edge defines a base edge type for the TEB optimization problem. It is derived from the corresponding g2o base classes augmented with additional information for the dedicated TEB problem (e.g. config). The destructor erases the edge in all attached vertices in order to allow keeping the vertices valid in subsequent g2o optimization calls. Memory of edges should be freed by calling the clearEdge method of the g2o optimizer class.
Definition at line 205 of file base_teb_edges.h.
|
inline |
Compute and return error / cost value.
This method is called by TebOptimalPlanner::computeCurrentCost to obtain the current cost.
Definition at line 227 of file base_teb_edges.h.
|
inlinevirtual |
Read values from input stream.
Definition at line 236 of file base_teb_edges.h.
|
inlinevirtual |
Definition at line 213 of file base_teb_edges.h.
|
inline |
Assign the TebConfig class for parameters.
cfg | TebConfig class |
Definition at line 255 of file base_teb_edges.h.
|
inlinevirtual |
Write values to an output stream.
Definition at line 245 of file base_teb_edges.h.
|
protected |
Store TebConfig class for parameters.
Definition at line 265 of file base_teb_edges.h.