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.52k stars 1.42k forks source link

LiSuM Installation Issue: 'traas', 'lisum-core' and 'lisum-gui' folders missing #14311

Open henrigrossmann opened 8 months ago

henrigrossmann commented 8 months ago

I'm encountering an issue while following the installation instructions for LiSuM from https://sumo.dlr.de/docs/Tools/LiSuM.html. In the current version (1.19.0), the expected folder "traas" is not present within the "tools/contributed/" directory. Additionally, when navigating to the "lisum" folder, I noticed that the "lisum-core" and "lisum-gui" folders are missing.

Could you kindly clarify if there's an updated method for installing LiSuM that doesn't rely on the "traas" folder?

I attempted to resolve the issue by downloading tools from older SUMO versions. While this allowed me to install "sumo-core," I encountered an error when trying to run "sumo-core": Error: Could not find or load main class de.dlr.ts.lisum.Main Caused by: java.lang.ClassNotFoundException: de.dlr.ts.lisum.Main

Any suggestions for resolving this issue would be appreciated. Thank you!

m-kro commented 8 months ago

I suggest to get the missing files from the Github repository as a workaround. Although traas has been deprecated because a TraCI Java interface is provided by libtraci, the files are still there.

Then we should probably update the documentation...

henrigrossmann commented 7 months ago

I downloaded the required files from the Github repository and was able to install LiSuM core successfully . When running LiSuM core with the data sample provided in the documentation reference [1] (https://github.com/maxidigital/LisumExamples) I get the following error message:

"Error: No Lisa RESTfull server found in localhost:9091. Quitting."

I'm seeking assistance on how to resolve this error or understand its source. Any guidance would be greatly appreciated.

m-kro commented 7 months ago

Did you start the (virtual) LISA controller as well (see docs)? This one actually executes the TL logic given inputs from the user (e.g. time, detector occupancy, ...)

henrigrossmann commented 7 months ago

To improve the installation process as per the documentation, I'd suggest to update the versions of dependencies listed in the pom.xml files that are outdated. For instance, if you're utilizing a MacBook with arm64 architecture, it's crucial to update the JavaFX dependency in the sumo-gui pom.xml file to ensure compatibility.

    <dependency>
        <groupId>org.openjfx</groupId>
        <artifactId>javafx-controls</artifactId>
        <version>**21.0.2**</version>
    </dependency>
behrisch commented 7 months ago

Thanks for the hint! The docs have been updated and the javafx version as well. A test run on ubuntu still fails with:

Unsupported JavaFX configuration: classes were loaded from 'unnamed module