abelmeadows / scoutrobot

We have successfully implemented the autonomous navigation of UAV with our custom python node using LiDAR ; 2D mapping with Hector SLAM and 3D mapping using Octomap algorithms in the ROS simulation environment. We also implemented an algorithm to manage the battery life of the UAV though which the UAV can use to return home when the battery-level drops down to a certain percentage.
51 stars 14 forks source link

No rule to make target in octomapserver #4

Open SelvamPraveen opened 3 years ago

SelvamPraveen commented 3 years ago

Hi, I cant able to build catkin_make in scoutrobot_ws, some issue in the CMakeLists.txt, Kindly help me to resolve the issue, Almost 92% has been builded, got error in octomapserver. Kindly, help

make[2]: No rule to make target '/home/praveen/scoutrobot_ws/src/scoutrobot/octomap_mapping/octomap_server/cfg/OctomapServer.cfg', needed by '/home/praveen/scoutrobot_ws/devel/include/octomap_server/OctomapServerConfig.h'. Stop. CMakeFiles/Makefile2:9982: recipe for target 'scoutrobot/octomap_mapping/octomap_server/CMakeFiles/octomap_server_gencfg.dir/all' failed make[1]: [scoutrobot/octomap_mapping/octomap_server/CMakeFiles/octomap_server_gencfg.dir/all] Error 2 Makefile:138: recipe for target 'all' failed make: *** [all] Error 2 Invoking "make -j1 -l1" failed

Thank you

sjh7 commented 2 years ago

So if you go to the octo mapping git repository and then octomap_server/cfg file: https://github.com/OctoMap/octomap_mapping/tree/kinetic-devel/octomap_server/cfg

You can just make a cfg in the octomap_server file in your workspace then add the OctomapServer.cfg file from the above repository