@@ -79,17 +79,14 @@ def __init__(self, args, statistics_manager):
79
79
# First of all, we need to create the client that will send the requests
80
80
# to the simulator. Here we'll assume the simulator is accepting
81
81
# requests in the localhost at port 2000.
82
- print ('bc1' )
83
82
self .client = carla .Client (args .host , int (args .port ))
84
83
print (args .host , args .port )
85
- print ('bc2' )
86
84
if args .timeout :
87
85
self .client_timeout = float (args .timeout )
88
86
self .client .set_timeout (self .client_timeout )
89
87
90
88
self .traffic_manager = self .client .get_trafficmanager (int (args .trafficManagerPort ))
91
89
92
- print ('bc3' )
93
90
dist = pkg_resources .get_distribution ("carla" )
94
91
if dist .version != 'leaderboard' :
95
92
if LooseVersion (dist .version ) < LooseVersion ('0.9.10' ):
@@ -98,9 +95,8 @@ def __init__(self, args, statistics_manager):
98
95
# Load agent
99
96
module_name = os .path .basename (args .agent ).split ('.' )[0 ]
100
97
sys .path .insert (0 , os .path .dirname (args .agent ))
101
- print ('bc4' )
102
98
self .module_agent = importlib .import_module (module_name )
103
- print ( 'bc5' )
99
+
104
100
105
101
# Create the ScenarioManager
106
102
self .manager = ScenarioManager (args .timeout , args .debug > 1 )
@@ -112,7 +108,7 @@ def __init__(self, args, statistics_manager):
112
108
# Create the agent timer
113
109
self ._agent_watchdog = Watchdog (int (float (args .timeout )))
114
110
signal .signal (signal .SIGINT , self ._signal_handler )
115
- print ( 'bc' )
111
+
116
112
117
113
def _signal_handler (self , signum , frame ):
118
114
"""
0 commit comments