ROS:*.bag.active恢复

①切换到xxx.bag.active文件所在的目录下;
②命令行输入

rosbag reindex xxx.bag.active


③输入

rosbag fix xxx.bag.active result.bag

问题

Bag could not be migrated.  The following migrations could not be performed:
 * From: livox_ros_driver2/CustomMsg [e4d6829bdfe657cb6c21a746c86b21a6]
   To:   Unknown
    1 rules missing:
     * From: livox_ros_driver2/CustomMsg [e4d6829bdfe657cb6c21a746c86b21a6]
       To:   Unknown
Try running 'rosbag check' to create the necessary rule files or run 'rosbag fix' with the '--force' option.

修改第三步为

rosbag fix map_.bag.active resultt.bag --force


 

你可能感兴趣的:(ROS,ubuntu)