#include <cmath>
#include <vector>
#include "cartographer/common/math.h"
#include "cartographer/common/port.h"
#include "glog/logging.h"
Go to the source code of this file.
Namespaces | |
cartographer | |
cartographer::mapping | |
Functions | |
float | cartographer::mapping::ClampProbability (const float probability) |
std::vector< uint16 > | cartographer::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 |