Hi Didac, you currently cannot, the interface is still incomplete, sorry for that. I opened a ticket here: https://github.com/eclipse/sumo/issues/4743
Best regards, Michael Am 29.10.18 um 12:45 schrieb Didac Busquets: > logic = libsumo.trafficlight.getCompleteRedYellowGreenDefinition(tl) > > > > The value in “logic” is a SwigPyObject: > > > > <Swig Object of type 'std::vector< libsumo::TraCILogic,std::allocator< > libsumo::TraCILogic > > *' at 0x0000022F15270270> > > > > But this doesn’t seem to have any of the methods in > libsumo.trafficlight.Logic (i.e. currentPhaseIndex, phases…). It only > has: acquire, append, disown, next, own. > > > > How can I access the Logic structure? Similarly for > libsumo.trafficlight.Phase. > > >
signature.asc
Description: OpenPGP digital signature
_______________________________________________ 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
