Robotics StackExchange | Archived questions

How to install urdfdom on ROS indigo?

I am following the tutorials about urdf on site this link http://wiki.ros.org/fr/urdf/Tutorials/Create%20your%20own%20urdf%20file. My ROS distro is indigo, and ubuntu distro trusty( 14.04). I created an urdf files, but i can't check it with check_urdf. I read somewhere that i need to install urdfdom before, then i downloaded urdfdom from this link https://github.com/ros/urdfdom. i placed it my catkinws/src. But when i compile the urdfdom package with catkinmakeisolated (because i can't compile with catkinmake), i find the following result in the terminal:

==> Processing plain cmake package: 'urdfdom' Makefile exists, skipping explicit cmake invocation... ==> make cmakecheckbuildsystem in '/home/pi/catkinws/buildisolated/urdfdom/devel' -- urdfdom version 1.0.0 CMake Error at CMakeLists.txt:38 (findpackage): Could not find a configuration file for package "urdfdom_headers" that is compatible with requested version "1.0".

The following configuration files were considered but not accepted:

/usr/share/urdfdom_headers/cmake/urdfdom_headers-config.cmake, version: unknown
/usr/share/urdfdom_headers/cmake/urdfdom_headers-config.cmake, version: unknown

-- Configuring incomplete, errors occurred! See also "/home/pi/catkinws/buildisolated/urdfdom/devel/CMakeFiles/CMakeOutput.log". make: *** [cmakecheckbuildsystem] Error 1 <== Failed to process package 'urdfdom': Command '['make', 'cmakecheckbuildsystem']' returned non-zero exit status 2

Reproduce this error by running: ==> cd /home/pi/catkinws/buildisolated/urdfdom && make cmakecheckbuild_system

Command failed, exiting.

Asked by Soul Goumey on 2017-05-07 08:11:49 UTC

Comments

You have not provided enough information for us to be able to help you. We need enough information to reproduce your problem to be able to help you. Please edit your question to include that information. See http://wiki.ros.org/Support fo question guidelines.

Asked by tfoote on 2017-05-07 23:13:09 UTC

thank you! I added some informations in my question

Asked by Soul Goumey on 2017-05-08 08:19:59 UTC

Answers

This may be an easier problem to fix if you install missing packages from apt-get. You could try sudo apt-get install liburdfdom-tools which should install check_urdf into /usr/bin.

Asked by jarvisschultz on 2017-05-08 10:28:52 UTC

Comments

thank you for your help. I found the solution;i just missed to go in the directory before running the command.

Asked by Soul Goumey on 2017-05-09 07:32:13 UTC