Hello,

What does this error mean?

        no1 = traci.inductionloop.getLastStepVehicleNumber("1")
        no11 = traci.inductionloop.getLastStepMeanSpeed("1")
        no2 = traci.inductionloop.getLastStepVehicleNumber("2")

        if no2 > 0:
            programPointer = (1)
        traci.trafficlights.setRedYellowGreenState("traffic_light", 
PROGRAM[programPointer])
        step += 1

        if no2 < 1:
            programPointer = (0)
        traci.trafficlights.setRedYellowGreenState("traffic_light", 
PROGRAM[programPointer])
        step += 1

        if no1 > 0:
            programPointer = (1)
        traci.trafficlights.setRedYellowGreenState("traffic_light", 
PROGRAM[programPointer])
        step += 1

        if n11 < 0:
            programPointer = (1)
        traci.trafficlights.setRedYellowGreenState("traffic_light", 
PROGRAM[programPointer])
        step += 1

When I add no11 this error appears: Error: tcpip::Socket::recvAndCheck @ recv: 
peer shutdown


Thank you for your help!

Regards,
Moritz
---------------------------------------------------------------
Moritz Schwarzkopf
BBT-71, Plant Structure Development Dadong
BMW Brilliance Automotive Ltd. / 华晨宝马汽车有限公司
Mobile : +86 155 2447 2481
Mail to / 邮箱: 
[email protected]<mailto:[email protected]>
---------------------------------------------------------------

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to