This class stores and wraps a time difference into a vertex that can be optimized via g2o.
More...
#include <vertex_timediff.h>
This class stores and wraps a time difference into a vertex that can be optimized via g2o.
- See also
- VertexPointXY
-
VertexOrientation
Definition at line 65 of file vertex_timediff.h.
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 73 of file vertex_timediff.h.
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 84 of file vertex_timediff.h.
teb_local_planner::VertexTimeDiff::~VertexTimeDiff |
( |
| ) |
|
|
inline |
double& teb_local_planner::VertexTimeDiff::dt |
( |
| ) |
|
|
inline |
Access the timediff value of the vertex.
- See also
- estimate
- Returns
- reference to dt
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)
- See also
- estimate
- Returns
- const reference to dt
Definition at line 108 of file vertex_timediff.h.
virtual void teb_local_planner::VertexTimeDiff::oplusImpl |
( |
const double * |
update | ) |
|
|
inlinevirtual |
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 123 of file vertex_timediff.h.
virtual bool teb_local_planner::VertexTimeDiff::read |
( |
std::istream & |
is | ) |
|
|
inlinevirtual |
Read an estimate of from an input stream.
- Parameters
-
- Returns
- always
true
Definition at line 133 of file vertex_timediff.h.
virtual void teb_local_planner::VertexTimeDiff::setToOriginImpl |
( |
| ) |
|
|
inlinevirtual |
virtual bool teb_local_planner::VertexTimeDiff::write |
( |
std::ostream & |
os | ) |
const |
|
inlinevirtual |
Write the estimate to an output stream.
- Parameters
-
- Returns
true
if the export was successful, otherwise false
Definition at line 144 of file vertex_timediff.h.
The documentation for this class was generated from the following file: