ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

how to install velodyne_msgs for python

asked 2017-04-15 18:47:44 -0600

westofpluto gravatar image

I need to read velodyne_msgs in python. When I import velodyne_msgs it says that the package is not found, so I must install it.

I am running on an Ubuntu 14.04 machine with ROS Indigo installed.

I tried this to install velodyne_msgs:

roslocate info --distro=indigo velodyne_msgs > /tmp/velodyne_msgs.rosinstall
rosinstall ~/self-driving-car/catkin_ws/ /tmp/velodyne_msgs.rosinstall

Here ~/self-driving-car/catkin_ws/ is the one and only catkin workspace on my machine.

When I ran the above commands, it gave me a rosinstall error:

rosinstall operating on /home/ubuntu/self-driving-car/catkin_ws from specifications in rosinstall files  /tmp/velodyne_msgs.rosinstall
(Over-)Writing /home/ubuntu/self-driving-car/catkin_ws/.rosinstall
[common_msgs] Updating /home/ubuntu/self-driving-car/catkin_ws/common_msgs
[common_msgs] Done.
[velodyne_msgs] Fetching (version master) to /home/ubuntu/self-driving-car/catkin_ws/velodyne_msgs
Cloning into '/home/ubuntu/self-driving-car/catkin_ws/velodyne_msgs'...
remote: Counting objects: 2983, done.
remote: Total 2983 (delta 0), reused 0 (delta 0), pack-reused 2983
Receiving objects: 100% (2983/2983), 581.33 KiB | 0 bytes/s, done.
Resolving deltas: 100% (1664/1664), done.
Checking connectivity... done.
[velodyne_msgs] Done.
(Over-)Writing, setup.bash, and setup.zsh in /home/ubuntu/self-driving-car/catkin_ws
ERROR in rosinstall: 
No 'ros' stack detected in candidates [].
Please add the location of a ros distribution to this command.

How do I fix this?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-04-16 14:04:35 -0600

westofpluto gravatar image

Ok looks like I can just use "sudo apt-get install velodyne"

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2017-04-15 18:47:44 -0600

Seen: 733 times

Last updated: Apr 15 '17