Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Using Dijkstra

I am not sure if it acceptable in your use case, but in my simulation to use:

        self.sumoprocess = subprocess.Popen([sumo_exe, '-c', self.sumocfg])
        traci.init(self.port)

Where self.port holds the port as set up in the configuration file
works as expected.
I also use

        traci.close()
        self.sumoprocess.wait()

at the end.


Back to the top