Function which can compute costs for the inflation layer. More...
#include <inflation.hpp>
Public Member Functions | |
InflationComputer () | |
virtual unsigned char | operator() (const float &distance) const =0 |
Given a distance, compute a cost. More... | |
virtual | ~InflationComputer () |
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.
|
inline |
Definition at line 37 of file inflation.hpp.
|
inlinevirtual |
Definition at line 38 of file inflation.hpp.
|
pure virtual |
Given a distance, compute a cost.
distance | The distance from an obstacle in cells |
Implemented in cost_map::ROSInflationComputer.