The simulation was abruptly terminated while runing

Requests regarding how to set up experiments in ARGoS.
tbw111123
Posts: 4
Joined: Thu May 04, 2023 1:29 pm

The simulation was abruptly terminated while runing

Postby tbw111123 » Sun May 21, 2023 10:41 am

Hello pincy

When I ran argos3, the simulation suddenly stopped after running for about 300 seconds, and the command line returned the following errors:

[FATAL] CGrid<ENTITY>::GetEntitiesAt() : Position <-0.296729,1.00013,0.0354> out of bounds X -> -1:1 Y -> -1:1 Z -> 0:1
[FATAL] CGrid<ENTITY>::PositionToCell() : Position <-0.296729,1.00013,0.0354> out of bounds X -> -1:1 Y -> -1:1 Z -> 0:1

I had tried to solve this problem myself. In the XML file, I adjusted the 'ticks_per_second' to 10, which improved the simulation speed but prematurely terminated the simulation. Later, I set it to 90, although the simulation time increased, the simulation speed slowed down. In both cases, the simulation process ended at the same level.

I learned from other questions in the forum that this may be a problem with qt, but I don't know what to do.

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

Re: The simulation was abruptly terminated while runing

Postby pincy » Sun May 21, 2023 10:52 pm

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 have information to find the reason why this is happening. It is probably related to how the arena is configured, and possibly to some robot finding its way out because of missing walls.
I made ARGoS.

tbw111123
Posts: 4
Joined: Thu May 04, 2023 1:29 pm

Re: The simulation was abruptly terminated while runing

Postby tbw111123 » Tue May 23, 2023 10:06 am

Thanks pincy, you're right.
when I adjusted the arena size from "2,2,1" to "5,5,1", the simulation could continue to run. In my previous simulation, I saw a robot escape from the arena and then the simulation stopped.


Return to “How to... ?”