Parrot Mambo minidrone ip communication problem

Hi, we are trying to getting work the "parrot_gettingstarted model" with a Parrot Mambo. We successfully deployed to hardware the Simulink model, but we have problem with the "Parrot_FlightInterface". Parrot Mambo needs a NAP connection with the host computer and has this IP address 192.168.3.1 and we checked that it was in the parameter configuration of the model. The Parrot_FlightInterface starts working fine but at the end occurs this error:
Connection with PARROT mini-drone at 192.168.3.5 failed. Ensure that drone is powered on and connected to the computer over Bluetooth.
How can we solve it?
PS: We are using this Usb Bluetooth adapter: Link to Amazon
?

8 Comments

Hello same problema, I have changed IP addres in simulin to 192.168.2.1 but when I run I get the same error . I have disabled the Firewall and the bluetooth is correctly connected. seems Mathlab do not change correctly the IP address of the simulink code
Hi! I am facing the same problem. Bluetooth connection is established and the code is successfully deployed on the Parrot Mambo.
Connecting to FTP Server 192.168.3.1 ....
Connected to FTP Server at 192.168.3.1 successfully.
But the Parrot_FlightInterface still wants to use the 192.168.3.5 IP which belongs to the Rolling Spider so the same error occurs.
Any ideas? Thanks :)
It seems that the problem is en the execution screen , if I upload the simulink firmware to the parrot Mambo it works, but when i try to execute it does not work. I´m trying to change the IP address of Mambo or the IP addres on the STAR screen,
Hi All,
The issue is most probably because you are using a PC which does not have English as the default language set. Can you guys change the language of the PC to English?
If you cannot change the language of the PC to English, please follow the below steps to resolve this issue.
On your MATLAB execute the below commands.
  1. cd(matlabshared.supportpkg.getSupportPackageRoot)
  2. cd toolbox\target\supportpackages\parrot
You should see a file named 'Parrot_FlightInterface.mlapp'. Right click on it and click Open. It will open the App Designer. DO NOT double click otherwise it will open the app instead of opening the App designer.
Once the App Designer is opened, click on Code View button in top right. On line 65, you should see the below line.
app.p = parrot; % Start command sent to server
Modify this line as
app.p = parrot('Mambo'); % Start command sent to server
Save the file. Restart MATLAB. Connect your Mambo to Bluetooth and launch Parrot_FlightInterface from MATLAB. Click Start. It should connect to MATLAB now.
Hi Ankur, we confirm you that we solve this problem simply changing the language of our computer in English, but we still have a lot of problem in external mode.
Hello Fabrizio,
Could you specify what is the exact error that you obtain while running in the external mode?
A snapshot of the same and steps which give you the errors would suffice.
This bug has been fixed in R2017b and R2018a. Please upgrade your support packages to the latest version
I upgraded the r2018a to the latest version, but I still have the problem. And with the solution from 23.Mar it doesn't work too. What can I do?

Sign in to comment.

Answers (0)

Categories

Find more on MATLAB Support Package for Parrot Drones in Help Center and File Exchange

Asked:

on 28 Feb 2018

Commented:

on 10 Oct 2018

Community Treasure Hunt

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

Start Hunting!