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

Revision history [back]

click to hide/show revision 1
initial version

What does the generated URDF look like?

Does the <gazebo reference="x"> match the <link name="y"> ?

What does the generated URDF look like?

Does the <gazebo reference="x"> match the <link name="y"> ?

Disclaimer: I'm a beginner myself.

Try adding:

<gazebo reference="PinkCube">
    <material>Gazebo/Blue</material>
</gazebo>

between the </link> and </robot> tags.

What does the generated URDF look like?

Does the <gazebo reference="x"> match the <link name="y"> ?

Disclaimer: I'm a beginner myself.

Try adding:

<gazebo reference="PinkCube">
    <material>Gazebo/Blue</material>
</gazebo>

between the </link> and </robot> tags.tags. That should make it blue. If so, we're on the right track. From there you can play around with the different materials available. In Fuerte, they're listed in here: /opt/ros/fuerte/stacks/simulator_gazebo/gazebo/gazebo/share/gazebo-1.0.2/Media/materials/scripts/Gazebo.material for Groovy, I think the G in "Gazebo.material" is lower case.

What does the generated URDF look like?

Does the <gazebo reference="x"> match the <link name="y"> ?

Disclaimer: I'm a beginner myself.

Try adding:

<gazebo reference="PinkCube">
    <material>Gazebo/Blue</material>
</gazebo>

between the </link> and </robot> tags. That should make it blue. If so, we're on the right track. From there you can play around with the different materials available. In Fuerte, they're listed in here: /opt/ros/fuerte/stacks/simulator_gazebo/gazebo/gazebo/share/gazebo-1.0.2/Media/materials/scripts/Gazebo.material for Groovy, I think the G in "Gazebo.material" is lower case.