ros / xacro

Xacro is an XML macro language. With xacro, you can construct shorter and more readable XML files by using macros that expand to larger XML expressions.

Home Page:http://www.ros.org/wiki/xacro

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

resource not found error

smileyenot983 opened this issue · comments

After recent commits i have an error with the process of converting xacro to urdf

After i run this:
rosrun xacro xacro robot.xacro DEBUG:=True SIMPLE_COLLISION:=True > robot_generated.urdf
I get an error with following output:
resource not found: a1_gazebo
ROS path [0]=/opt/ros/melodic/share/ros
ROS path [1]=/home/ramil/catkin_ws/src
ROS path [2]=/opt/ros/melodic/share
when processing file: robot.xacro

You are looking for a package name a1_gazebo. Check your files for $(find a1_gazebo)!
If you find this in some comments, you migth run into #311.

The thing is that we have 2 same repos on different PCs(one with the newest ROS and one with ROS installed earlier without recent updates), on PCs with newest ROS we got this problem, but everything works well on PCs with ROS without recent updates

As said before, you might run into #311. Please provide your ROS distro version as well as your xacro version for more help.

I have tried to find the place in xacro where it searches for a1_gazebo, i was commented, after deleting this comment everything works well.

ros version is:

  • /rosdistro: melodic
  • /rosversion: 1.14.12

don't know how to check xacro version

I have cut a new release for Melodic recently, which is not yet synced. Consider using the debian packages from the ROS testing repo or build from source.

Thanks, will wait for ros updates