For getting it from a package, package://pkg-name/texture.jpg<br><br>$(find pkg)... doesn't necessarily work because the client app (rviz for example) may be running from a different tree.<br><br>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.<br>

<br>Josh<br><br><div class="gmail_quote">On Wed, Apr 7, 2010 at 10:53 AM, David Lu!! <span dir="ltr"><<a href="mailto:davidvlu@gmail.com">davidvlu@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

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



<div></material></div><div><br></div><div>I tried filename="$(find pkg-name)/texture.jpg", but that didn't seem to work. </div><div><br></div><font color="#888888"><div>-David!!</div></font></div>
<br>_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
<br></blockquote></div><br>