Problem with Action msg
Hello, I wrote my own Action msg for ROS. This is the msg :
#goal
string start_phrase
---
#result
point coordinates
---
#feedback
duration time_elapsed
This is my changes in Cmake :
find_package(catkin REQUIRED
COMPONENTS actionlib_msgs
geometry_msgs rospy std_msgs
message_generation ) add_action_files(
DIRECTORY action FILES
camera.action
)
## Generate added messages and services with any dependencies listed
here generate_messages(
DEPENDENCIES geometry_msgs
actionlib_msgs std_msgs )
catkin_package(
# INCLUDE_DIRS include
# LIBRARIES camera_action CATKIN_DEPENDS geometry_msgs rospy
actionlib_msgs
# DEPENDS system_lib )
This is my Package :
<buildtool_depend>catkin</buildtool_depend>
<build_depend>geometry_msgs</build_depend>
<build_depend>rospy</build_depend>
<build_export_depend>geometry_msgs</build_export_depend>
<build_export_depend>rospy</build_export_depend>
<exec_depend>geometry_msgs</exec_depend>
<exec_depend>rospy</exec_depend>
<build_depend>message_generation</build_depend>
<exec_depend>message_runtime</exec_depend>
When I try to catkin_make my src i get this error :
Could not find messages which
'/home/michael/catkin_ws/devel/share/camera_action/msg/cameraAction.msg' depends on. Did you forget to specify generate_messages(DEPENDENCIES ...)?Cannot locate message [point] in package [camera_action] with paths
[['/home/michael/catkin_ws/devel/share/camera_action/msg']] Call Stack (most recent call first):
/opt/ros/kinetic/share/genmsg/cmake/genmsg-extras.cmake:307 (include)
camera_action/CMakeLists.txt:73 (generate_messages)
I see that there is a problem with point. Does someone have any idea ?