Package for Generically Listening to Topics
Is there a way to get a list of topics while running a node. For example, if a new message is published, is there a way to programmatically get the topic name posted (equivalent to running rostopic list in a terminal).