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

Has anyone been successfull in using gazebo2rviz package?

asked 2015-10-20 09:53:55 -0600

Humberto Beltrao gravatar image

updated 2015-10-20 11:34:48 -0600

gvdhoorn gravatar image

When I try to compile it using catkin_make I get the following error:

Could not find a package configuration file provided by "pysdf" with any of   the following names:

Add the installation prefix of "pysdf" to CMAKE_PREFIX_PATH or set "pysdf_DIR" to a directory containing one of the above files. If "pysdf" provides a separate development package or SDK, be sure it has been installed
edit retag flag offensive close merge delete


I would suggest changing the title from using to building, because this is really a build issue.

gvdhoorn gravatar image gvdhoorn  ( 2015-10-20 13:06:57 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2015-10-20 11:40:26 -0600

gvdhoorn gravatar image

updated 2015-10-20 13:05:22 -0600

Have you run

rosdep update
rosdep install --from-paths /path/to/your/catkin_ws/src --ignore-src

to make sure you have all its dependencies installed?

Edit: looks like gazebo2rviz is declaring rospy and pysdf both as build_depend and run_depend in package.xml and CMakeLists.txt. That is not necessary for Python only packages (see the catkin documentation).

Quick fix: remove those lines (but leave the run_depend elements).

Nicer: report upstream and provide a Pull Request against andreasBihlmaier/gazebo2rviz.

edit flag offensive delete link more


Yes, I have checked it already and the error still remains

Humberto Beltrao gravatar image Humberto Beltrao  ( 2015-10-20 12:02:03 -0600 )edit

I have searched for pysdf and installed it through a git clone so I could solve the problem.

Thanks anyway!

Humberto Beltrao gravatar image Humberto Beltrao  ( 2015-10-20 14:02:22 -0600 )edit

Question Tools

1 follower


Asked: 2015-10-20 09:53:55 -0600

Seen: 729 times

Last updated: Oct 20 '15