import time
time.sleep(1)
data = None
while data is None:
data = s.recv(2048)
print(data.decode("utf-8"))
// wait for a short period of time for the connection to be finalized
import time
After Change
aimsun_call = [aimsun_path, "-script", script_path]
// subprocess.Popen(aimsun_call)
return FlowAimsunAPI(port=9999) // FIXME
def simulation_step(self):
Advance the simulation by one step.