de5f3c55fefe93775b7044dfb5f3d2a307855db3,flow/utils/aimsun/run.py,,threaded_client,#Any#,63
Before Change
global exited_vehicles
if len(exited_vehicles) == 0:
output = "-1"
else:
output = ":".join([str(e) for e in exited_vehicles])
conn.send(output)
// clear the list
exited_vehicles = []
After Change
data = conn.recv(2048)
// send the next vehicle
conn.send(str(exited_vehicles[0]))
del exited_vehicles[0]
// send a negative response
send_message(conn, in_format="i", values=(1,))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: flow-project/flow
Commit Name: de5f3c55fefe93775b7044dfb5f3d2a307855db3
Time: 2019-01-08
Author: y.zeinali@gmail.com
File Name: flow/utils/aimsun/run.py
Class Name:
Method Name: threaded_client
Project Name: DexterInd/GoPiGo3
Commit Name: 1fb289b0de21ec00d28046eff88d6da8f4c15319
Time: 2017-07-21
Author: robert.lucian.chiriac@gmail.com
File Name: Projects/BasicRobotControl/runnable.py
Class Name:
Method Name: Main
Project Name: DexterInd/GoPiGo3
Commit Name: f8d97b8a228504adc12a2286c62f0fd7827a3a3c
Time: 2017-07-20
Author: robert.lucian.chiriac@gmail.com
File Name: Projects/BasicRobotControl/runnable.py
Class Name:
Method Name: Main