scene_service.scene_graph.builder¶
Low-frequency rebuild of the semantic edges from the ObjectRegistry.
Functions
|
Rebuild the scene graph every interval_sec until stop is set. |
Classes
|
Reads the registry, infers semantic edges, publishes them to the store. |
Scene-graph settings from SCENE_GRAPH_* environment variables. |
- class scene_service.scene_graph.builder.SceneGraphBuilder(registry: ObjectRegistry, relation_inferer: RelationInferer, store: SceneGraphStore, config: SceneGraphConfig | None = None, object_store: Any = None, perception: Any = None)[source]¶
Bases:
objectReads the registry, infers semantic edges, publishes them to the store.
- async rebuild_once() SceneGraphSnapshot[source]¶
- class scene_service.scene_graph.builder.SceneGraphConfig[source]¶
Bases:
objectScene-graph settings from SCENE_GRAPH_* environment variables.
- async scene_service.scene_graph.builder.scene_graph_loop(builder: SceneGraphBuilder, stop: Event) None[source]¶
Rebuild the scene graph every interval_sec until stop is set.