Closed YznMur closed 1 year ago
Hi, Thanks for the code yet I could not build it successfully any ideas here?
[ 57%] Building CXX object onboard_detector/CMakeFiles/onboard_detector.dir/include/onboard_detector/kalmanFilter.cpp.o In file included from /home/trainer/catkin_ws/src/onboard_detector/include/onboard_detector/dynamicDetector.cpp:6:0: /home/trainer/catkin_ws/src/onboard_detector/include/onboard_detector/dynamicDetector.h:18:10: fatal error: vision_msgs/Detection2DArray.h: No such file or directory #include <vision_msgs/Detection2DArray.h> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. onboard_detector/CMakeFiles/onboard_detector.dir/build.make:75: recipe for target 'onboard_detector/CMakeFiles/onboard_detector.dir/include/onboard_detector/dynamicDetector.cpp.o' failed make[2]: *** [onboard_detector/CMakeFiles/onboard_detector.dir/include/onboard_detector/dynamicDetector.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... CMakeFiles/Makefile2:1064: recipe for target 'onboard_detector/CMakeFiles/onboard_detector.dir/all' failed make[1]: *** [onboard_detector/CMakeFiles/onboard_detector.dir/all] Error 2 Makefile:145: recipe for target 'all' failed make: *** [all] Error 2 Invoking "make -j8 -l8" failed
Hi, thanks for the info. That just means you have to install the ROS vision_msgs pkg. You can simply do this by
sudo apt install ros-noetic-vision-msgs
Hi, Thanks for the code yet I could not build it successfully any ideas here?