Skip to content

Commit

Permalink
parsing carriage doors #15562
Browse files Browse the repository at this point in the history
  • Loading branch information
behrisch committed Oct 9, 2024
1 parent b790984 commit 7afb687
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/utils/vehicle/SUMOVTypeParameter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -795,6 +795,10 @@ SUMOVTypeParameter::initRailVisualizationParameters() {
carriageGap = StringUtils::toDouble(getParameter("carriageGap"));
parametersSet |= VTYPEPARS_CARRIAGE_GAP_SET;
}
if (hasParameter("carriageDoors")) {
carriageDoors = StringUtils::toInt(getParameter("carriageDoors"));
parametersSet |= VTYPEPARS_CARRIAGE_DOORS_SET;
}
if (hasParameter("frontSeatPos")) {
frontSeatPos = StringUtils::toDouble(getParameter("frontSeatPos"));
parametersSet |= VTYPEPARS_FRONT_SEAT_POS_SET;
Expand Down

0 comments on commit 7afb687

Please sign in to comment.