Search found 636 matches

Go to advanced search

by pincy
Fri Nov 21, 2014 5:08 pm
Forum: How to... ?
Topic: Pathfinding
Replies: 10
Views: 20834

Re: Pathfinding

If I understood correctly, you want to go to a specific point in the environment stored in the variable m_sCurrentGoal. The untested code, just out of my head, could be: void CSingleRobot::SetWheelSpeeds(const CCI_PositioningSensor::SReading& s_me_inworld, const CVector2& c_target_inworld) {...
by pincy
Sun Oct 19, 2014 8:29 pm
Forum: How to... ?
Topic: example "flocking.argos"
Replies: 13
Views: 28241

Re: example "flocking.argos"

Nice videos, they look cool! :-)

Cheers,
Carlo
by pincy
Sat Oct 18, 2014 12:35 pm
Forum: How to... ?
Topic: example "flocking.argos"
Replies: 13
Views: 28241

Re: example "flocking.argos"

Hi Alex, The PostStep() method (as well as PreStep()) is executed once per control step. Thus, the loop you have in this method shouldn't be there. Only the last computed value will be taken into account by ARGoS. You should do something like this. Init() Get pointer to light Set initial time for li...
by pincy
Wed Sep 17, 2014 11:14 pm
Forum: How to... ?
Topic: Pathfinding
Replies: 10
Views: 20834

Re: Pathfinding

Hi Nick,

I don't have any ready-made implementation, but if you feel like contributing your own, go ahead! That would be really nice :-)

Cheers,
Carlo
by pincy
Tue Sep 16, 2014 10:32 am
Forum: How to... ?
Topic: RoboNetSim (ARGoS + ns3) installation
Replies: 15
Views: 26856

Re: RoboNetSim (ARGoS + ns3) installation

Yay! :D
by pincy
Mon Sep 15, 2014 8:02 pm
Forum: How to... ?
Topic: RoboNetSim (ARGoS + ns3) installation
Replies: 15
Views: 26856

Re: RoboNetSim (ARGoS + ns3) installation

Precisely! :mrgreen:
by pincy
Mon Sep 15, 2014 6:25 pm
Forum: How to... ?
Topic: RoboNetSim (ARGoS + ns3) installation
Replies: 15
Views: 26856

Re: RoboNetSim (ARGoS + ns3) installation

Sure, it's possible. A simple way would be to do it in the loop functions, similarly to what's done in the foraging example.

Let me know if you need more specific guidance.

Cheers,
Carlo
by pincy
Mon Sep 15, 2014 1:43 pm
Forum: How to... ?
Topic: RoboNetSim (ARGoS + ns3) installation
Replies: 15
Views: 26856

Re: RoboNetSim (ARGoS + ns3) installation

Hi Nick,

For the time being it's still based on version 2. I have planned to port it to ARGoS3, but so far I just haven't had the time yet.

Cheers,
Carlo
by pincy
Mon Apr 14, 2014 3:09 pm
Forum: How to... ?
Topic: RoboNetSim (ARGoS + ns3) installation
Replies: 15
Views: 26856

Re: RoboNetSim (ARGoS + ns3) installation

Hi Kemal, After your explanation, I think I installed RoboNetSim correctly. Great! :-) To run the RoboNetSim example explained in the readme file (third step of http://www.idsia.ch/~gianni/SwarmRobotics/simulation/ARGoS/README), first I started ns3 (ns3ss.png). But when I tried to run argos, I got t...
by pincy
Sat Apr 12, 2014 12:47 pm
Forum: How to... ?
Topic: RoboNetSim (ARGoS + ns3) installation
Replies: 15
Views: 26856

Re: RoboNetSim (ARGoS + ns3) installation

Hi, The short answer is: change argos2-examples/CMakeLists.txt:5 from set(CMAKE_MODULE_PATH /usr/share/argos2 ${CMAKE_SOURCE_DIR}/cmake) into set(CMAKE_MODULE_PATH /usr/local/share/argos2 ${CMAKE_SOURCE_DIR}/cmake) The explanation is the following. As the output says, the problem is that CMake can't...

Go to advanced search