sumo icon indicating copy to clipboard operation
sumo copied to clipboard

vehicle.setRoute(simulation.findRoute(vehicle.getRoadID()...)) fails while on junction

Open namdre opened this issue 6 years ago • 3 comments

it's reasonable to assume that you can always find a usable route from the current road. The setRoute function however, expects a route that starts beyond the intersection.

Solutions would be to either

  • modify the result of findRoute
  • let MSVehicle.cpp::replaceRoute handle a route which starts at the (current) internal edge

namdre avatar Jul 12 '19 10:07 namdre

may have been fixed in the meantime via another ticket.

namdre avatar Sep 10 '21 10:09 namdre

@bcoueraud87 for you

behrisch avatar Jul 13 '22 11:07 behrisch

@behrisch Please assign me.

bcoueraud87 avatar Jul 13 '22 12:07 bcoueraud87