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

Error : The package node must contain at least one "license" tag

asked 2019-11-15 10:17:04 -0500

vatsal gravatar image

I am getting the error: "The package node must contain at least one "license" tag"

The package.xml code is

<?xml version="1.0"?>
<package>
  <name>mpu9250_9dof_imu</name>
  <version>0.0.1</version>
  <description>The mpu9250 9dof imu package for ROS</description>

  <!-- One maintainer tag required, multiple allowed, one person per tag -->
  <maintainer email="jusgomen@gmail.com">Juan Gonzalez</maintainer>

  <!-- The *_depend tags are used to specify dependencies -->
  <!-- Dependencies can be catkin packages or system dependencies -->
  <!-- Examples: -->
  <!-- Use build_depend for packages you need at compile time: -->
  <!--   <build_depend>message_generation</build_depend> -->
  <!-- Use buildtool_depend for build tool packages: -->
  <!--   <buildtool_depend>catkin</buildtool_depend> -->
  <!-- Use run_depend for packages you need at runtime: -->
  <!--   <run_depend>message_runtime</run_depend> -->
  <!-- Use test_depend for packages you need only for testing: -->
  <!--   <test_depend>gtest</test_depend> -->
  <buildtool_depend>catkin</buildtool_depend>
  <build_depend>roscpp</build_depend>
  <build_depend>sensor_msgs</build_depend>
  <build_depend>message_generation</build_depend>
  <run_depend>roscpp</run_depend>
  <run_depend>sensor_msgs</run_depend>
  <run_depend>message_runtime</run_depend>


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

  </export>
</package>
edit retag flag offensive close merge delete

Comments

Have you tried running a diff between your launch file and a known good launch file? That might help you figure out the line you are missing. It sounds like you are missing some boiler plate.

kscottz gravatar image kscottz  ( 2019-11-15 11:20:02 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-11-15 12:22:14 -0500

You need something like:

<license>BSD</license>

in your package.xml.

Read more here:

edit flag offensive delete link more

Question Tools

Stats

Asked: 2019-11-15 10:17:04 -0500

Seen: 2,080 times

Last updated: Nov 15 '19