ros2_snapshot.core.deployments.action module
Metamodels used to model ROS Actions and the Banks that contain them.
- class ros2_snapshot.core.deployments.action.Action(*args: Any, **kwargs: Any)
Bases:
_EntityMetamodelMetamodel for ROS Actions.
- add_to_dot_graph(graph)
Add the ROS Entity to a DOT Graph.
- Parameters:
graph (graphviz.Digraph) – the DOT Graph to add the ROS Entity to
- client_node_names: str | List[str] | None = None
- construct_type: str | None = None
- server_node_names: str | List[str] | None = None
- yaml_tag: ClassVar[str] = '!Action'
- class ros2_snapshot.core.deployments.action.ActionBank(*args: Any, **kwargs: Any)
Bases:
_BankMetamodelMetamodel for Bank of ROS Actions.
- HUMAN_OUTPUT_NAME = 'Actions:'
- entity_class(name)
Return class of entity given bank type.
- Returns:
instance of entity class definition
- yaml_tag: ClassVar[str] = '!ActionBank'