Java SocketTimeoutException during deployment of Parrot Minidrone

1 visualizzazione (ultimi 30 giorni)
Hi, I bought a Parrot Mambo Minidrone and successfully established an Bluetooth PAN connection, Ping at 192.168.3.1 also works fine. I tried the parrot_gettingstarted.slx that comes with the hardware support package for parrot minidrones, but after the build procedure I get the following error:
Downloading shared object to PARROT Mambo....
Terminating the currently executing shared object (if any) ....
Connecting to FTP Server 192.168.3.1 ....
Connected to FTP Server at 192.168.3.1 successfully.
### Build procedure for model: 'parrot_gettingstarted' aborted due to an error.
The following error occurred during deployment to your hardware board:
Java exception occurred:
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) at java.net.SocketInputStream.read(SocketInputStream.java:171) at java.net.SocketInputStream.read(SocketInputStream.java:141) at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284) at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326) at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178) at java.io.InputStreamReader.read(InputStreamReader.java:184) at java.io.BufferedReader.fill(BufferedReader.java:161) at java.io.BufferedReader.readLine(BufferedReader.java:324) at java.io.BufferedReader.readLine(BufferedReader.java:389) at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:294) at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:490) at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:534) at org.apache.commons.net.ftp.FTPClient._openDataConnection_(FTPClient.java:476) at org.apache.commons.net.ftp.FTPClient.__storeFile(FTPClient.java:374) at org.apache.commons.net.ftp.FTPClient.storeFile(FTPClient.java:1379)
Last lines indicate connection errors due to missing telnet or firewall settings, as described in some troubleshoots. I tried connecting to the drone via FTP (Filezilla), which works. I tried to clear memory in /data/edu via Telnet, which works too. The only file there was parrot_gettingstarted.so with 0kb size.
I'm using Windows 7, Matlab 2017b, Support Package v17.2.3, CSR Bluetooth stack. Has anybody encountered a similar problem and could help?

Risposte (1)

Christian Tolks
Christian Tolks il 5 Mar 2018
I made an exception for IP "192.168.3.1" (for the Mambo drone) and connection worked well.

Categorie

Scopri di più su MATLAB Support Package for Parrot Drones in Help Center e File Exchange

Prodotti

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by