Parrot Mambo FPV test flight controlled by Python program

preview_player
Показать описание
The video was the result of using Dr. Amy McGovern's module to program a Parrot Mambo.

Although I experienced a few little hickups along the way - getting the program to work was fairly straightforward.

The following steps were used.

1) I installed Visual Studio Code, but didn't use it to run the test program. So unless it added some other component I think it was unnecessary.
2) I had installed Python 3.7 and I subsequently ran the sample code from IDLE on a Windows 10 computer. I had previously installed GIT.
3) I did not install anaconda as was suggested.
4) Prior to running code I installed packages indicated in the documentation - by use of the following commands.
pip install untangle
pip install zeroconf
pip install pyparrot
5) I cloned the source code from github with:
6) From the cloned source I opened the following file in IDLE:

The FTP issue/solution was as per the following.The program actually didn't work initially due to some FTP issue. After some searching I found this was likely to do with the firmware version. I used information from these sites:
to download a version of the firmware v 3.0.26 and upgrade the drone. I connected the drone to the USB on my computer and was able to copy the file to the root directory. I followed the docs the best I could but the lights didn't seen to illuminate precisely as described. Anyway it all appeared to upgrade and subsequently the drone connected and was able to be controlled by the Python script.
Рекомендации по теме
join shbcf.ru