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

how to install sound_play

asked 2017-05-03 03:25:42 -0500

Veera Ragav gravatar image

Im using ros indigo. i tried this command "rosdep install sound_play". It says,

ERROR: Rosdep cannot find all required resources to answer your query
Missing resource sound_play
ROS path [0]=/opt/ros/indigo/share/ros
ROS path [1]=/opt/ros/indigo/share
ROS path [2]=/opt/ros/indigo/stacks

Im new to linux.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-05-03 10:18:53 -0500

The command that you are trying to run installs dependencies of the sound_play package. To figure out what those dependencies are, your system needs to be able to find the package.xml for the sound_play package. So you need to have that package on your machine somewhere. You should be able to type sudo apt-get install ros-indigo-sound-play to install the package from apt-get. Then the above command should work.

Alternatively, you could have a copy of the source code for the sound_play package in a workspace, and have sourced the setup.bash file for that workspace. Then rosdep would use the package.xml located in your workspace instead of the one in /opt/ros/indigo/share.

Note there are many other questions with this same issue on answers.ros.org , these would have been a good place to start. E.g.:

edit flag offensive delete link more

Comments

That worked forme . Thank you.

Veera Ragav gravatar image Veera Ragav  ( 2017-05-03 10:23:55 -0500 )edit

thanks, fixed for me by: sudo apt-get install ros-indigo-sound-play

Redhwan gravatar image Redhwan  ( 2019-01-31 21:30:01 -0500 )edit

also worked for me. sudo apt-get install ros-melodic-sound-play Thank you!

S.Olatunji gravatar image S.Olatunji  ( 2019-08-23 01:51:57 -0500 )edit

Question Tools

Stats

Asked: 2017-05-03 03:25:42 -0500

Seen: 3,703 times

Last updated: May 03 '17