[Python] What's "time" in getAdaptedTraveltime()?

Discussão em 'Python' iniciado por Stack, Maio 31, 2025.

  1. Stack

    Stack Membro Participativo

    I'm working with TraCI and now I'm using custom weights on the edges. To do so, I used traci.vehicle.setAdaptedTraveltime(vehID, edgeID, time=<Custom_time>, begTime=None, endTime=None). Now I want to double check and see if I change it correctly with my <Custom_time> and I want to use traci.vehicle.getAdaptedTraveltime(vehID, time, edgeID).

    Why do I have to declare the attribute time, if it is the value I want to retrieve? Am I missing something?

    Sumo,TraCI documentation

    GitHub, TraCI documentation

    Continue reading...

Compartilhe esta Página