Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Vehicle is not known

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)


Am So., 13. März 2022 um 12:14 Uhr schrieb Yajun She <sheyajun1@xxxxxxxxx>:
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="" xsi:noNamespaceSchemaLocation="">
    <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)"/>

Please also refer to the attached screenshots. 
sumo-user mailing list
To unsubscribe from this list, visit

Back to the top