Namespaces | Functions | Variables
probability_values.h File Reference
#include <cmath>
#include <vector>
#include "cartographer/common/math.h"
#include "cartographer/common/port.h"
#include "glog/logging.h"
Include dependency graph for probability_values.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 cartographer
 
 cartographer::mapping
 

Functions

float cartographer::mapping::ClampProbability (const float probability)
 
std::vector< uint16cartographer::mapping::ComputeLookupTableToApplyOdds (const float odds)
 
float cartographer::mapping::Odds (float probability)
 
float cartographer::mapping::ProbabilityFromOdds (const float odds)
 
uint16 cartographer::mapping::ProbabilityToValue (const float probability)
 
float cartographer::mapping::ValueToProbability (const uint16 value)
 

Variables

constexpr float cartographer::mapping::kMaxProbability = 1.f - kMinProbability
 
constexpr float cartographer::mapping::kMinProbability = 0.1f
 
constexpr uint16 cartographer::mapping::kUnknownProbabilityValue = 0
 
constexpr uint16 cartographer::mapping::kUpdateMarker = 1u << 15
 


cartographer
Author(s):
autogenerated on Wed Jun 5 2019 21:57:59