Search found 41 matches

Go to advanced search

by Elendurwen
Mon Jan 13, 2014 6:30 pm
Forum: How to... ?
Topic: Problem with compiler on Linux
Replies: 7
Views: 16746

Problem with compiler on Linux

Hi, I had argos3 installed by someone else on a Redhat-based computer cluster. They compiled and installed argos and you can run argos3 -q all without a problem. You can also run cmake for an argos3-dependant example program, but then the actual compilation fails. I think the g++ is of a wrong versi...
by Elendurwen
Tue Dec 10, 2013 4:01 pm
Forum: How to... ?
Topic: Removing entities sometimes doesn't work
Replies: 1
Views: 6364

Removing entities sometimes doesn't work

Hi, I am running argos3 simulation where sometimes I need to remove an entity from a family of entity types. Rarely I get this error: [FATAL] CSpace::RemoveEntity() : Entity "pellet509" has not been found in the indexes. which quits the application. I am not sure what I am doing wrong. Her...
by Elendurwen
Thu Dec 05, 2013 7:51 pm
Forum: Bugs
Topic: Robot movement after collision
Replies: 4
Views: 18663

Re: Robot movement after collision

Ok, thanks !
by Elendurwen
Thu Dec 05, 2013 7:50 pm
Forum: How to... ?
Topic: Programatically creating entities
Replies: 3
Views: 10184

Re: Programatically creating entities

Ah, thanks! The comment next to the AddEntity in loop_functions.cpp confused me :)

Code: Select all

"Important: the entity must be created with a <tt>new</tt> statement or a CFactory::New() statement."
by Elendurwen
Thu Dec 05, 2013 7:19 pm
Forum: Bugs
Topic: Robot movement after collision
Replies: 4
Views: 18663

Re: Robot movement after collision

Thanks for your reply. I changed the max speed to 10, as per the foraging example and now I cannot reproduce the bug. I'll post my code here later if I can find it again.
by Elendurwen
Thu Dec 05, 2013 5:58 pm
Forum: Bugs
Topic: Robot movement after collision
Replies: 4
Views: 18663

Robot movement after collision

I have a couple of robots in my argos3 application that move around. Occasionally, they bump into each other, at which point they use the diffuctionVector from the argos foraging example (footbot_foraging.cpp file) to move away from each other. That's all fine. However, sometimes a robot after a hea...
by Elendurwen
Mon Dec 02, 2013 6:14 pm
Forum: How to... ?
Topic: The newest version of argos3 not compiling on mac
Replies: 3
Views: 13772

Re: The newest version of argos3 not compiling on mac

I am running Mac OS 10.9. , Xcode 5.0.1. I am using QT 4.8.5., installed through homebrew. I installed everything needed from homebrew in fact, as per the installation instructions. The warning you mention is part of QT indeed, do you think it's something I have to wait for from them? Do the release...
by Elendurwen
Mon Dec 02, 2013 6:09 pm
Forum: How to... ?
Topic: Programatically creating entities
Replies: 3
Views: 10184

Programatically creating entities

Hi, I want to add entities to my arena at some point in the program. As far as I understand, you have to use CFactory::New to do this, instead of just creating the entities yourself. So what I am trying is: CEntity pelletEntity = *CFactory<CEntity>::New("box"); CBoxEntity& pellet = *an...
by Elendurwen
Mon Dec 02, 2013 5:48 pm
Forum: How to... ?
Topic: The newest version of argos3 not compiling on mac
Replies: 3
Views: 13772

The newest version of argos3 not compiling on mac

Hi, I just cloned the latest version or argos3 from git, but I failed to build it on a mac. I am sending my error log with details. I only get the error when trying to build with the Release option (cmake -CMAKE_BUILD_TYPE=Release ../src), when I don't include the -CMAKE_BUILD_TYPE, it builds fine. ...
by Elendurwen
Fri Nov 29, 2013 1:42 pm
Forum: How to... ?
Topic: Sending Real values over the range and bearing actuator
Replies: 3
Views: 16039

Re: Sending Real values over the range and bearing actuator

Hi Carlo, I think you are right - if that's how it is on a real robot then that's how it needs to be in simulation. No worries - I have an implementation now that keeps tracks of what variables have been sent and received and the receiver doesn't do anything until it receives the whole message. Just...

Go to advanced search