当前位置: 首页 > news >正文

ROS2 Error: Could not find a package configuration file provided by “turtlebot3_msgs“

官网上安装方法是这样的,不知道是否是python版本原因,最新版本没有安装成功,

Installing ROS 2 on Windows — ROS 2 Documentation: Galactic documentation

所以我试了一下微软的办法,Windows上安装ROS2,如下,

ROS 2 Binary Installation - ROS on Windows

安装完后按下面的办法测试运行,

Navigation 2 on Windows using Turtlebot 3 - ROS on Windows

 指令如下,

mkdir D:\ros2prj\nav2_ws\src
pushd D:\ros2prj\nav2_ws

curl -o nav2.repos https://raw.githubusercontent.com/ms-iot/ROSOnWindows/master/docs/ros2/navigation2_foxy.repos
vcs import src < nav2.repos

colcon build

报错,

D:\ros2prj\nav2_ws>colcon build
[0.729s] root DEBUG Using proactor: IocpProactor
Starting >>> dynamixel_sdk
Starting >>> turtlebot3_description
Starting >>> dynamixel_sdk_custom_interfaces
Starting >>> turtlebot3_cartographer
Starting >>> turtlebot3_example
Starting >>> turtlebot3_fake_node
Starting >>> turtlebot3_navigation2
Starting >>> turtlebot3_teleop
Finished <<< turtlebot3_teleop [2.27s]
Finished <<< turtlebot3_example [2.44s]
Finished <<< turtlebot3_cartographer [10.4s]
Finished <<< turtlebot3_navigation2 [10.5s]
Finished <<< turtlebot3_description [11.1s]
Starting >>> turtlebot3_gazebo
--- stderr: turtlebot3_fake_node
CMake Error at CMakeLists.txt:25 (find_package):
  By not providing "Findturtlebot3_msgs.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "turtlebot3_msgs", but CMake did not find one.

  Could not find a package configuration file provided by "turtlebot3_msgs"
  with any of the following names:

    turtlebot3_msgsConfig.cmake
    turtlebot3_msgs-config.cmake

  Add the installation prefix of "turtlebot3_msgs" to CMAKE_PREFIX_PATH or
  set "turtlebot3_msgs_DIR" to a directory containing one of the above files.
  If "turtlebot3_msgs" provides a separate development package or SDK, be
  sure it has been installed.


---
Failed   <<< turtlebot3_fake_node [11.5s, exited with code 1]
Aborted  <<< dynamixel_sdk [11.8s]
Aborted  <<< turtlebot3_gazebo [13.3s]
Aborted  <<< dynamixel_sdk_custom_interfaces [24.9s]

Summary: 5 packages finished [25.2s]
  1 package failed: turtlebot3_fake_node
  3 packages aborted: dynamixel_sdk dynamixel_sdk_custom_interfaces turtlebot3_gazebo
  2 packages had stderr output: turtlebot3_fake_node turtlebot3_gazebo
  5 packages not processed

解决办法,

D:\ros2prj\nav2_ws\src>git clone -b galactic-devel https://github.com/ROBOTIS-

D:\ros2prj\nav2_ws\src>cd ..

D:\ros2prj\nav2_ws>colcon build

本文结束

相关文章:

  • ROS2 + colcon build 常见的一些报错
  • ROS2进阶:安装与初体验(附choco介绍)
  • ROS2进阶:colcon的初步使用--‘colcon‘ is not recognized
  • ROS2进阶:基本指令与RVIZ2介绍
  • Windows控制台cmd默认代码页修改的办法【GBK、UTF-8】
  • ROS2 ERROR: qt.qpa.plugin: Could not find the Qt platform plugin “windows“ in
  • ROS2 Warning: RosPluginProvider._parse_plugin_xml() plugin file rqt_gui_cpp/plugin.xml not found
  • ROS2进阶:turtlesim与rqt
  • TCP/UDP常见的端口号
  • ROS2进阶:基于cmake创建自己的开发包
  • ROS2进阶:如何查找特定的包(package)并列出包中所有节点(node)
  • ROS2进阶:VS2019调试ROS2-examples程序
  • Python Error: 系统找不到指定的文件。: ‘c:\\python38\\Scripts\\pep8.exe‘ -> ‘c:\\python38\\Scripts\\pep8.exe.del
  • Ubuntu中如何处理难缠的软件包升级
  • 3D进阶之OSG:从VS2019编译osgEarth开始
  • 【翻译】Mashape是如何管理15000个API和微服务的(三)
  • JS笔记四:作用域、变量(函数)提升
  • MySQL的数据类型
  • SAP云平台里Global Account和Sub Account的关系
  • Spring Cloud Alibaba迁移指南(一):一行代码从 Hystrix 迁移到 Sentinel
  • 纯 javascript 半自动式下滑一定高度,导航栏固定
  • 构建工具 - 收藏集 - 掘金
  • 设计模式 开闭原则
  • 我的业余项目总结
  • 线性表及其算法(java实现)
  • 用 Swift 编写面向协议的视图
  • FaaS 的简单实践
  • zabbix3.2监控linux磁盘IO
  • ​Spring Boot 分片上传文件
  • ###项目技术发展史
  • (javascript)再说document.body.scrollTop的使用问题
  • (阿里巴巴 dubbo,有数据库,可执行 )dubbo zookeeper spring demo
  • (差分)胡桃爱原石
  • (附源码)apringboot计算机专业大学生就业指南 毕业设计061355
  • (七)c52学习之旅-中断
  • (十六)一篇文章学会Java的常用API
  • (一)Neo4j下载安装以及初次使用
  • (转)EXC_BREAKPOINT僵尸错误
  • ... fatal error LINK1120:1个无法解析的外部命令 的解决办法
  • .[hudsonL@cock.li].mkp勒索病毒数据怎么处理|数据解密恢复
  • .md即markdown文件的基本常用编写语法
  • .NET / MSBuild 扩展编译时什么时候用 BeforeTargets / AfterTargets 什么时候用 DependsOnTargets?
  • .net 4.0发布后不能正常显示图片问题
  • .Net Core和.Net Standard直观理解
  • .net wcf memory gates checking failed
  • .NET 材料检测系统崩溃分析
  • .netcore 如何获取系统中所有session_如何把百度推广中获取的线索(基木鱼,电话,百度商桥等)同步到企业微信或者企业CRM等企业营销系统中...
  • 。Net下Windows服务程序开发疑惑
  • ??eclipse的安装配置问题!??
  • [ 手记 ] 关于tomcat开机启动设置问题
  • [.net]官方水晶报表的使用以演示下载
  • [20161214]如何确定dbid.txt
  • [20190401]关于semtimedop函数调用.txt
  • [8-23]知识梳理:文件系统、Bash基础特性、目录管理、文件管理、文本查看编辑处理...
  • [AAuto]给百宝箱增加娱乐功能