File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -1616,6 +1616,7 @@ def run_simulation(self,
16161616 exit (1 )
16171617
16181618 user_settings = json .loads (settings )
1619+ # TODO Set up a list of scenarios that require a trajectory
16191620 if user_settings ["Scenario" ]["Name" ] == "DataCollection" :
16201621 trajectory_valid = self .validate_multi_level_trajectory_file (
16211622 json .loads (trajectory ))
@@ -1628,13 +1629,16 @@ def run_simulation(self,
16281629
16291630 user_code = self .client .load_user_code (json .loads (settings ))
16301631
1632+ # Always add the IP address so the server knows if we are
1633+ # local or not
16311634 message = {
16321635 "Command" : "Run Simulation" ,
16331636 "Settings" : settings ,
16341637 "Trajectory" : trajectory ,
16351638 "UserCode" : user_code ,
16361639 "Sim_name" : sim_name ,
1637- "Map_name" : map_name
1640+ "Map_name" : map_name ,
1641+ "IPAddress" : ip_address
16381642 }
16391643 self .client .connect ()
16401644 # Give the client time to establish the connection
You can’t perform that action at this time.
0 commit comments