【记录ROS学习(五)2022/08/27】Win版ROS/Noetic 如何添加必要的依赖(rosdep)

【记录ROS学习(五)2022/08/27】Win版ROS/Noetic 如何添加必要的依赖(rosdep)

近期为了使得更多的设备可以连入ROS,开始转向Windows平台的ROS,遇到一些问题

  1. 无法编译问题,如何解决,参考CSDN:离歌漠,的文章,下载Ninja到系统变量中
  2. 编译出现依赖项无法下载的问题,将在下述文章中详细阐述

编译出现依赖项无法下载的问题

我们在使用ROS编译的过程中可能会出现这样的问题

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

【记录ROS学习(五)2022/08/27】Win版ROS/Noetic 如何添加必要的依赖(rosdep)_第1张图片
在Ubuntu上可以很简单的解决这种依赖找不到的问题,参考CSDN:冰激凌啊,

sudo apt-get install ros-melodic-ur-client-library

但是在windows上我们只能用git 或者 chocolate,因此我到处找教程发现可以自行下载git包后用rosdep进行导入,参考GitHub:gavanderhoorn/industrial_robot_status_controller
【记录ROS学习(五)2022/08/27】Win版ROS/Noetic 如何添加必要的依赖(rosdep)_第2张图片

> git -C catkin_ws/src clone https://github.com/gavanderhoorn/industrial_robot_status_controller.git
> #如果不行就直接下载解压到src
> rosdep update
> rosdep install --from-paths src -i
> cd catkin_ws

这样子Windows下的rosdep问题就可以解决了

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