--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------------------------------------
O/P => [Logic(programID='0', type=2, currentPhaseIndex=0, phases=[Phase(duration=0.001, state='GG', minDur=0.001, maxDur=0.001, next=-1), Phase(duration=5.0, state='yy', minDur=5.0, maxDur=5.0, next=-1), Phase(duration=0.001, state='rr', minDur=0.001,
maxDur=0.001, next=-1)], subParameter={})]
>>> traci.trafficlight.setRedYellowGreenState('1024500711','GGGGGG') #
Wanted to set Green for all
>>> traci.trafficlight.getRedYellowGreenState('1024500711')
O/P =>'GGGGGG'
>>> traci.trafficlight.getCompleteRedYellowGreenDefinition('1024500711')
# wanted to confirm whether the traffic changes got set
O/P =>[Logic(programID='0', type=2, currentPhaseIndex=0, phases=[Phase(duration=0.001, state='GG', minDur=0.001, maxDur=0.001, next=-1), Phase(duration=5.0, state='yy', minDur=5.0, maxDur=5.0, next=-1), Phase(duration=0.001, state='rr', minDur=0.001,
maxDur=0.001, next=-1)], subParameter={}), Logic(programID='online', type=0, currentPhaseIndex=0, phases=[Phase(duration=1.0, state='GGGGGG', minDur=1.0, maxDur=1.0, next=-1)], subParameter={})]
>>> traci.trafficlight.setPhaseDuration('1024500711',165.5)
# Wanted to set the Green phase for 165 seconds
>>> traci.trafficlight.getPhaseDuration('1024500711')
# Not showing 165.5
O/P => 1.0
>>> traci.simulationStep() # Ran a traci simulation step
O/P =>[]
>>> traci.trafficlight.getPhaseDuration('1024500711') # Still no change
O/P =>1.0
>>> traci.trafficlight.getProgram('1024500711') # Not sure how to interpret this program Id
'online'
----------------------------------------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------