eclipse-sumo / sumo

Eclipse SUMO is an open source, highly portable, microscopic and continuous traffic simulation package designed to handle large networks. It allows for intermodal simulation including pedestrians and comes with a large set of tools for scenario creation.
https://eclipse.dev/sumo
Eclipse Public License 2.0
2.38k stars 1.37k forks source link

enable jupedsim in the python packages #14450

Open usamael2000 opened 4 months ago

usamael2000 commented 4 months ago

I am using sumo under Debian/Linux, as a python package using [pip install eclipse-sumo].

I was trying to test the pedestrian model " jupedsim", so I installed it as a python pacvkage as well, using pip [pip install jupedsim]

I used the test example in the tests section.

The simulation using: sumo-gui --net-file net.net.xml.gz --route-files input_routes.rou.xml --no-step-log --tripinfo-output tripinfos.xml

was working fine.

But when I added the: --pedestrian.model jupedsim sumo-gui --net-file net.net.xml.gz --route-files input_routes.rou.xml --pedestrian.model jupedsim --no-step-log --tripinfo-output tripinfos.xml

I got this error: Error: Unknown pedestrian model 'jupedsim' Quitting (on error).

I am not sure what is the problem I have.

SUMO-version: Eclipse SUMO sumo Version v1_19_0+1109-2a2e56257f7, I also tested it with sumo Version v1_19_0

operating system: Debian GNU/Linux trixie/sid x86_64

behrisch commented 4 months ago

Unfortunately this is not possible yet. The JuPedSim python package does not include the c++ library which is needed by SUMO. Currently you need to compile SUMO manually to include JuPedSim support. I keep this open as a feature request