RosClient.on

RosClient.on(event_name, callback)[source]

Add a callback to an arbitrary named event.

Args:

event_name (str): Name of the event to which to subscribe. callback: Callable function to be executed when the event is triggered.