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

You should specify ALL of your dependencies in the package.xml, since this is used to determine which packages are needed to build and run your package.

Since the CMakeLists.txt is used to build your messages and C++ code, you only need to specify your message and C++ dependencies in your CMakeLists.txt.

If you're writing python code, you should also write a setup.py where you specify your python package name and python dependencies.