Most likely, the vehicle has already arrived and thus left the simulation. You can either - check for the vehicles presence by confirming its presence in traci.vehicle.getIDList - monitor all arrivals with traci.simulation.getArrivedIDList - handle the exception with 'except traci.TraCIException' (the simulation will continue to work)
regards, Jakob Am So., 13. März 2022 um 12:14 Uhr schrieb Yajun She <[email protected]>: > Dear all, > > I encountered an error "Error: Answered with error to command 0xa4: > Vehicle 'upflow.301' is not known." during the simulation. Because I also > used Traci to change vehicles' behavior, I don't know which part has gone > wrong? By the way, I use the latest version of SUMO. > > Following is my route file: > > <routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/routes_file.xsd"> > <vType id="normal_car" maxSpeed="15" vClass="passenger"/> > <route id="r_0" edges="gneE9 gneE19" color="0,0,0,0"/> > <route id="r_1" edges="-gneE11 gneE12" color="0,0,0,0"/> > <flow id="rightflow" type="normal_car" begin="0.00" route="r_0" > period="exp(0.5)"/> > <flow id="upflow" type="normal_car" begin="0.00" route="r_1" > period="exp(0.5)"/> > </routes> > > Please also refer to the attached screenshots. > _______________________________________________ > sumo-user mailing list > [email protected] > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user >
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
