Re: [ros-users] <color> attribute in world files

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
Delete this message
Reply to this message
Author: User discussions
Date:  
To: User discussions
Subject: Re: [ros-users] <color> attribute in world files
Hi Patrick,

the materials for gazebo comes from [gazebo media
path<http://www.ros.org/wiki/simulator_gazebo/GazeboConfiguration#C-Turtle-1>]/Media/materials/scripts/*.material
files. For example, Gazebo/Blue in the example you mentioned is provided by

gazebo/gazebo/share/gazebo/Media/materials/scripts/Gazebo.material

where the gazebo package exports the corresponding gazebo_media_path

    <gazebo gazebo_media_path="${prefix}/gazebo/share/gazebo" />


in its manifest.xml.

John

On Thu, Oct 14, 2010 at 11:52 AM, Patrick Doyle <> wrote:

> When I attempt to set the color of an object, it doesn't seem to
> change. Is this expected/known behavior? If not, can somebody direct
> me at the correct syntax for setting the color of an object?
>
> I have found that I can set the color to blue as shown in
>
> http://www.ros.org/wiki/simulator_gazebo/Tutorials/SpawningObjectInSimulation
> by using a <material> element inside a <gazebo> element. What colors
> beside blue are available? Where would I find those?
>
> --wpd
> _______________________________________________
> ros-users mailing list
>
> https://code.ros.org/mailman/listinfo/ros-users
>