Python or other language

The Parrot Mambo minidrone is full of surprises! Whether you equip it with the Cannon or the Grabber, it'll turn the sky into an amazing playground.
Post Reply
killercatfish
Newcomer
Posts: 2
Joined: 07 Mar 2017, 17:17
Drone Type: AR.Drone 2
Has thanked: 0
Been thanked: 0

Python or other language

Post by killercatfish » 07 Mar 2017, 17:20

Is it possible to code the mambo with python?

User avatar
Bobrobot1
Up and hovering
Posts: 143
Joined: 11 Dec 2016, 06:42
Drone Type: Bebop 2
Has thanked: 0
Been thanked: 1 time

Re: Python or other language

Post by Bobrobot1 » 09 Mar 2017, 19:49

To do what? automate it? :?:
Sent from my iPad using Tapatalk HD.

Just kidding! I use my Mac! :)

Keep looking up!

killercatfish
Newcomer
Posts: 2
Joined: 07 Mar 2017, 17:17
Drone Type: AR.Drone 2
Has thanked: 0
Been thanked: 0

Re: Python or other language

Post by killercatfish » 28 Mar 2017, 12:54

I teach high school computer science. I'd like to include coding drones in my python course. The mambo is at a nice price point. But yea, the main idea would be to set up an obstacle course and teams of students would have time to code the drone and compete for best time and success rate.

RorschachUK
Newcomer
Posts: 3
Joined: 04 Jul 2018, 16:30
Drone Type: Mambo
Has thanked: 0
Been thanked: 0

Re: Python or other language

Post by RorschachUK » 04 Jul 2018, 16:36

Hi, there's a Python library here, and documentation for it here. It works by communicating with the Mambo via wifi (for the FPV one with camera attached) or Bluetooth (if without the camera).

RorschachUK
Newcomer
Posts: 3
Joined: 04 Jul 2018, 16:30
Drone Type: Mambo
Has thanked: 0
Been thanked: 0

Re: Python or other language

Post by RorschachUK » 08 Jul 2018, 17:00

I've experimented with this pyparrot library by Dr Amy McGovern and had it running on a Raspberry Pi 3+. Works great! Although, try it out with plenty of space, feels a bit alarming if it's autonomously flying near stuff and you've no direct control to stop it, I did have to be ready to gently bat it away from stuff it was going to hit.

The ability to process images externally via the great computer vision library OpenCV opens up a lot of possibilities for e.g. face recognition and following marked paths, though in practice the lag involved presents some challenges.

A more modest goal might be a simple flight recorder - fly it once, record the inputs, replay them over bluetooth to create a repeatable flight mission. Or, simplified mission programming in the style of the great old 1980 programmable car Bigtrak. Or, try to calculate all the relative movements as an absolute position to make it possible to set a flight path clicking waypoints on a map. Or - control via exotic input devices like Leap Motion gesture control.

So many possibilities!

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests