Re: [ros-users] URDF Textures

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
Delete this message
Reply to this message
Author: Josh Faust
Date:  
To: ros-users
Subject: Re: [ros-users] URDF Textures
For getting it from a package, package://pkg-name/texture.jpg

$(find pkg)... doesn't necessarily work because the client app (rviz for
example) may be running from a different tree.

The ideal is to have it grab it off an http server (hosted on the robot), so
that the client doesn't even need the same set of packages.

Josh

On Wed, Apr 7, 2010 at 10:53 AM, David Lu!! <> wrote:

> What is the best way to specify a filename for a URDF texture? Right now I
> have
> <material name="bx">
>       <texture filename="file:///path/to/pkg-name/texture.jpg" />
> </material>

>
> I tried filename="$(find pkg-name)/texture.jpg", but that didn't seem to
> work.
>
> -David!!
>
> _______________________________________________
> ros-users mailing list
>
> https://code.ros.org/mailman/listinfo/ros-users
>
>