The link to the python function 'traci.vehicle.add' can be found in the first table at https://sumo.dlr.de/wiki/TraCI/Change_Vehicle_State Also, the page https://sumo.dlr.de/w/index.php?title=TraCI/Add_Vehicle is obsolete (and has now been removed)
Am Mi., 14. Aug. 2019 um 12:32 Uhr schrieb Paolo Bolzoni < paolo.bolzoni.br...@gmail.com>: > On Wed, Aug 14, 2019 at 11:06 AM Jakob Erdmann <namdre.s...@gmail.com> > wrote: > > Yes: traci.simulation.findRoute ( > https://sumo.dlr.de/wiki/TraCI/Simulation_Value_Retrieval). > > traveltime is stored in the 'cost' attribute of the returned Stage > object. The result object also gives distance and list of edges. > > See also > https://sumo.dlr.de/wiki/Simulation/Routing#Travel-time_values_for_routing > > I am still missing something; many functions like Add_Vehicle[1] are > described using the command hexadecimal code and the sequence of > parameters. How am I suppose to use those functions in python? > > In some cases, like VehicleType_Value_Retrieval[2] there is the list of > python methods, but what about when there is nothing like for a > Add_Vehicle? > > Thanks for the patience > Paolo > > > [1] > https://sumo.dlr.de/wiki/TraCI/Add_Vehicle > > [2] > https://sumo.dlr.de/wiki/TraCI/VehicleType_Value_Retrieval > _______________________________________________ > sumo-user mailing list > sumo-user@eclipse.org > 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 sumo-user@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user