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

Velodyne driver installation

asked 2015-07-09 08:11:07 -0600

Kostas07 gravatar image

updated 2015-07-12 12:01:45 -0600

joq gravatar image

I am trying to install the drivers for Velodyne 32E. I downloaded the folder from and then I am typing cmake ../ to build it.

I am getting an error:

--from catkin.environment_cache import generate_environment_script

--ImportError: No module named catkin.environment_cache

I have installed catkin_pkg using pip.

What should I do?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-07-09 14:30:10 -0600

joq gravatar image

updated 2015-07-12 12:09:31 -0600

That is not the way to build any ROS package, including the Velodyne driver.

ROS packages are built using catkin_make, or some similar tool. See the catkin documentation, many tutorials and API documents are listed there.

EDIT: start with the first three catkin tutorials:

That should teach you how build this or any other ROS package.

EDIT2: There are instructions for installing ROS on OSX, but I have only used Linux. OSX does not look easy, but some people do successfully use it.

Those instructions recommend homebrew rather than macports.

edit flag offensive delete link more


Thank you for your reply! I am really new with all these. I haven't use ROS before. I though that by installing catkin and catkin_pkg, I would be okay. Apparently I am not. Could you please help me by enumerating a few steps that I have to follow? My goal is to convert pcap files to pcd files.

Kostas07 gravatar image Kostas07  ( 2015-07-10 13:44:10 -0600 )edit

I forgot to mention that I am using a mac.

Kostas07 gravatar image Kostas07  ( 2015-07-10 13:45:38 -0600 )edit

Thank you again! I did as you said and I found a problem installing pcl_ros: $catkin_make -DCMAKE_BUILD_TYPE=Release ... Add the installation prefix of "Eigen3" to CMAKE_PREFIX_PATH.....

I have Eigen3 installed with macports. What should I do?

Kostas07 gravatar image Kostas07  ( 2015-07-11 21:36:35 -0600 )edit

Question Tools

1 follower


Asked: 2015-07-09 08:11:07 -0600

Seen: 1,409 times

Last updated: Jul 12 '15