Page 1 of 1

Problem with Multiple Loop Functions

Posted: Wed May 13, 2015 10:55 am
by Waqar731
Hi
I am trying to use 2 loop functions in XML(.argos) file. But when i try to run the simulation then i get the error given below:
std::bad_cast

I am trying to add the multiple controller in this way:

<loop_functions ................ />
<loop_functions ................ />


How can i fix the above error?


Thanks

Re: Problem with Multiple Loop Functions

Posted: Thu May 14, 2015 8:23 am
by pincy
Hi,

You can't use two loop functions in the same controller. You must use only one.

Carlo

Re: Problem with Multiple Loop Functions

Posted: Thu May 14, 2015 8:59 am
by Waqar731
thanks sir