【ROS-指令汇总】如何查看bag中的话题的及其名称 1、使用cartographer自带的功能2、自己编写代码,这里如果有人想用留言,没有其他方法我再放上来把,还得写一下 1、使用cartographer自带的功能 前提条件: 成功安装cartographer,并且编译成功,这是cartographer自带的功能,很方便 rosrun cartographer_ros cartographer_rosbag_validate -bag_filename your_bag.bag your_bag.bag这里要给bag包的绝对路径 2、自己编写代码,这里如果有人想用留言,没有其他方法我再放上来把,还得写一下