ros之package.xml文件

Posted chriscoder

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ros之package.xml文件相关的知识,希望对你有一定的参考价值。

ros之package.xml文件

  • ros功能包
<package>
  <name>foo_core</name>
  <version>1.2.4</version>
  <description>
    This package provides foo capability.
  </description>
  <maintainer email="[email protected]">Ivana Bildbotz</maintainer>
  <license>BSD</license>

  <buildtool_depend>catkin</buildtool_depend>

  <build_depend>message_generation</build_depend>
  <build_depend>roscpp</build_depend>
  <build_depend>std_msgs</build_depend>

  <run_depend>message_runtime</run_depend>
  <run_depend>roscpp</run_depend>
  <run_depend>std_msgs</run_depend>

  <test_depend>python-mock</test_depend>
</package>
  • ros元功能包
<package>
  <name>metapackages_name</name>
  <version>1.0.0</version>
  <description>this is a metapackages</description>
  <maintainer email="[email protected]">Ivana Bildbotz</maintainer>
  <license>BSD</license>
  
  <buildtool_depend>catkin</buildtool_depend>
  <run_depend>package_1</run_depend>
  <run_depend>package_2</run_depend>
  <run_depend>package_3</run_depend>
  
  <export><metapackage/></export></package>

参考

catkin/package.xml - ROS Wiki

以上是关于ros之package.xml文件的主要内容,如果未能解决你的问题,请参考以下文章

ROS学习之CMakelists.txt和package.xml

ROS学习之CMakelists.txt和package.xml

ROS学习之package.xml

创建ROS的Package(功能包)

ROS官网中级教程学习总结(1-6)

ROS官网中级教程学习总结(1-6)