1) Yes. (https://github.com/eclipse/sumo/issues/6180) 2) Fixed. ( https://github.com/eclipse/sumo/commit/d2b9de307b6fb16f1ef8dbe59397b92762704a1d )
Am Di., 22. Okt. 2019 um 10:25 Uhr schrieb Lara Codeca < [email protected]>: > Dear All, > > I have a couple of question on the tripinfo [ > https://sumo.dlr.de/docs/Simulation/Output/TripInfo.html] > > 1) Is it possible to enable or disable the tripinfo device [ > https://sumo.dlr.de/docs/Developer/How_To/Device.html#msdevice_tripinfo] > using traci? I need the tripinfo data only from a subset of vehicles and > people (the one I'm creating and inserting on the fly) in a very large > simulation. > > 2) I'm using the lxml python library to process the tripinfo file as it's > done in xml2csv.py. When I'm enabling the validation using the XMLScchema > provided in > https://github.com/eclipse/sumo/blob/master/data/xsd/tripinfo_file.xsd i > get error such as "lxml.etree.XMLSyntaxError: Element 'walk', attribute > 'duration': [facet 'minInclusive'] The value '-1' is less than the minimum > value allowed ('0')." This kind of errors are happening with and without > the option "tripinfo-output.write-unfinished" enabled. I don't think that > this is how it sould work, otherwise I don't see the point tin the XML > validation at all. I cannot attach the tripinfo output because it's too > big, but I can send it if someone is interested. Anyway, entries like this > are the issue: > <personinfo id="4283341_4283342_72" depart="29986.40" type="pedestrian"> > <ride waitingTime="-1" vehicle="4283341_4283342_72_tr" depart="-1" > arrival="-1" arrivalPos="50.07" duration="-1" routeLength="1.00"/> > <walk depart="-0.00" departPos="50.07" arrival="-1" > arrivalPos="44.18" duration="-1" routeLength="215.75" timeLoss="0.00" > maxSpeed="1.27"/> > <stop duration="0.00" arrival="-0.00" arrivalPos="44.18" > actType="P-D"/> > <walk depart="-0.00" departPos="44.18" arrival="-1" > arrivalPos="50.07" duration="-1" routeLength="215.75" timeLoss="0.00" > maxSpeed="1.27"/> > <ride waitingTime="-1" vehicle="NULL" depart="-1" arrival="-1" > arrivalPos="64.61" duration="-1" routeLength="-1.00"/> > <stop duration="0.00" arrival="-0.00" arrivalPos="64.61" > actType="Home"/> > </personinfo> > It's generated using Eclipse SUMO Version v1_3_1+0653-4280adad30. > > Thank you in advance for your time. > > All the Best, > Lara > _______________________________________________ > 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
