Public Member Functions | Protected Attributes
teb_local_planner::EdgeDynamicObstacle Class Reference

Edge defining the cost function for keeping a distance from dynamic (moving) obstacles. More...

#include <edge_dynamic_obstacle.h>

Inheritance diagram for teb_local_planner::EdgeDynamicObstacle:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void computeError ()
 Actual cost function.
 EdgeDynamicObstacle ()
 Construct edge.
 EdgeDynamicObstacle (size_t vert_idx)
 Construct edge and specify the vertex id (neccessary for computeError).
void setObstacle (const Obstacle *obstacle)
 Set Obstacle for the underlying cost function.
void setVertexIdx (size_t vert_idx)
 Set the vertex index (position in the pose sequence)

Protected Attributes

size_t vert_idx_
 Store vertex index (position in the pose sequence)

Detailed Description

Edge defining the cost function for keeping a distance from dynamic (moving) obstacles.

The edge depends on two vertices $ \mathbf{s}_i, \Delta T_i $ and minimizes:
$ \min \textrm{penaltyBelow}( dist2obstacle) \cdot weight $.
dist2obstacle denotes the minimum distance to the obstacle trajectory (spatial and temporal).
weight can be set using setInformation().
penaltyBelow denotes the penalty function, see penaltyBoundFromBelow().

See also:
TebOptimalPlanner::AddEdgesDynamicObstacles
Remarks:
Do not forget to call setTebConfig(), setVertexIdx() and
Warning:
Experimental

Definition at line 70 of file edge_dynamic_obstacle.h.


Constructor & Destructor Documentation

Construct edge.

Definition at line 77 of file edge_dynamic_obstacle.h.

Construct edge and specify the vertex id (neccessary for computeError).

Parameters:
vert_idxIndex of the vertex (position in the pose sequence)

Definition at line 85 of file edge_dynamic_obstacle.h.


Member Function Documentation

Actual cost function.

Definition at line 92 of file edge_dynamic_obstacle.h.

Set Obstacle for the underlying cost function.

Parameters:
obstacleConst pointer to an Obstacle or derived Obstacle

Definition at line 133 of file edge_dynamic_obstacle.h.

void teb_local_planner::EdgeDynamicObstacle::setVertexIdx ( size_t  vert_idx) [inline]

Set the vertex index (position in the pose sequence)

Parameters:
vert_idxIndex of the vertex

Definition at line 124 of file edge_dynamic_obstacle.h.


Member Data Documentation

Store vertex index (position in the pose sequence)

Definition at line 141 of file edge_dynamic_obstacle.h.


The documentation for this class was generated from the following file:


teb_local_planner
Author(s): Christoph Rösmann
autogenerated on Sat Jun 8 2019 20:21:34