mzahana / MATMAV

MATLAB interface toolbox for PX4 autopilot.
BSD 3-Clause "New" or "Revised" License
12 stars 11 forks source link

pnet error #7

Open KimSeongheon678 opened 3 years ago

KimSeongheon678 commented 3 years ago

hi, im really new to this and im stucked ..

im trying the General Example first i run

number_of_targets=2;
mav=MatMav(number_of_targets)

then, since i want to communicate by udp connetction with px4 i run

mav.set_UDPLOCALPRT(14540); mav.ConnectUDP();

and function ConnectUDP() gave me the error

Error using MatMav/ConnectUDP (line 1238) pnet is not available OR local port is not avilable.

any idea why this happens?.. thank you