Skip to content

Commit

Permalink
fixing default arrivalpos for invalid given bus stop position, refs #…
Browse files Browse the repository at this point in the history
  • Loading branch information
behrisch committed Feb 27, 2018
1 parent cae8329 commit f9fef86
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/microsim/MSRouteHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1011,6 +1011,7 @@ MSRouteHandler::parseWalkPositions(const SUMOSAXAttributes& attrs, const std::st
arrivalPos = arrPos;
} else {
WRITE_WARNING("Ignoring arrivalPos for " + description + " because it is outside the given stop '" + toString(SUMO_ATTR_BUS_STOP) + "'.");
arrivalPos = bs->getAccessPos(&bs->getLane().getEdge());
}
}
} else {
Expand Down

0 comments on commit f9fef86

Please sign in to comment.