Debugging urdf parsing problems in gazebo_ros

asked 2015-04-28 06:46:02 -0600

Mehdi. gravatar image

I am trying to create a gazebo model for a robot. Using a collection of xacro files I generate a urdf and then spawn a robot using gazebo_ros, all in a launch file. Unfortunately this doesn't work and the only hint I get is:

Error [parser_urdf.cc:2768] Unable to call parseURDF on robot model

Is there a way to debug such errors and know exactly which line on my urdf is causing the problem without digging into parser_urdf.cc ?

I am using Gazebo 4.1.2 with ROS Indigo on Ubuntu 14.04

edit retag flag offensive close merge delete

Comments

Have you tried parsing your URDF with other tools?

DLu gravatar image DLu  ( 2015-04-28 07:44:20 -0600 )edit

The urdf works fine when using the real robot and I can see all joints in RvIz.

Mehdi. gravatar image Mehdi.  ( 2015-04-28 08:17:54 -0600 )edit