ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Problem building octomap_mapping [closed]

asked 2015-08-12 13:30:56 -0600

psprox96 gravatar image

Hi all! i got these errors during catkin_make:

In file included from /home/gordon/catkin_ws/src/octomap_mapping/octomap_server/include/octomap_server/TrackingOctomapServer.h:33:0,
                 from /home/gordon/catkin_ws/src/octomap_mapping/octomap_server/src/TrackingOctomapServer.cpp:30:
/home/gordon/catkin_ws/src/octomap_mapping/octomap_server/include/octomap_server/OctomapServer.h:46:29: fatal error: pcl/conversions.h: No such file or directory
 #include <pcl/conversions.h>
                             ^
compilation terminated.
In file included from /home/gordon/catkin_ws/src/octomap_mapping/octomap_server/include/octomap_server/OctomapServerMultilayer.h:32:0,
                 from /home/gordon/catkin_ws/src/octomap_mapping/octomap_server/src/OctomapServerMultilayer.cpp:30:
/home/gordon/catkin_ws/src/octomap_mapping/octomap_server/include/octomap_server/OctomapServer.h:46:29: fatal error: pcl/conversions.h: No such file or directory
 #include <pcl/conversions.h>
                             ^
compilation terminated.
In file included from /home/gordon/catkin_ws/src/octomap_mapping/octomap_server/src/OctomapServer.cpp:30:0:
/home/gordon/catkin_ws/src/octomap_mapping/octomap_server/include/octomap_server/OctomapServer.h:46:29: fatal error: pcl/conversions.h: No such file or directory
 #include <pcl/conversions.h>
                             ^
compilation terminated.

I already checked the CMakeLists.txt with: https://github.com/sdmiller/pcl/commi...

Now I not sure where went wrong.

Thanks for any help!

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by psprox96
close date 2015-08-15 05:39:30.697013

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-08-15 05:38:58 -0600

psprox96 gravatar image

Hi guys! I solved the problem.

If anybody of you encounter this problem on Groovy (I can't confirm for other version, although you can try), you don't have to catkin_make octomap_mapping package.

Follow the 1.1 Installation @ http://wiki.ros.org/octomap_mapping

sudo apt-get install ros-groovy-octomap ros-groovy-octomap-mapping

Make sure your environment setup is correct as stated in tutorial.

And run

rosdep install octomap_mapping
rosmake octomap_mapping

With that, octomap and its dependencies are installed.

To navigate and run, just

roscd octomap_server

and

ls

The launch/src folders are all there.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-08-12 13:30:56 -0600

Seen: 1,573 times

Last updated: Aug 15 '15