ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

[ROS2]missing <buildtool_depend>ament_python</buildtool_depend> in package.xml

asked 2020-08-05 03:19:23 -0500

sylvia20 gravatar image

I followed the tutorial:Creating your first ROS 2 package
I entered the following command in my terminal:

ros2 pkg create --build-type ament_python test_pkg_py

I opened package.xmlthat ros2 pkg create automatically generated:

<?xml version="1.0"?>
<?xml-model href="" schematypens=""?>
<package format="3">
  <description>TODO: Package description</description>
  <maintainer email="sylvia@todo.todo">sylvia</maintainer>
  <license>TODO: License declaration</license>



The content is different from tutorial:Creating your first ROS 2 package
My package.xml misses the following command:


Did I miss any dependecies? ROS environment: Foxy OS: Ubuntu20.04

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-08-21 03:22:27 -0500

ipa-jba gravatar image

No. According to you are fine. (Actually rosdep install ... fails if you would have the <buildtool_depend> specified

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2020-08-05 03:19:23 -0500

Seen: 665 times

Last updated: Aug 21 '20