ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You have two options:
package.xml
:
<depend>roscpp</depend>
CMakeLists.txt
you are not building a library or executable, only messages. Therefore, you could remove roscpp
from your CMakeLists.txt
file. You could also remove the include_directories()
line from CMakeLists.txt
for now.If you were to add code into the repo_name_hw2
package, you would need to go with Option 1. If you are only going to have messages/services/actions defined in the repo_name_hw2
package you would probably want to go with Option 2.