Browse Source

SITL: MATLAB: fix conector auto reconect

c415-sdk
Iampete1 5 years ago committed by Andrew Tridgell
parent
commit
2f99326db8
  1. 1
      libraries/SITL/examples/JSON/MATLAB/SITL_connector.m

1
libraries/SITL/examples/JSON/MATLAB/SITL_connector.m

@ -88,7 +88,6 @@ while true @@ -88,7 +88,6 @@ while true
if ~connected
% use port -1 to indicate connection to address of last recv pkt
pnet(u,'udpconnect',"",-1);
connected = true;
[ip, port] = pnet(u,'gethost');
fprintf('Connected to %i.%i.%i.%i:%i\n',ip,port)

Loading…
Cancel
Save