[ros-users] Is there any way to implement a "for" loop with xacro?

Patrick Doyle wpdster at gmail.com
Mon Oct 11 11:57:00 UTC 2010

On Mon, Oct 11, 2010 at 12:47 AM, Stuart Glaser
<sglaser at willowgarage.com> wrote:
> Hi Patrick,
> In order to keep xacro simple it does not support any looping mechanisms.
> Since URDF files are just XML, you can generate them any number of
> ways.  Just generating the desired XML from any scripting language
> (Python, Ruby, etc...) would be the simplest way.  Generating the XML
> using XSLT is also possible, though not necessarily recommended.
ok, thanks.


More information about the ros-users mailing list