Re: [ros-users] Is there any way to implement a "for" loop w…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: User discussions
Date:  
To: User discussions
Subject: Re: [ros-users] Is there any way to implement a "for" loop with xacro?
On Mon, Oct 11, 2010 at 12:47 AM, Stuart Glaser
<> 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.

--wpd