Ask Your Question
0

Has anyone been successfull in using gazebo2rviz package?

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

Humberto Beltrao gravatar image

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

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:
     pysdfConfig.cmake
     pysdf-config.cmake

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

Comments

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

gvdhoorn gravatar imagegvdhoorn ( 2015-10-20 13:06:57 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

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

gvdhoorn gravatar image

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

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

Comments

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

Humberto Beltrao gravatar imageHumberto Beltrao ( 2015-10-20 12:02:03 -0500 )edit

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

Thanks anyway!

Humberto Beltrao gravatar imageHumberto Beltrao ( 2015-10-20 14:02:22 -0500 )edit

Your Answer

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

Add Answer

Question Tools

1 follower

Stats

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

Seen: 318 times

Last updated: Oct 20 '15