Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

checking for published rostopic with data, without using terminal commands.

I am beginner novice working on a robotics project, I have written a series of rostopic list that publishes the data on the topic. But when I try launching many launch files, I wasn't able check for only the published topic, unless using the command 

     rostopic echo /topic_name 

to check if its publishing for the proper communication between the various channels. Is there a way to check for all publshing topic with data in the rostopic list and return some error messages if that particular topic is not publishing without entering the manual commands in terminal?.
click to hide/show revision 2
None

checking for published rostopic with data, without using terminal commands.

I am beginner novice working on a robotics project, I have written a series of rostopic list that publishes the data on the topic. But when I try launching many launch files, I wasn't able check for only the published topic, unless using the command

 rostopic echo /topic_name /topic_name

to check if its publishing for the proper communication between the various channels. Is there a way to check for all publshing topic with data in the rostopic list and return some error messages if that particular topic is not publishing without entering the manual commands in terminal?.

terminal?.