This class stores and wraps a time difference
into a vertex that can be optimized via g2o.
More...
#include <vertex_timediff.h>
|
double & | dt () |
| Access the timediff value of the vertex. More...
|
|
const double & | dt () const |
| Access the timediff value of the vertex (read-only) More...
|
|
virtual void | oplusImpl (const double *update) override |
| Define the update increment . A simple addition implements what we want. More...
|
|
virtual bool | read (std::istream &is) override |
| Read an estimate of from an input stream. More...
|
|
virtual void | setToOriginImpl () override |
| Set the underlying TimeDiff estimate to default. More...
|
|
| VertexTimeDiff (bool fixed=false) |
| Default constructor. More...
|
|
| VertexTimeDiff (double dt, bool fixed=false) |
| Construct the TimeDiff vertex with a value. More...
|
|
virtual bool | write (std::ostream &os) const override |
| Write the estimate to an output stream. More...
|
|
This class stores and wraps a time difference
into a vertex that can be optimized via g2o.
Definition at line 102 of file vertex_timediff.h.
◆ VertexTimeDiff() [1/2]
teb_local_planner::VertexTimeDiff::VertexTimeDiff |
( |
bool |
fixed = false | ) |
|
|
inline |
Default constructor.
- Parameters
-
fixed | if true , this vertex is considered fixed during optimization [default: false ] |
Definition at line 110 of file vertex_timediff.h.
◆ VertexTimeDiff() [2/2]
teb_local_planner::VertexTimeDiff::VertexTimeDiff |
( |
double |
dt, |
|
|
bool |
fixed = false |
|
) |
| |
|
inline |
Construct the TimeDiff vertex with a value.
- Parameters
-
dt | time difference value of the vertex |
fixed | if true , this vertex is considered fixed during optimization [default: false ] |
Definition at line 121 of file vertex_timediff.h.
◆ dt() [1/2]
double& teb_local_planner::VertexTimeDiff::dt |
( |
| ) |
|
|
inline |
Access the timediff value of the vertex.
- See also
- estimate
- Returns
- reference to dt
Definition at line 132 of file vertex_timediff.h.
◆ dt() [2/2]
const double& teb_local_planner::VertexTimeDiff::dt |
( |
| ) |
const |
|
inline |
Access the timediff value of the vertex (read-only)
- See also
- estimate
- Returns
- const reference to dt
Definition at line 139 of file vertex_timediff.h.
◆ oplusImpl()
virtual void teb_local_planner::VertexTimeDiff::oplusImpl |
( |
const double * |
update | ) |
|
|
inlineoverridevirtual |
Define the update increment
. A simple addition implements what we want.
- Parameters
-
update | increment that should be added to the previous esimate |
Definition at line 154 of file vertex_timediff.h.
◆ read()
virtual bool teb_local_planner::VertexTimeDiff::read |
( |
std::istream & |
is | ) |
|
|
inlineoverridevirtual |
Read an estimate of
from an input stream.
- Parameters
-
- Returns
- always
true
Definition at line 164 of file vertex_timediff.h.
◆ setToOriginImpl()
virtual void teb_local_planner::VertexTimeDiff::setToOriginImpl |
( |
| ) |
|
|
inlineoverridevirtual |
◆ write()
virtual bool teb_local_planner::VertexTimeDiff::write |
( |
std::ostream & |
os | ) |
const |
|
inlineoverridevirtual |
Write the estimate
to an output stream.
- Parameters
-
- Returns
true
if the export was successful, otherwise false
Definition at line 175 of file vertex_timediff.h.
The documentation for this class was generated from the following file: