pycram.designators.object_designator#
Classes#
Description for Objects that are only believed in. |
|
Module Contents#
- class pycram.designators.object_designator.BelieveObject#
Bases:
ObjectDesignatorDescriptionDescription for Objects that are only believed in.
- class pycram.designators.object_designator.ResolutionStrategyObject(strategy: typing_extensions.Union[Callable, typing_extensions.Iterable])#
Bases:
ObjectDesignatorDescription- strategy#
- create_iterator(resolution_strategy: typing_extensions.Union[Callable, typing_extensions.Iterable])#
Creates an iterator for the given method. If the method is iterable it will be used as is, otherwise it will be called as a function.
- Parameters:
resolution_strategy – The method to create an iterator for.
- Returns:
An iterator for the given method.
- __iter__() typing_extensions.Iterable[semantic_digital_twin.world_description.world_entity.Body]#
Iterates through every possible solution for the given solution strategy.
- Returns:
A resolved object designator