I am working through Ex 3.5, and am trying to create a service for which the response is a Point and a Quaternion. This means that the srv file is the one below.
I followed (what I believed to be) the necessary steps to support this service declaration, but am getting the following error when running catkin_make (after sourcing).
CMake Error at /home/user/catkin_ws/build/get_pose/cmake/get_pose-genmsg.cmake:3 (message):
** Could not find messages which**
** ‘/home/user/catkin_ws/src/get_pose/srv/get_pose.srv’ depends on. Did you**
** forget to specify generate_messages(DEPENDENCIES …)?**
** Cannot locate message [Point] in package [get_pose] with paths**
Call Stack (most recent call first):
I have introduced the following changes to cmake:
find_package(catkin REQUIRED COMPONENTS
Any idea what I am doing wrong ?