Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Java Traas method Vehicle.setAdaptedTravletime() 4 parameters issue #5251

Thank you for reporting. The code has been fixed in the repository. You can download a recompiled TraaS as part of the updated nightly build tomorrow at https://sumo.dlr.de/wiki/Downloads#SUMO_-_Latest_Development_Version

regards,
Jakob

Am Sa., 2. März 2019 um 23:50 Uhr schrieb Graziano Manduzio <graziano.manduzio@xxxxxxxxx>:


Hello Users!

Using Java Traas method Vehicle.setAdaptedTravletime(), the following errors appear on display in eclipse and Sumo console respectively:

eclipse:
Exception in thread "main" it.polito.appeal.traci.TraCIException: SUMO error for command 196: Setting travel time using 4 parameters requires the begin time as first parameter.
at de.tudresden.sumo.util.Query.queryAndVerify(Query.java:87)
at de.tudresden.sumo.util.Query.queryAndVerifySingle(Query.java:217)
at de.tudresden.sumo.util.CommandProcessor.do_job_set(CommandProcessor.java:66)
at it.polito.appeal.traci.SumoTraciConnection.do_job_set(SumoTraciConnection.java:361)
at maven.traas.Main.main(Main.java: yourNumberLine)

Sumo:
Error: Answered with error to command 0xc4: Setting travel time using 4 parameters requires the begin time as first parameter.
Error: tcpip::Socket::recvAndCheck @ recv: peer shutdown
Quitting (on error).

The errors appear despite using 5 parameters as needed instead of 4 as the error message claims.


Anyone can help me?

Thanks in advance,

Graziano

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top