Skip to main content

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


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


Back to the top