Search found 629 matches

Go to advanced search

by pincy
Wed Sep 20, 2023 4:16 pm
Forum: How to... ?
Topic: Adding info from a external .txt file in the arena configuration
Replies: 1
Views: 23

Re: Adding info from a external .txt file in the arena configuration

I think that the easiest and fastest way to do this would be to use the Loop Functions, instead of using the .argos file. You could input your box positions and orientations, and then add them in your Init() method. Have a look at the custom distributions example and adapt the code in there to your ...
by pincy
Wed Sep 06, 2023 2:50 am
Forum: How to... ?
Topic: experimental plugin; robots not shown in arena
Replies: 8
Views: 343

Re: experimental plugin; robots not shown in arena

Happy this helped!
by pincy
Wed Aug 16, 2023 5:56 pm
Forum: How to... ?
Topic: experimental plugin; robots not shown in arena
Replies: 8
Views: 343

Re: experimental plugin; robots not shown in arena

It took me a while because I needed to fix a few compilation issues, but this patch works for me. I tested the code against the latest version of ARGoS.
by pincy
Sat Aug 12, 2023 11:50 am
Forum: How to... ?
Topic: robots communication / information sharing
Replies: 1
Views: 111

Re: robots communication / information sharing

Yes, the correct way to use the loop functions. You can copy what the foraging example already does: you endow the robot controllers of a way to get the information about the position of all the other robots, such as a Set() method of some sort. Then in the loop function you access the embodied enti...
by pincy
Sat Aug 12, 2023 11:49 am
Forum: How to... ?
Topic: experimental plugin; robots not shown in arena
Replies: 8
Views: 343

Re: experimental plugin; robots not shown in arena

Having a look this weekend and reporting back!
by pincy
Sun Jul 30, 2023 8:03 pm
Forum: How to... ?
Topic: experimental plugin; robots not shown in arena
Replies: 8
Views: 343

Re: experimental plugin; robots not shown in arena

If you share the code I can have a look. I'm sure it's a small detail you have overlooked.
by pincy
Sun May 21, 2023 10:52 pm
Forum: How to... ?
Topic: The simulation was abruptly terminated while runing
Replies: 2
Views: 21146

Re: The simulation was abruptly terminated while runing

This problem is not related to Qt. What this is saying is that your robots have gone outside the experimental arena, and the spatial index that handles it detected the problem. This is a fatal error and this is why the simulation is stopped. Changing the length of the time step won't help. I don't h...
by pincy
Sun May 14, 2023 1:16 am
Forum: How to... ?
Topic: The problems encountered while running argos3 on Ubuntu22.04 through VsCode
Replies: 3
Views: 2262

Re: The problems encountered while running argos3 on Ubuntu22.04 through VsCode

I don't use VSCode, so I am not sure what might be going wrong with it. I use ARGoS from the terminal, so if that works then ARGoS seems to be doing everything right. I would suggest you to look into what VSCode does differently from the command line.
by pincy
Tue May 09, 2023 3:53 pm
Forum: How to... ?
Topic: The problems encountered while running argos3 on Ubuntu22.04 through VsCode
Replies: 3
Views: 2262

Re: The problems encountered while running argos3 on Ubuntu22.04 through VsCode

I have never seen these problems before. The first one I can guess is related to Wayland and Qt, so I'd Google it. It doesn't look like an ARGoS issue specifically. The second looks like a linking issue. Is your Ubuntu a vanilla installation, or there's something special about it? For example, you m...
by pincy
Tue Apr 18, 2023 11:12 am
Forum: How to... ?
Topic: Simulating communication delays among multi-robot system
Replies: 1
Views: 2610

Re: Simulating communication delays among multi-robot system

There is no native way, but it could be added by making a new medium. You could use the original range and bearing medium and make a new one, extended to support this feature. You don't need to change the core of ARGoS, you can simply create a new medium in your own user code taking the range and be...

Go to advanced search