use readNet(fileName, withPrograms=True) or readNet(fileName, withLatestProgram=True)
Am Mo., 5. Nov. 2018 um 12:10 Uhr schrieb Didac Busquets < [email protected]>: > Hi, > > > > I’m using sumolib to read information about the network. I can use > net.getTrafficLights() to get the list of TLS, but if I then use the > getPrograms() method on a traffic light, it returns an empty dictionary. > > > > Querying the same TL using TraCi returns the program correctly. > > > > Is there anything missing in sumolib? > > > > Thanks, > > > > Didac > > > > [image: Immense Simulations Limited] <https://htmlsig.com/t/000001D1FAJA> > > [image: https://s3.amazonaws.com/htmlsig-assets/spacer.gif] > > [image: Twitter] <https://htmlsig.com/t/000001DMCGQH>[image: > https://s3.amazonaws.com/htmlsig-assets/spacer.gif][image: Facebook] > <https://htmlsig.com/t/000001DRXRE6>[image: > https://s3.amazonaws.com/htmlsig-assets/spacer.gif][image: LinkedIn] > <https://htmlsig.com/t/000001CVTDTW>[image: > https://s3.amazonaws.com/htmlsig-assets/spacer.gif] > > [image: https://s3.amazonaws.com/htmlsig-assets/spacer.gif] > > [image: https://s3.amazonaws.com/htmlsig-assets/spacer.gif] > > [image: https://s3.amazonaws.com/htmlsig-assets/spacer.gif] > > *Didac Busquets* / Co-Founder and Chief Scientist > [email protected] / +44 (0) 7919 076 981 > > [image: https://s3.amazonaws.com/htmlsig-assets/spacer.gif] > > *Immense Simulations Limited* > Studio J2, Witan Studios, 279 Witan Gate, Central Milton Keynes, MK9 1EJ > *w3w*: ourselves.depend.backpack > www.immense.ai > > [image: https://s3.amazonaws.com/htmlsig-assets/spacer.gif] > > [image: https://s3.amazonaws.com/htmlsig-assets/spacer.gif] > > This e-mail including any attachments is intended for the addressee only. > It is private, confidential and may be covered by legal professional > privilege. If you have received this message in error please notify us > immediately and remove it from your system. Immense Simulations Limited is > a Company registered in England and Wales No. 09782647. Registered offices: > International House, 24 Holborn Viaduct, City Of London, London, England, > EC1A 2BN. > > > _______________________________________________ > sumo-user mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user >
_______________________________________________ sumo-user mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
