Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Cannot build my package due to ros/Joy.h not being found

Seems like a pretty simple error to get past, but catkin_make cannot seem to find ros/Joy.h.

/home/sharan/catkin_ws/src/zlab_drone/src/fly_from_joy.cpp:4:21: fatal error: ros/Joy.h: No such file or directory. compilation terminated.

I have already included joy into my CMakeLists.txt. Not sure what else to do:

find_package(catkin REQUIRED COMPONENTS
  ardrone_autonomy
  cv_bridge
  image_transport
  roscpp
  rospy
  sensor_msgs
  std_msgs
  joy
)