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!! <davidvlu@gmail.com> 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
ros-users@code.ros.org
https://code.ros.org/mailman/listinfo/ros-users