Hello guys,
I'm trying to get all the information of a particular message from a python script.
I'm using rospy.get_published_topics() to get the list of all the topics available, then, I select one of them and I want to be able to see all the information of this message (just like a rosmsg show in fact) from my python script.
Do you have clue on how to proceed, I tried to find the appropriate function in rospy but couldn't manage to get it.
Thank you so much in advance
Originally posted by benboy on ROS Answers with karma: 1 on 2019-03-25
Post score: 0
Original comments
Comment by mgruhler on 2019-03-25:
You do mean rostopic info
, not rosmsg info
, as was the original title, correct?
I adapted the title to reflect this (as rosmsg
actually has no info
verb). if this is incorrect, please revert it...
Comment by mgruhler on 2019-03-25:
or do you mean to do a rosmsg show
? The longer I look at you question the more I'm confused about those two possibilities :-)
Comment by benboy on 2019-03-25:
I meant rosmsg show, thank you for trying to clarify the thing