EchoSubscriber
- class compas_eve.EchoSubscriber[source]
Bases:
Subscriber
Simple subscriber that prints received messages on the console (ie. stdout).
- Parameters:
- topic
Topic
or str The topic to subscribe to. If a string is provided, a new topic instance will be created using the string as topic name.
- topic
Methods
Print received messages to the console.
Inherited Methods
Handler called whenever a new message is received.
Unregister the subscriber from its topic.