Hello,
it is planned to add an option for disabling teleporting on collision
(see http://sumo-sim.org/trac.wsgi/ticket/1102). Until this is implemented,
your best course of action is to remove the colliding vehicle from the
simulation. You might then send a stop command to the  victim of the
collision if you want to simulate a blockage of this lane.
Your assumption that short routes would cause vehicles to disappear upon
teleporting is correct btw.
regards,
Jakob


2014/1/18 <[email protected]>

> Hi All,
>
> Until recently, when I had a collision (intentionally) the vehicle at
> the rear of the collision was marked as teleporting, but didn't
> reappear. This worked quite well for me, as the last output from
> traci4j was the position followed by the teleported message. So, I
> just added some smoke and flames to that position, and you got a nice
> visual cue that the car crashed.
>
> Now, this vehicle reappears along the route. Looking in the docs
> (http://sumo-sim.org/wiki/Simulation/Why_Vehicles_are_teleporting) I
> guess this is the intended way of doing things?
>
> I'm not sure what I've changed that would have caused this.. I think
> its that previously the AI was sending lots of small moveTo commands,
> so the route was never long at all, so maybe SUMO couldn't teleport it
> in that case?
>
> Anyway, is there any nice way to disable teleports? I can see the
> benefit that it would keep the route clear, but equally, a crash
> occured, so maybe there should be a deadlock now?
>
> If not, is the best alternative something like catching the vehicle ID
> from the 'vehicles that have begun teleporting' list, and then
> removing it from the sim via traci before it reappears?
>
> Thanks!
>
>
>
> ------------------------------------------------------------------------------
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> _______________________________________________
> sumo-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to