Search found 41 matches

Go to advanced search

by Elendurwen
Fri Apr 03, 2015 7:40 pm
Forum: How to... ?
Topic: Subclass a robot controller
Replies: 5
Views: 11308

Re: Subclass a robot controller

Thanks Carlo, I almost threw away my computer during the process of discovery though :lol:
by Elendurwen
Fri Apr 03, 2015 6:43 pm
Forum: How to... ?
Topic: Subclass a robot controller
Replies: 5
Views: 11308

Re: Subclass a robot controller - SOLUTION

Ok, so after googling and fiddling around, I found a solution to having a super class (BaseRobot) and 2 different controllers that subclass it (Solitary and LocalBroadcaster). I was making a number of mistakes before, this is how it should be: In controllers/CMakeLists.txt: add_library(baseRobot SHA...
by Elendurwen
Fri Apr 03, 2015 5:23 pm
Forum: How to... ?
Topic: Subclass a robot controller
Replies: 5
Views: 11308

Re: Subclass a robot controller

I should also say, if I just go for having the localBroadcaster built, by using add_library(localBroadcaster SHARED localBroadcaster.h localBroadcaster.cpp baseRobot.h baseRobot.cpp) target_link_libraries( localBroadcaster ${GSL_LIBRARIES} argos3core_simulator argos3plugin_simulator_actuators argos3...
by Elendurwen
Fri Apr 03, 2015 5:08 pm
Forum: How to... ?
Topic: Subclass a robot controller
Replies: 5
Views: 11308

Subclass a robot controller

Hi, I'd like to have a basic robot controller class, then subclass it for specific controllers. I am struggling to make the makefile instructions for this in the controllers/CMakeLists.txt file of my argos project. If you had only a single class, you would do: add_library(baseRobot SHARED baseRobot....
by Elendurwen
Tue Feb 04, 2014 2:23 pm
Forum: Bugs
Topic: Ground sensors indexed differently under Mac and Linux
Replies: 1
Views: 12557

Ground sensors indexed differently under Mac and Linux

I am using the FootBot ground sensors (footbot_motor_ground) to determine colour of the floor. I discovered that the documentation of the sensor has the indices confused and more importantly, that the indices are different depending on whether I compile under Mac OS or under Linux (RedHat). I am usi...
by Elendurwen
Wed Jan 22, 2014 7:08 pm
Forum: How to... ?
Topic: Problem with compiler on Linux
Replies: 7
Views: 16857

Re: Problem with compiler on Linux

Ok, I'll ask them about updating then, thanks. Must have just missed the new version by days!

Lenka
by Elendurwen
Wed Jan 22, 2014 6:58 pm
Forum: How to... ?
Topic: Problem with compiler on Linux
Replies: 7
Views: 16857

Re: Problem with compiler on Linux

Hi Carlo,

the version on that system is 3.0.0-beta21. It was installed shortly before Christmas I believe.

Best,
Lenka
by Elendurwen
Fri Jan 17, 2014 1:10 pm
Forum: How to... ?
Topic: Problem with compiler on Linux
Replies: 7
Views: 16857

Re: Problem with compiler on Linux

I managed to fix my problem by running the cmake first, then editing the build/CMakeCache.txt, changing the line: CMAKE_CXX_FLAGS:STRING=-std=c++11 Then running make builds fine. I am not sure if somehow this could have been done better by passing a parameter to cmake though, to make it more automat...
by Elendurwen
Tue Jan 14, 2014 7:55 pm
Forum: How to... ?
Topic: Problem with compiler on Linux
Replies: 7
Views: 16857

Re: Problem with compiler on Linux

Another edit: I found the higher version of the C compiler as well, so now I get output: -- The C compiler identification is GNU 4.8.1 -- The CXX compiler identification is GNU 4.8.1 -- Check for working C compiler: /local/software/gcc/4.8.1/bin/gcc -- Check for working C compiler: /local/software/g...
by Elendurwen
Mon Jan 13, 2014 7:02 pm
Forum: How to... ?
Topic: Problem with compiler on Linux
Replies: 7
Views: 16857

Re: Problem with compiler on Linux

Edit: I changed the cmake line to cmake -DCMAKE_CXX_COMPILER=/local/software/gcc/4.8.1/bin/c++ to assure I have the right compiler version, but it is still not properly recognised, it finds: -- The C compiler identification is GNU 4.4.6 -- The CXX compiler identification is GNU 4.8.1 And I still get...

Go to advanced search