Dear Sumo users I have an issue with traci command (Vehicle.isStopped) Now, I am running a sumo simulation with JAVA for the evaluation of traffic signal control. In order to calculate the number of stops for each vehicles running in the network, I used "Vehicle.isStopped" as the following.
*boolean* *vehStop* = (*boolean*) conn.do_job_get(Vehicle.isStopped(vehID)); I got an Error message as below. *it.polito.appeal.traci.TraCIException$UnexpectedData: Unexpected : expected 7, got 9* 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) at com.sitraffic.shared.sab2.SumoEvaluation.secvehCalculate(SumoEvaluation.java:54) at com.sitraffic.shared.sab2.SumoRunner.run(SumoRunner.java:55) at com.sitraffic.shared.sab2.SumoRunner.main(SumoRunner.java:30) Also, I used *(int) Vehicle.getStopStage(vehID). *It gave me the same Error. I wonder if I did something wrong or Traas has an issue. Please help me!!! I am looking forward to your reply. Best regards, Sunghyun Jang
_______________________________________________ sumo-user mailing list sumo-user@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user