Search found 632 matches

Go to advanced search

by pincy
Mon Oct 23, 2023 8:25 am
Forum: How to... ?
Topic: How to visualize data?
Replies: 2
Views: 19759

Re: How to visualize data?

You can adapt the trajectory example, which extract trajectory data for each robot and draw is on the floor. In your case, you can use Qt Charts to plot the data you extract in real-time.
by pincy
Mon Oct 16, 2023 5:36 pm
Forum: How to... ?
Topic: Issues with Dynamic Casting and Segmentation Fault
Replies: 3
Views: 24178

Re: Issues with Dynamic Casting and Segmentation Fault

Thanks, with all this info I can look into the problem. I'll set some time aside tomorrow.
by pincy
Thu Sep 28, 2023 2:30 am
Forum: How to... ?
Topic: Issues with Dynamic Casting and Segmentation Fault
Replies: 3
Views: 24178

Re: Issues with Dynamic Casting and Segmentation Fault

I don't have sufficient information to know what is going on, since the crucial piece of the puzzle is how you define your three controller classes. From the output, I can infer that you have a BaseController that extends CCI_Controller you have CPFA_controller that extends BaseController you have a...
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: 2
Views: 19786

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: 9
Views: 79463

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: 9
Views: 79463

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: 17510

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: 9
Views: 79463

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: 9
Views: 79463

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: 44576

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...

Go to advanced search