ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

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
0

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 https://github.com/AtsushiSakai/rosba... 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

Question Tools

1 follower

Stats

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

Seen: 168 times

Last updated: Sep 02 '20