Skip to main content

Crate wifi_densepose_worldgraph

Crate wifi_densepose_worldgraph 

Source
Expand description

§WiFi-DensePose WorldGraph (ADR-139)

The environmental digital twin for the RuView streaming engine: a typed petgraph StableDiGraph of rooms, zones, walls, doorways, sensors, RF links, person tracks, object anchors, events, and semantic-state beliefs, connected by typed relations (observes / located_in / adjacent_to / supports / contradicts / derived_from / privacy_limited_by).

It sits downstream of fusion (ADR-137) — storing fused beliefs, not raw frames — and upstream of the semantic/agent layer (ADR-140) and evaluation harness (ADR-145). Every model::WorldNode::SemanticState carries mandatory model::SemanticProvenance (signal evidence + model + calibration + privacy decision), honouring the house rule structurally.

Persistence is via graph::WorldGraph::to_json / graph::WorldGraph::from_json (the RVF payload); the serde-enum node/edge model guarantees a deterministic, schema-versioned wire layout.

Re-exports§

pub use error::WorldGraphError;
pub use graph::PrivacyRollup;
pub use graph::WorldGraph;
pub use graph::WorldGraphSnapshot;
pub use graph::SCHEMA_VERSION;
pub use model::AnchorKind;
pub use model::EnuPoint;
pub use model::SemanticProvenance;
pub use model::SensorModality;
pub use model::WorldEdge;
pub use model::WorldId;
pub use model::WorldNode;
pub use model::ZoneBoundsEnu;

Modules§

error
WorldGraph error type.
graph
ADR-139 §2.2–2.5 — graph container, provenance, privacy rollup, queries.
model
ADR-139 §2.1 — typed node/edge model.