class documentation
class ConfiguredComponent(ROS2ComponentMixin, BaseComponent):
Constructor: ConfiguredComponent(bindings, identification, children, projections, ...)
The stock Component a machine file declares: Bindings, identification and children.
Built by load_machine, not by hand.
| Method | __init__ |
Take the declarations this Component serves and the Components it contains. |
| Instance Variable | bindings |
Undocumented |
| Instance Variable | projections |
Undocumented |
| Instance Variable | startup |
Undocumented |
| Async Method | _init |
Let the mixin build this Component, then register its children in file order. |
| Async Method | _write |
Undocumented |
| Instance Variable | _children |
Undocumented |
| Instance Variable | _given |
Undocumented |
def __init__(self, *, bindings:
Sequence[ Binding] = (), identification: Identification | None = None, children: Sequence[ ConfiguredComponent] = (), projections: Sequence[ Projection] = (), startup_skill_type: type[ ROS2StartupSkill] | None = None, **kwargs: Any):
¶
Take the declarations this Component serves and the Components it contains.
A subclass named by component_class that defines __init__ passes the keywords it does not know on to this one.
| Parameters | |
bindings:Sequence[ | Every Binding, inline and included, already resolved and unique by name. |
identification:Identification | None | What to write into the identification block. |
children:Sequence[ | The Components registered under this one, in the order they start. |
projections:Sequence[ | The Projections the file curates this Component's types with, ahead of the Machine's. |
startuptype[ | The StartupSkill class the file names, or None to leave the class's own startup_skill_type as it is. |
**kwargs:Any | Undocumented |