Page 1 of 1

The simulation was abruptly terminated while runing

Posted: Sun May 21, 2023 10:41 am
by tbw111123
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.

Re: The simulation was abruptly terminated while runing

Posted: Sun May 21, 2023 10:52 pm
by pincy
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.

Re: The simulation was abruptly terminated while runing

Posted: Tue May 23, 2023 10:06 am
by tbw111123
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.