Hi, <div><br></div><div>I guess you could just set a name to your node. </div><div><br></div><div>rosrun mycomp mycomp par1 par2 par3 __name:=mycomp1 </div><div><br></div><div>etc...</div><div><br></div><div>Cheers,</div><div>
<br></div><div>Ugo<br><br><div class="gmail_quote">On Fri, Apr 1, 2011 at 10:12 AM, Leopold Palomo-Avellaneda <span dir="ltr"><<a href="mailto:leo@alaxarxa.net">leo@alaxarxa.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
<br>
I have component that needs some initial parameter to run. I introduce it in<br>
the command line:<br>
<br>
rosrun mycomponent mycomponent par1 par2 par3<br>
<br>
my problem is that I would like to run the same component, but several times<br>
with different parameter. Obviously, I cannot call rosrun with the same<br>
component, someone knows how to solve this?<br>
<br>
Best regards,<br>
<br>
thanks in advance.<br>
<br>
Leo<br>
<br>
<br>
--<br>
<font color="#888888">--<br>
Linux User 152692<br>
Catalonia<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>
</font></blockquote></div><br><br clear="all"><br>-- <br>Ugo Cupcic | Shadow Robot Company | <a href="mailto:ugo@shadowrobot.com" target="_blank">ugo@shadowrobot.com</a> <br>Software Engineer | 251 Liverpool Road | <br>need a Hand? | London N1 1LX | +44 20 7700 2487 <br>
<a href="http://www.shadowrobot.com/hand/" target="_blank">http://www.shadowrobot.com/hand/</a> @shadowrobot <br><br>
</div>