Page 1 of 1

Multiple scripts with 1 scheduler

Posted: Fri Feb 21, 2014 4:32 pm
by WildWurger
Hi all,

Is that possible that I want to run a few scripts with only 1 scheduler?

If so, may I know how it can be done?

Thank you very much in advance

Re: Multiple scripts with 1 scheduler

Posted: Fri Feb 21, 2014 4:36 pm
by boen_robot
If you want to run them one after the other, you could simply store each script in "/system script", and then at the scheduler, do

ros code

/system script run script1
/system script run script2
# etc.
If you want to execute them concurrently... AFAIK, yeah, you can't do that from a single scheduler item, but you CAN create multiple scheduler items that all activate at the same time, which in effect runs several scripts at once.

Re: Multiple scripts with 1 scheduler

Posted: Fri Feb 21, 2014 4:47 pm
by WildWurger
wow this is exactly what i want

thanks :D