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

What you put in your CMakeLists.txt depends on what you are doing in your package. If you are just writing a simple node you don't need to export CATKIN_DEPENDS and you don't need to depends on message_generation.

Whereas if you are creating messages like the first tutorial you do need to do those things so the the messages can be generated.

What you put in your CMakeLists.txt depends on what you are doing in your package. If you are just writing a simple node you don't need to export CATKIN_DEPENDS and you don't need to depends on message_generation.

There's a good summary of what CATKIN_DEPENDS is for in this question

Whereas if you are creating messages like the first tutorial you do need to do those things so the the messages can be generated.