/kb/events/*#

Caution

This documentation page has been auto-generated.

It may be missing some details.

/kb/events/* Quick Facts

Category

Knowledge and reasoning

Direction

➡️ you normally subscribe to this topic.

Event notifications for previously subscribed events. See /kb/events.

Quick snippets#

Check the publication rate#
$ rostopic hz /kb/events/*
Display the data published on the topic#
$ rostopic echo /kb/events/*

How to use in your code#

Subscribe to the topic using Python#
 1import rospy
 2from .msg import
 3
 4def on_data(msg):
 5    print(msg)
 6
 7if __name__ == "__main__":
 8
 9    rospy.init_node("subscriber")
10    rospy.Subscriber("/kb/events/*", , on_data)
11    rospy.spin()