Ark
Loading...
Searching...
No Matches
comm_infrastructure.hybrid_node Namespace Reference

Classes

class  HybridNode
 Base class for nodes that interact with the LCM system. More...

Functions

None main (type[HybridNode] node_cls, *args)
 Initializes and runs a node.

Function Documentation

◆ main()

None comm_infrastructure.hybrid_node.main ( type[HybridNode] node_cls,
* args )

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.

Parameters
node_clsThe class of the node to run. @type node_cls: Type[BaseNode]