Problem with Multiple Loop Functions

Requests regarding how to set up experiments in ARGoS.
Waqar731
Posts: 65
Joined: Thu Oct 23, 2014 12:33 pm
Location: Pakistan
Contact:

Problem with Multiple Loop Functions

Postby Waqar731 » Wed May 13, 2015 10:55 am

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
Waqar Hussain

pincy
Site Admin
Posts: 632
Joined: Thu Mar 08, 2012 8:04 pm
Location: Boston, MA
Contact:

Re: Problem with Multiple Loop Functions

Postby pincy » Thu May 14, 2015 8:23 am

Hi,

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

Carlo
I made ARGoS.

Waqar731
Posts: 65
Joined: Thu Oct 23, 2014 12:33 pm
Location: Pakistan
Contact:

Re: Problem with Multiple Loop Functions

Postby Waqar731 » Thu May 14, 2015 8:59 am

thanks sir
Waqar Hussain


Return to “How to... ?”