srl-freiburg / pedsim_ros

Pedestrian simulator powered by the social force model
https://github.com/srl-freiburg/pedsim_ros
BSD 2-Clause "Simplified" License
447 stars 169 forks source link

Pedsim Crashing Every Time it is run #57

Open owen7900 opened 4 years ago

owen7900 commented 4 years ago

I am runing Ubuntu 18.04 with Melodic and the pedsim_ros master branch. I am running with a robot enabled using a modified small_airport scenario with 5 times less people and 10 times less in all dimensions.

[pedsim_simulator-1] process has died [pid 136, exit code -11

The above line of text was spit out along with this warning several times before crashing [ WARN] [1589400517.323722476, 80.592000000]: Covariance matrix is not positive (semi-)definite in ProbabilityEllipseCovarianceVisual::setMeanCovariance(): Matrix3(0, 0, 0, 0, 0, 0, 0, 0, 0)

makokal commented 4 years ago

This is probably just a crash of the visualizer, can you run without visualization and check that the main engine works. If yes, can you share more details of the scenario you are running

owen7900 commented 4 years ago

With visualization disabled it is still crashing after about a minute attached is the scenario file (renamed to txt). The simulation runs and all agents move around properly until it abruptly crashes. tiny_airport.txt

Any assistance would be much appreciated.

makokal commented 4 years ago

Taking a look

makokal commented 4 years ago

I tested the scenario, and it seems like the walls are too close. And be careful to spawn agents within the limits of the world