报错内容:
nvidia@oceanstar:~/yolov8_ros2-Tensorrt$ ros2 bag play
rosbag2_2024_04_24-13_55_03_0.db3 /opt/ros/foxy/bin/ros2:6:
DeprecationWarning: pkg_resources is deprecated as an API. See
https://setuptools.pypa.io/en/latest/pkg_resources.html from
pkg_resources import load_entry_point [ERROR] [1716963649.066362977]
[rosbag2_storage]: Could not open ‘rosbag2_2024_04_24-13_55_03_0.db3’
with ‘sqlite3’. Error: Failed to setup storage. Error: Error when
processing SQL statement. SQLite error (10): disk I/O error [ERROR]
[1716963649.066723046] [rosbag2_storage]: Could not load/open plugin
with storage id ‘sqlite3’. [ERROR] [1716963649.066848071]
[rosbag2_transport]: Failed to play: No storage could be initialized.
搜集了解决方案有安装sql3,有说版本录制db3和播放db3的版本不统一,都不对
我这边的问题是文件传输受损,导致replay失败,解决办法是压缩后传过去,再解压。