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

Revision history [back]

click to hide/show revision 1
initial version

It appears that you copied the content of the pendulum_msgs package into the demos/demo_nodes_msgs folder, but you didn't modify the package name.

In ROS (1 or 2), packages should be unique.

To do so the name in the package.xml as well as the project name in the CMakeLists.txt need to be modified to use a new unique package name after being copied.

HTH,

It appears that you copied the content of the pendulum_msgs package into the demos/demo_nodes_msgs folder, but you didn't modify the package name.

In ROS (1 or 2), packages should be unique.

To do so the name in the package.xml as well as the project name in the CMakeLists.txt need to be modified to use a new unique package name after being copied.

HTH,

PS: please use the code formatting icon (the 101010 icon) to format code and error messages in the future for readability