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

template<typename IntegralType >
void nav_grid_pub_sub::applyInterpretation (nav_grid::NavGrid< IntegralType > &grid, const std::vector< IntegralType > &cost_interpretation_table)
 Apply a given interpretation to the provided nav grid. More...
 
template<typename NumericType , typename IntegralType >
NumericType nav_grid_pub_sub::interpretCost (IntegralType original_value, const std::vector< NumericType > &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 Sun Jan 10 2021 04:08:50