egueli / TraCI4J

A high-level Java library to communicate with SUMO (Simulation of Urban MObility) through its TraCI protocol.
GNU General Public License v3.0
41 stars 27 forks source link

TrafficLight.xml wrong constants #16

Closed felix-loesch closed 9 years ago

felix-loesch commented 9 years ago

I found the following errors in TrafficLight.xml:

  1. ChangePhaseIndex: The constant must be it.polito.appeal.traci.protocol.Constants.TL_PHASE_INDEX instead of it.polito.appeal.traci.protocol.Constants.TL_CURRENT_PHASE
  2. ReadAssumedNextSwitchTime: The constant must be it.polito.appeal.traci.protocol.Constants.TL_NEXT_SWITCH instead of it.polito.appeal.traci.protocol.Constants.TL_RED_YELLOW_GREEN_STATE
egueli commented 9 years ago

Fixed. Thanks for reporting!