I am currently trying to implement some loop functions in my project, specifically the foraging_loop_functions.cpp given in the argos-examples.
I have added the file which contains it (loop_functions/foraging_loop_functions) to the plugin folder of the argos_bridge in my project and there is no problem when building the project. When launching the argos world, it sets up what is coded in the loop function indeed.
However, when I push the Play button on ARGoS, the simulation breaks down. I guess it has something to do with folders disposition in the project.
Does anyone know how to properly add and implement a loop function in argos_bridge?
I am currently trying to implement some loop functions in my project, specifically the foraging_loop_functions.cpp given in the argos-examples.
I have added the file which contains it (loop_functions/foraging_loop_functions) to the plugin folder of the argos_bridge in my project and there is no problem when building the project. When launching the argos world, it sets up what is coded in the loop function indeed.
However, when I push the Play button on ARGoS, the simulation breaks down. I guess it has something to do with folders disposition in the project.
Does anyone know how to properly add and implement a loop function in argos_bridge?