Skip to content

Commit

Permalink
addendum to conform to status retrieval naming conventions. refs #4312
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed Jul 23, 2018
1 parent 1a55b7b commit 6faca83
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/complex/traci/pythonApi/simulation/runner.py
Expand Up @@ -48,7 +48,7 @@ def checkVehicleStates():
print("#colliding", traci.simulation.getCollidingVehiclesNumber())
print("colliding", traci.simulation.getCollidingVehiclesIDList())
print("#emergencystopping", traci.simulation.getEmergencyStoppingVehiclesNumber())
print("emergencystopping", traci.simulation.getEmergencyStoppingIDList())
print("emergencystopping", traci.simulation.getEmergencyStoppingVehiclesIDList())
print("min#expected", traci.simulation.getMinExpectedNumber())
print("#teleportStart", traci.simulation.getStartingTeleportNumber())
print("teleportStart", traci.simulation.getStartingTeleportIDList())
Expand Down
4 changes: 2 additions & 2 deletions tools/traci/_simulation.py
Expand Up @@ -206,8 +206,8 @@ def getEmergencyStoppingVehiclesNumber(self):
"""
return self._getUniversal(tc.VAR_EMERGENCYSTOPPING_VEHICLES_NUMBER)

def getEmergencyStoppingIDList(self):
"""getEmergencyStoppingIDList() -> list(string)
def getEmergencyStoppingVehiclesIDList(self):
"""getEmergencyStoppingVehiclesIDList() -> list(string)
Return Ids of vehicles that peformed an emergency stop in the last step
"""
return self._getUniversal(tc.VAR_EMERGENCYSTOPPING_VEHICLES_IDS)
Expand Down

0 comments on commit 6faca83

Please sign in to comment.