ros2 bag play 报错 “Could not load/open plugin with storage id ‘sqlite3‘.”

在执行ros2 bag play时遇到'Could not load/open plugin with storage id 'sqlite3''的问题。解决方法包括检查未构建的依赖项,如rosbag2_test_common, sqlite3_vendor, rosbag2_storage和rosbag2_storage_default_plugins,确保它们已构建或通过忽略不需要的包、使用COLCON.IGNORE文件或指定路径来避免考虑工作区中的依赖项。" 79170125,7378066,使用Golang构建RESTful API,"['golang', 'RESTful API', 'web开发', '路由']
摘要由CSDN通过智能技术生成

ros2 bag play 报错 “Could not load/open plugin with storage id 'sqlite3'.”

报错结果

在运行 ros2 bag play 时会遇到以下问题:

[ERROR] [rosbag2_storage]: Could not load/open plugin with storage id 'sqlite3'.
[ERROR] [rosbag2_transport]: Failed to play: No storage could be initialized. Abort

修改方式

You are trying to only select a single package for building from the workspace without having built its dependencies. Since these dependencies are present in the workspace colcon assumes that you intended to use them. Hence the error message:

Check that the following packages have been built:

  • rosbag2_test_common
  • sqlite3_vendor
  • rosbag2_storage
  • rosbag2_storage_default_plugins
    If you want to use the installed dependencies and not want to consider the dependencies which exist in the workspace you have the following options:

remove the undesired dependencies from the workspace
–packages-ignore(-regex)

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值