ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You don't need to find it. It is going to be created during compiling. To do that add the following line in your cmakelists
add_executable(add_two_ints_server src/add_two_ints_server.cpp)
target_link_libraries(add_two_ints_server ${catkin_LIBRARIES})
add_dependencies(add_two_ints_server beginner_tutorials_gencpp) // <= you need this line
from here.
Of course it is mandatory to create at first your srv file in the project folder as described here.
2 | No.2 Revision |
You don't need to find it. It is going to be created during compiling. To do that add the following line in your cmakelists
add_executable(add_two_ints_server src/add_two_ints_server.cpp)
target_link_libraries(add_two_ints_server ${catkin_LIBRARIES})
add_dependencies(add_two_ints_server beginner_tutorials_gencpp) // <= you need this line
from here.
Of course it is mandatory to create at first your srv file in the project folder as described here.
In the right order:
catkin_make
;3 | No.3 Revision |
You don't need to find it. It is going to be created during compiling. To do that add the following line in your cmakelists
add_executable(add_two_ints_server src/add_two_ints_server.cpp)
target_link_libraries(add_two_ints_server ${catkin_LIBRARIES})
add_dependencies(add_two_ints_server beginner_tutorials_gencpp) // <= you need this line
from here.
Of course it is mandatory to create at first your srv file in the project folder as described here.
In the right order:
catkin_make
;