|
Ark
|
Classes | |
| class | ScriptNode |
| Base class for nodes that interact with the LCM system. More... | |
Functions | |
| None | main (type[ScriptNode] node_cls, config_path=None, *args, **kwargs) |
| Initializes and runs a node. | |
| None comm_infrastructure.script_node.main | ( | type[ScriptNode] | node_cls, |
| config_path = None, | |||
| * | args, | ||
| ** | kwargs ) |
Initializes and runs a node.
This function creates an instance of the specified node_cls, spins the node to handle messages, and handles exceptions that occur during the node's execution.
| node_cls | The class of the node to run. @type node_cls: Type[BaseNode] |