rosbridge无法加载软件包的清单

时间:2018-10-04 17:56:38

标签: manifest ros

我正在使用罗斯布里奇。我当前的ros_distro是melodic。我无法使用error : Unable to load the manifest for package <pkg_name>订阅自定义消息。我sourced在另一个终端. ./devel/setup.bash中使用了bash文件,并使用了rospack find <pkg_name>,但这也产生了一个错误:找不到软件包。

这很奇怪,因为我可以在ROS中发布和订阅相同的主题。

我的目录结构如下:

overlay_ws
  build
  devel
  src
    CMakeLists.txt
    ros_tutorials
      CMakeLists.txt
      package.xml
      msg
        msg1
        msg2
        msg3
      scripts
        talker.py

这里是package.xml

<?xml version="1.0"?>
<package format="2">
  <name>ros_tutorials</name>
  <version>0.0.0</version>
  <description>The demo package</description>

  <!-- One maintainer tag required, multiple allowed, one person per tag -->
  <!-- Example:  -->
  <!-- <maintainer email="jane.doe@example.com">Jane Doe</maintainer> -->
  <maintainer email="vishal@todo.todo">vishal</maintainer>


  <!-- One license tag required, multiple allowed, one license per tag -->
  <!-- Commonly used license strings: -->
  <!--   BSD, MIT, Boost Software License, GPLv2, GPLv3, LGPLv2.1, LGPLv3 -->
  <license>TODO</license>


  <buildtool_depend>catkin</buildtool_depend>
  <build_depend>roscpp</build_depend>
  <build_depend>rospy</build_depend>
  <build_depend>std_msgs</build_depend>
  <build_depend>message_generation</build_depend>
  <build_export_depend>roscpp</build_export_depend>
  <build_export_depend>rospy</build_export_depend>
  <build_export_depend>std_msgs</build_export_depend>
  <exec_depend>roscpp</exec_depend>
  <exec_depend>rospy</exec_depend>
  <exec_depend>std_msgs</exec_depend>
  <exec_depend>message_runtime</exec_depend>



  <!-- The export tag contains other, unspecified, tags -->
  <export>
    <!-- Other tools can request additional information be placed here -->

  </export>
</package>

0 个答案:

没有答案