Public Member Functions
cost_map::InflationComputer Class Reference

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

#include <inflation.hpp>

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

List of all members.

Public Member Functions

 InflationComputer ()
virtual unsigned char operator() (const float &distance) const =0
 Given a distance, compute a cost.
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

Definition at line 37 of file inflation.hpp.

virtual cost_map::InflationComputer::~InflationComputer ( ) [inline, virtual]

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 Thu Jun 6 2019 20:27:46