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

namespace  cartographer
namespace  cartographer::mapping

Functions

float cartographer::mapping::ClampCorrespondenceCost (const float correspondence_cost)
float cartographer::mapping::ClampProbability (const float probability)
std::vector< uint16 > cartographer::mapping::ComputeLookupTableToApplyCorrespondenceCostOdds (float odds)
std::vector< uint16 > cartographer::mapping::ComputeLookupTableToApplyOdds (const float odds)
float cartographer::mapping::CorrespondenceCostToProbability (const float correspondence_cost)
uint16 cartographer::mapping::CorrespondenceCostToValue (const float correspondence_cost)
uint16 cartographer::mapping::CorrespondenceCostValueToProbabilityValue (uint16 correspondence_cost_value)
float cartographer::mapping::Odds (float probability)
float cartographer::mapping::ProbabilityFromOdds (const float odds)
float cartographer::mapping::ProbabilityToCorrespondenceCost (const float probability)
uint16 cartographer::mapping::ProbabilityToValue (const float probability)
uint16 cartographer::mapping::ProbabilityValueToCorrespondenceCostValue (uint16 probability_value)
float cartographer::mapping::ValueToCorrespondenceCost (const uint16 value)
float cartographer::mapping::ValueToProbability (const uint16 value)

Variables

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


cartographer
Author(s): The Cartographer Authors
autogenerated on Thu May 9 2019 02:27:36