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

cannot add erratic urdf in gazebo

asked 2013-07-25 00:14:47 -0600

Javier J. Salmerón García gravatar image

updated 2013-11-18 19:32:57 -0600

tfoote gravatar image

Hello everyone,

I am using gazebo 1.9 with ROS Groovy. I want to add an erratic robot in the willowgarage world. In order to do so I have the follwing launch file:

<launch>

  <!-- We resume the logic in empty_world.launch, changing only the name of the world to be launched -->
  <include file="$(find gazebo_ros)/launch/empty_world.launch">
    <arg name="world_name" value="worlds/willowgarage.world"/> <!-- Note: the world_name is with respect to GAZEBO_RESOURCE_PATH environmental variable -->
    <arg name="paused" value="false"/>
    <arg name="use_sim_time" value="true"/>
    <arg name="gui" value="true"/>
    <arg name="headless" value="false"/>
    <arg name="debug" value="false"/>
  </include>

<param name="robot_description" command="$(find xacro)/xacro.py $(find erratic_description)/urdf/erratic.urdf.xacro" />

<node name="spawn_urdf" pkg="gazebo_ros" type="spawn_model" args="-param robot_description -urdf -model erratic" />

</launch>

This example file worked perfectly with pr2, but when I launch it I get the following error:

[rospack] Error: stack/package smart_arm_description not found
[librospack]: error while executing command
[FATAL] [1374747130.949047781]: Package[smart_arm_description] does not have a path
[spawn_urdf-4] process has finished cleanly

I cannot find this smart_arm_description package, can someone help me?

Thank you in advance

edit retag flag offensive close merge delete

Comments

did you find any solution? i am also facing the same issue.

Zee-Q gravatar image Zee-Q  ( 2013-07-29 15:52:32 -0600 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2013-07-29 19:22:46 -0600

Zee-Q gravatar image

updated 2013-07-30 08:30:29 -0600

Hi, This issue is resolved by removing following lines from materials.urdf.xacro file located in erratic_description/urdf.

<material name="GunMetalBrushedAluminum">
    <texture filename="package://smart_arm_description/Media/materials/textures/gun_metal_brushed_aluminum.jpg" />
</material>

However, The erratic robot still doesn't get spawned in gazebo. Everything goes alright just like PR2 tutorial but not sure whats the problem. I asked this question on gazebo community here you can follow it.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2013-07-25 00:14:47 -0600

Seen: 866 times

Last updated: Jul 30 '13