Hello,
the assumption that a parking vehicle can do an immediate u-turn is wrong
(although I readily admit that it would be a nice feature). All edges are
one-way edges and SUMO has no way of knowing whether there is a road
divider between edges in close proximity or not. The workaround is to
explicitly place the vehicle on the opposite-direction edge with the traci
command move to (0c5c) before issuing the new route.
regards,
Jakob


2014-08-18 17:05 GMT+02:00 Timothy Lehner <[email protected]>:

> Dear All,
>
> I am using SUMO as part of a large vehicle simulation (Simulation
> environment: VSimRTI)
>
> As part of this I am calculating routes for drivers to take on the fly at
> run time.Typically a user will drive from point A to point B, stop a while,
> then proceed either to point C or back to Point A, note all the locations
> are arbitrary.
>
> Occasionally this involves turning around. As the vehicle is stopped with
> the flag parking, I'd expect it to be possible for the vehicle to
> immediately do a u-turn and turn around, however this occasionally causes
> the entire simulation to crash, reporting the error:
> vehicle has no valid route. No connection between
> '4441469_3562540_1995685670_3562540' and
> '4441469_1995685670_3562540_9825914'.
>
> Here the values '4441469_1995685670_3562540_9825914' and
> '4441469_3562540_1995685670_3562540' are edge ids that correspond to the
> same two nodes, traversed in opposite directions (i.e. Node A to Node B
> back to Node A)
>
> Can anyone shed some light as to why this doesn't work?
>
> Kind regards,
> Tim Lehner
>
> ------------------------------------------------------------------------------
> _______________________________________________
> sumo-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
------------------------------------------------------------------------------
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to