Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed Oct 12, 2022
1 parent 9d9ba6d commit 1c695b9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/microsim/transportables/MSStageTrip.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ MSStageTrip::getEdgePos(SUMOTime /* now */) const {
const std::string
MSStageTrip::setArrived(MSNet* net, MSTransportable* transportable, SUMOTime now, const bool vehicleArrived) {
MSStage::setArrived(net, transportable, now, vehicleArrived);
if (myOrigin->isTazConnector() && myOrigin->getSuccessors().size() == 0 ) {
// previous stage ended at a taz sink-edge
myOrigin = transportable->getNextStage(-1)->getDestination();
}
MSVehicleControl& vehControl = net->getVehicleControl();
std::vector<SUMOVehicleParameter*> pars;
for (StringTokenizer st(myVTypes); st.hasNext();) {
Expand Down

0 comments on commit 1c695b9

Please sign in to comment.