module documentation

The ROS2 interface package motoros2_interfaces, as message dataclasses.

Generated by python -m tools.catalog_sync --stubs from the definition catalog. Edit the catalog and regenerate; do not edit this file.

from opensmi.ros2.runtime.messages.motoros2_interfaces import AlarmCauseRemedy resolves through ~opensmi.ros2.runtime.messages.message_dataclass at run time and type-checks against the generated motoros2_interfaces.pyi beside this file. The two halves answer different questions: the stub says what the fields are, and this module makes sure what you get is the very dataclass every Binding carrying that type already holds.

Importing a name from here needs the interface package installed, exactly as a Binding on it does -- the catalog makes a type describable, never receivable.

Function __dir__ List what this module answers for, since it has no module-level names of its own.
Function __getattr__ Return the message dataclass one of this package's types is built as.
Constant _TYPES Undocumented
def __dir__() -> list[str]:

List what this module answers for, since it has no module-level names of its own.

def __getattr__(name: str) -> type[Message]:

Return the message dataclass one of this package's types is built as.

_TYPES: dict[str, str] =

Undocumented

Value
{'AlarmCauseRemedy': 'motoros2_interfaces/msg/AlarmCauseRemedy',
 'AlarmInfo': 'motoros2_interfaces/msg/AlarmInfo',
 'ErrorInfo': 'motoros2_interfaces/msg/ErrorInfo',
 'GetActiveAlarmInfo_Request': 'motoros2_interfaces/srv/GetActiveAlarmInfo_Reque↵
st',
 'GetActiveAlarmInfo_Response': 'motoros2_interfaces/srv/GetActiveAlarmInfo_Resp↵
onse',
...