Public Member Functions | List of all members
cost_map::InflationComputer Class Referenceabstract

Function which can compute costs for the inflation layer. More...

#include <inflation.hpp>

Inheritance diagram for cost_map::InflationComputer:
Inheritance graph
[legend]

Public Member Functions

 InflationComputer ()
 
virtual unsigned char operator() (const float &distance) const =0
 Given a distance, compute a cost. More...
 
virtual ~InflationComputer ()
 

Detailed Description

Function which can compute costs for the inflation layer.

Inherit from this to generate your own inflation functions.

Definition at line 35 of file inflation.hpp.

Constructor & Destructor Documentation

cost_map::InflationComputer::InflationComputer ( )
inline

Definition at line 37 of file inflation.hpp.

virtual cost_map::InflationComputer::~InflationComputer ( )
inlinevirtual

Definition at line 38 of file inflation.hpp.

Member Function Documentation

virtual unsigned char cost_map::InflationComputer::operator() ( const float &  distance) const
pure virtual

Given a distance, compute a cost.

Parameters
distanceThe distance from an obstacle in cells
Returns
A cost value for the distance

Implemented in cost_map::ROSInflationComputer.


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


cost_map_core
Author(s): Daniel Stonier
autogenerated on Mon Jun 10 2019 13:03:41