Namespaces | Functions
cost_interpretation.h File Reference
#include <nav_grid/nav_grid.h>
#include <nav_grid_iterators/whole_grid.h>
#include <vector>
Include dependency graph for cost_interpretation.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 nav_grid_pub_sub
 

Functions

void nav_grid_pub_sub::applyInterpretation (nav_grid::NavGrid< unsigned char > &grid, const std::vector< unsigned char > &cost_interpretation_table)
 Apply a given interpretation to the provided nav grid. More...
 
unsigned char nav_grid_pub_sub::interpretCost (unsigned char original_value, const std::vector< unsigned char > &cost_interpretation_table)
 return cost_interpretation_table[original_value] (or original_value if not a valid index) More...
 
template<typename NumericType >
unsigned char nav_grid_pub_sub::interpretValue (const NumericType value, const NumericType min_value, const NumericType denominator, const NumericType unknown_value)
 Scale the given value to fit within [0, 100] (unless its ignore_value, then its -1) More...
 


nav_grid_pub_sub
Author(s):
autogenerated on Wed Jun 26 2019 20:06:28