Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 475

Bag created with rosbag api is not publishing

$
0
0
I am new to ROS. I am attempting to take pointcloud data that is in a format not compatible with ROS and convert it to a ROS bag using the C++ rosbag API. I am having an issue with the newly created bag not publishing data to the topic. For example, whenever I use the command "rostopic echo my_topic" while playing the bag with "rosbag play newConverted.bag" there is nothing printed to the console. If I open the newConverted.bag with rqt_bag, right click on a topic and select publish, the data is then published to the topic and I can see it in rviz and with the rosbag echo command as expected. I must be missing something in my bag conversion code that tells ROS to automatically publish the topic when playing. Thoughts?

Viewing all articles
Browse latest Browse all 475

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>