Looks like your script is continuing to access the vehicle via traci 
after it is removed from the simulation.

Best Marek Heinrich
simoserv GmbH

Am 18.01.2017 um 02:17 schrieb Mani Amoozadeh:
> Hi,
>
>   
>
> Through TraCI, I added a vehicle into SUMO.
>
> Then at some point of the simulation, I remove it.
>
> SUMO-GUI removes the vehicle but shows the following error message:
>
>   
>
> Error: Answered with error to command 0xa4: Vehicle 'stopped_veh' is not
> known
>
>   
>
> After the error, the simulation is on-going and everything seems to be ok.
> Here what I did:
>
>   
>
> 1. Adding the vehicle through TraCI with these parameters:
>
>   
>
> name: "stopped_veh"
>
> type: "DEFAULT_VEHTYPE"
>
> route: rout
>
> depart: 5*1000
>
> lanePos: 3200
>
> lane: 1
>
>   
>
> 2. make the vehicle stop by changing its speed to 0 and set the lane change
> mode to 0.
>
> 3. change the color to red
>
> 4. change vClass to "custome1"
>
> 5. set vehicle length to 5
>
> 6. remove the vehicle with reason = 2
>
>   
>
> - Mani
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> sumo-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sumo-user


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to