mufasa.nodes.mapping.pom#
Classes#
Probability Occupancy Map: Bayesian log-odds accumulation with exponential decay. |
Module Contents#
- class mufasa.nodes.mapping.pom.POM(decay_s: float, prior: float = 0.5)#
Bases:
mufasa.nodes.mapping.heat.HeatMapProbability Occupancy Map: Bayesian log-odds accumulation with exponential decay.
Internal state and
BayesianMap.dataare both in log-odds space. Usemap.probabilitiesto obtain values in [0, 1]. ProducesBayesianMapso that fusion nodes can enforce compatible wiring.- Parameters:
decay_s (float) – Exponential decay time constant in seconds.
prior (float) – Sensor baseline confidence. Observations with
confidence == priorare neutral (zero log-odds contribution). Abovepriorincreases the map; below decreases it. The map itself always starts at probability 0.5 (unknown) — use aStaticMap+BayesianFusionto set a spatial prior on occupancy.
- prior = 0.5#
- get_config() dict#
Return all constructor arguments as a plain JSON-serializable dict.
Used by
Graph.to_config()to serialise the pipeline. Every key must be a string; every value must be JSON-serializable.- Return type:
dict