GenericClient
Inherits from:ZenohClient
A generic Zenoh client that can handle arbitrary message types and processing functions.
This class inherits from ZenohClient and provides functionality for publishing and
processing generic messages with optional custom processing functions.
Attributes:
msg_type (str): The message type
fn (callable): Optional function for custom message processing
msg: The most recently published/received message
Inherited methods
- From
ZenohClient:getLatestMessage,msg_cb,run,publish,stop
init
- “msg_type”: The message type (e.g., “Bool”, “Twist”, “Pose”)
- “fn”: The function to process the message }
Arguments