Open zuoligang1997 opened 4 years ago
Following this answer it would seems that the PoseArray needed the package geometry_msgs, which was not in the CMakeLists file.
To fix it, modify the CMakeLists.txt file in DenseFusion_ROS to have
find_package(catkin REQUIRED COMPONENTS
rospy
std_msgs
message_generation
geometry_msgs
)
...
generate_messages(
DEPENDENCIES
std_msgs
geometry_msgs
)
catkin_make will not throw an error from a clean build now.
I have a problem when compiling, don’t know how to solve it? `Could not find messages which '/home/hello/catkin_lll/src/densefusion/srv/CameraRequests.srv' depends on. Did you forget to specify generate_messages(DEPENDENCIES ...)?
Cannot locate message [PoseArray]: unknown package [geometry_msgs] on search path [{{'std_msgs': ['/opt/ros/kinetic/share/std_msgs/cmake/../msg']}}] ` I have this problem on both computers.