How to make robot turn on inter robots collision

Requests regarding how to set up experiments in ARGoS.
Axular
Posts: 1
Joined: Fri Jul 17, 2020 1:03 pm

How to make robot turn on inter robots collision

Postby Axular » Mon Jul 20, 2020 10:51 pm

Hello guys , im really new to the argos simulator, and to robots as well. So if you need more information let me know.

Im using the foraging experiment , and expanding it for that task i need.

I can recognize a inter robots collision , Now i need to make few collision avoidance algorithms.

I want to know with C++ method , how can i make the robots turn right (i really struggle to understand the CVector), turn left , and make a repel method which is go back wait for 2 seconds and keep go forward .

Thanks for you help.

pincy
Site Admin
Posts: 451
Joined: Thu Mar 08, 2012 8:04 pm
Location: Boston, MA
Contact:

Re: How to make robot turn on inter robots collision

Postby pincy » Mon Jul 20, 2020 11:01 pm

You should start from the diffusion example, which does a sort of obstacle avoidance. Can you be more specific about what you're trying to accomplish and what is not clear in that example?
I made ARGoS.


Return to “How to... ?”



cron