Skip to content

Commit d2e8e0e

Browse files
committed
Re-add dependencies
1 parent 11699c1 commit d2e8e0e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

resources/external_control.urscript

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -873,11 +873,11 @@ while not (traj_flag and com_flag and rev_flag):
873873
traj_flag = connect_socket_with_retry("{{SERVER_IP_REPLACE}}", {{TRAJECTORY_SERVER_PORT_REPLACE}}, "trajectory_socket")
874874
end
875875

876-
if not com_flag:
876+
if traj_flag and not com_flag:
877877
com_flag = connect_socket_with_retry("{{SERVER_IP_REPLACE}}", {{SCRIPT_COMMAND_SERVER_PORT_REPLACE}}, "script_command_socket")
878878
end
879879

880-
if not rev_flag:
880+
if traj_flag and com_flag and not rev_flag:
881881
rev_flag = connect_socket_with_retry("{{SERVER_IP_REPLACE}}", {{SERVER_PORT_REPLACE}}, "reverse_socket")
882882
end
883883

0 commit comments

Comments
 (0)