robokudo.annotators.semantic_world_connector¶
Classes¶
An annotator that synchronizes the current state of the world with the semdt. |
Module Contents¶
- class robokudo.annotators.semantic_world_connector.SemanticDigitalTwinConnector(name: str = 'WorldValidator', descriptor: SemanticDigitalTwinConnector = Descriptor())¶
-
Bases:
robokudo.annotators.core.BaseAnnotatorAn annotator that synchronizes the current state of the world with the semdt.
- class Descriptor¶
-
Bases:
robokudo.annotators.core.BaseAnnotator.Descriptor- class Parameters¶
-
- urdf_path: typing_extensions.Optional[str] = None¶
-
Optional Path to the URDF file of the world
- parameters¶
- semdt_adapter¶
-
An instance of SemanticDigitalTwinConnector used to connect to the semdt.
- extract_data(oh: robokudo.types.scene.ObjectHypothesis) typing_extensions.Dict[str, typing_extensions.Any]¶
-
Extracts data from an object hypothesis to a simple dictionary.
- Parameters:
-
oh – Object hypothesis to extract data from.
- Returns:
-
A dictionary containing the object hypothesis data in form of a dictionary.
- update() py_trees.common.Status¶
-
Synchronise the current RoboKudo state with the current semdt state.