RosClient.on
- RosClient.on(event_name, callback)
Add a callback to an arbitrary named event.
- Parameters
event_name (
str
) – Name of the event to which to subscribe.callback – Callable function to be executed when the event is triggered.
Add a callback to an arbitrary named event.
event_name (str
) – Name of the event to which to subscribe.
callback – Callable function to be executed when the event is triggered.