This class stores and wraps a time difference
into a vertex that can be optimized via g2o.
More...
#include <vertex_timediff.h>
Public Member Functions | |
| double & | dt () |
| Access the timediff value of the vertex. | |
| const double & | dt () const |
| Access the timediff value of the vertex (read-only) | |
| virtual void | oplusImpl (const double *update) |
Define the update increment . A simple addition implements what we want. | |
| virtual bool | read (std::istream &is) |
Read an estimate of from an input stream. | |
| virtual void | setToOriginImpl () |
Set the underlying TimeDiff estimate to default. | |
| VertexTimeDiff (bool fixed=false) | |
| Default constructor. | |
| VertexTimeDiff (double dt, bool fixed=false) | |
| Construct the TimeDiff vertex with a value. | |
| virtual bool | write (std::ostream &os) const |
Write the estimate to an output stream. | |
| ~VertexTimeDiff () | |
| Destructs the VertexTimeDiff. | |
This class stores and wraps a time difference
into a vertex that can be optimized via g2o.
Definition at line 65 of file vertex_timediff.h.
| teb_local_planner::VertexTimeDiff::VertexTimeDiff | ( | bool | fixed = false | ) | [inline] |
Default constructor.
| fixed | if true, this vertex is considered fixed during optimization [default: false] |
Definition at line 73 of file vertex_timediff.h.
| teb_local_planner::VertexTimeDiff::VertexTimeDiff | ( | double | dt, |
| bool | fixed = false |
||
| ) | [inline] |
Construct the TimeDiff vertex with a value.
| dt | time difference value of the vertex |
| fixed | if true, this vertex is considered fixed during optimization [default: false] |
Definition at line 84 of file vertex_timediff.h.
| teb_local_planner::VertexTimeDiff::~VertexTimeDiff | ( | ) | [inline] |
Destructs the VertexTimeDiff.
Definition at line 93 of file vertex_timediff.h.
| double& teb_local_planner::VertexTimeDiff::dt | ( | ) | [inline] |
Access the timediff value of the vertex.
Definition at line 101 of file vertex_timediff.h.
| const double& teb_local_planner::VertexTimeDiff::dt | ( | ) | const [inline] |
Access the timediff value of the vertex (read-only)
Definition at line 108 of file vertex_timediff.h.
| virtual void teb_local_planner::VertexTimeDiff::oplusImpl | ( | const double * | update | ) | [inline, virtual] |
Define the update increment
. A simple addition implements what we want.
| update | increment that should be added to the previous esimate |
Definition at line 123 of file vertex_timediff.h.
| virtual bool teb_local_planner::VertexTimeDiff::read | ( | std::istream & | is | ) | [inline, virtual] |
Read an estimate of
from an input stream.
| is | input stream |
true Definition at line 133 of file vertex_timediff.h.
| virtual void teb_local_planner::VertexTimeDiff::setToOriginImpl | ( | ) | [inline, virtual] |
Set the underlying TimeDiff estimate
to default.
Definition at line 113 of file vertex_timediff.h.
| virtual bool teb_local_planner::VertexTimeDiff::write | ( | std::ostream & | os | ) | const [inline, virtual] |
Write the estimate
to an output stream.
| os | output stream |
true if the export was successful, otherwise false Definition at line 144 of file vertex_timediff.h.