I'm currently trying to get foot-bots to go up a slope (represented as a box tilted at an angle). However, the foot-bots move right through the slope, presumably because each is detected by a different physics engine (dynamics2d and pointmass3d respectively). I tried removing dynamics2d from the .ar...
There are 4 mentions of GALib in the CMakeCache.txt //Google PerfTools header location GALIB_INCLUDE_DIR:PATH=GALIB_INCLUDE_DIR-NOTFOUND //Google PerfTools library location GALIB_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libga.a //ADVANCED property for variable: GALIB_INCLUDE_DIR GALIB_INCLUDE_DIR-...
I'm having trouble running the single process evolution example. I get the following error when I try to run galib.argos: [FATAL] Error initializing loop functions [FATAL] Can't load library "build/loop_functions/galib_phototaxis_loop_functions/libgalib_phototaxis_loop_functions" even afte...
Hi Carlo, I am using the code from the flocking example as part of an experiment. In the experiment I have a large arena and I need the swarm to flock to goals generated at random locations throughout that arena. The problem is that the swarm moves very slowly; it takes 2000+ simulation steps to tra...
Hi Carlo, This does exactly what I want it to! I had to make some minor syntax tweaks, otherwise, it's perfect! Prompt and helpful as always :) Thanks! For anyone trying this and wondering about the tweaks: /* Change this */ CVector2 cMeToGoalW = cGoalLocW - m_pcPositioning.GetReading().Position; m_...
Hi Carlo, How can I make a foot-bot follow a heading vector expressed in the global frame of reference? To clarify, I have a foot-bot that I want to move to a certain location. I know the global position of the foot-bot and the goal location so I create a vector between the two. However, this vector...
Hi Leonardo, Your assessment is correct. Try passing 1.7 to the CRadians constructor to create a CRadians object. CRadians valueToCompare = CRadians( Real(1.7) ); if(cZAngle >= valueToCompare) {} I think that should fix your problem. You can find more information about the CRadians class in angles.h...
Hi Carlo, I am having trouble running fast simulations when the number of robots is large. The suggestions you gave me last time help a lot, but I am unsure how to divide the arena into multiple physics engines or optimize grid sizes and I was hoping you could give me some guidance. Details: I am tr...