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.55k stars 1.43k forks source link

Traas - Simulation.getNetBoundary #4698

Closed pesvan closed 6 years ago

pesvan commented 6 years ago

Hi,

after migrating my java project to support SUMO 1.0.1 and also included new TraaS jar, I stumbled upon an issue that when I try to call

traciConnection.do_job_get(Simulation.getNetBoundary());

, I am presented with:

it.polito.appeal.traci.TraCIException$UnexpectedData: Unexpected : expected 5, got 6 at de.tudresden.sumo.util.Query.verify(Unknown Source) at de.tudresden.sumo.util.CommandProcessor.do_job_get(Unknown Source) at it.polito.appeal.traci.SumoTraciConnection.do_job_get(Unknown Source) ....

I had a look into the TraaS-sources jar, seems like the verify method expects different type constant, but I didn't have time yet to debug this to know more.

So maybe its a bug? Or in the end, I am somehow doing something wrong? Thanks for any response!

behrisch commented 6 years ago

I can confirm that this method was not updated in the traas client