Ask Your Question

Does exists any way to store topics data to an XML file?

asked 2020-09-02 07:58:23 -0500

Anduril gravatar image

The data I'm trying to store in XML file is related about active topics, like:

  • Active topics name
  • HZ of tags
  • Type of topic (Subscriber or Publisher)

Something like that.

Does exists any way to store this kind of data to an XML file?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-09-02 14:15:58 -0500

You could in concept record a rosbag (which will contain all that information) and then use the rosbag API to convert those messages into XML fairly easily with any XML library. Examples for CSVs can be found here so it shouldn't be too much effort, if XML is really what you need, to modify the CSV library elements to XML ones.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2020-09-02 07:58:23 -0500

Seen: 102 times

Last updated: Sep 02 '20