Skip to content

Commit

Permalink
[JuPedSim] Updated names in netedit.
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoueraud87 committed Feb 6, 2024
1 parent 64ddfc4 commit db0fa61
Show file tree
Hide file tree
Showing 15 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions src/utils/gui/globjects/GUIGlObject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ StringBijection<GUIGlObjectType>::Entry GUIGlObject::GUIGlObjectTypeNamesInitial
{"polygon", GLO_POLYGON},
{"poi", GLO_POI},
//
{"jps.walkableArea", GLO_JPS_WALKABLEAREA},
{"jps.obstacle", GLO_JPS_OBSTACLE},
{"jupedsim.walkable_area", GLO_JPS_WALKABLEAREA},
{"jupedsim.obstacle", GLO_JPS_OBSTACLE},
//
{"routeElement", GLO_ROUTEELEMENT},
{"vType", GLO_VTYPE},
Expand Down
4 changes: 2 additions & 2 deletions src/utils/xml/SUMOXMLDefinitions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,8 @@ StringBijection<int>::Entry SUMOXMLDefinitions::tags[] = {
{ "internalLane", GNE_TAG_INTERNAL_LANE },
{ "poiLane", GNE_TAG_POILANE },
{ "poiGeo", GNE_TAG_POIGEO },
{ "jps.walkableArea", GNE_TAG_JPS_WALKABLEAREA },
{ "jps.obstacle", GNE_TAG_JPS_OBSTACLE },
{ "jupedsim.walkable_area", GNE_TAG_JPS_WALKABLEAREA },
{ "jupedsim.obstacle", GNE_TAG_JPS_OBSTACLE },
{ "flowRoute", GNE_TAG_FLOW_ROUTE },
{ "flowWithRoute", GNE_TAG_FLOW_WITHROUTE },
// GNE waypoints
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
netedit.shapeMode()

# go to shape mode
netedit.changeElement("jps.walkableArea")
netedit.changeElement("jupedsim.walkable_area")

# create close line polygon (area 0)
netedit.createLineShape(referencePosition, 210, 136, 200, 200, True)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
netedit.shapeMode()

# go to shape mode
netedit.changeElement("jps.walkableArea")
netedit.changeElement("jupedsim.walkable_area")

# create polygon with default values
netedit.createSquaredShape(referencePosition, 210, 136, 200, True)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
netedit.shapeMode()

# go to shape mode
netedit.changeElement("jps.walkableArea")
netedit.changeElement("jupedsim.walkable_area")

# create open polygon
netedit.createSquaredShape(referencePosition, 210, 136, 200, False)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
netedit.shapeMode()

# go to shape mode
netedit.changeElement("jps.walkableArea")
netedit.changeElement("jupedsim.walkable_area")

# create open line polygon (area 0)
netedit.createLineShape(referencePosition, 210, 136, 200, 200, False)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
netedit.shapeMode()

# go to shape mode
netedit.changeElement("jps.walkableArea")
netedit.changeElement("jupedsim.walkable_area")

# create polygon
netedit.createSquaredShape(referencePosition, 210, 136, 200, True)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
netedit.shapeMode()

# go to shape mode
netedit.changeElement("jps.walkableArea")
netedit.changeElement("jupedsim.walkable_area")

# change layer (invalid)
netedit.changeDefaultValue(netedit.attrs.jpsWalkableArea.create.name, "%%%%%%$$$$")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
netedit.shapeMode()

# go to shape mode
netedit.changeElement("jps.walkableArea")
netedit.changeElement("jupedsim.walkable_area")

# create polygon with default values
netedit.createSquaredShape(referencePosition, 210, 136, 200, True)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
netedit.shapeMode()

# go to poly mode and select poly
netedit.changeElement("jps.walkableArea")
netedit.changeElement("jupedsim.walkable_area")

# create first polygon
netedit.createSquaredShape(referencePosition, 116, 139, 200, True)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
netedit.shapeMode()

# go to poly mode and select poly
netedit.changeElement("jps.walkableArea")
netedit.changeElement("jupedsim.walkable_area")

# create first polygon
netedit.createSquaredShape(referencePosition, 116, 139, 200, True)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
netedit.shapeMode()

# go to poly mode and select poly
netedit.changeElement("jps.walkableArea")
netedit.changeElement("jupedsim.walkable_area")

# create first polygon
netedit.createSquaredShape(referencePosition, 116, 139, 200, True)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
netedit.shapeMode()

# go to poly mode and select poly
netedit.changeElement("jps.walkableArea")
netedit.changeElement("jupedsim.walkable_area")

# create first polygon
netedit.createSquaredShape(referencePosition, 116, 139, 200, True)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
netedit.shapeMode()

# go to additional mode
netedit.changeElement("jps.walkableArea")
netedit.changeElement("jupedsim.walkable_area")

# create Shape
netedit.createSquaredShape(referencePosition, 500, 331, 600, True)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
netedit.shapeMode()

# go to additional mode
netedit.changeElement("jps.walkableArea")
netedit.changeElement("jupedsim.walkable_area")

# create Shape
netedit.createSquaredShape(referencePosition, 500, 331, 600, True)
Expand Down

0 comments on commit db0fa61

Please sign in to comment.