Essai on dronekit python

Drone Kit is python library to communicate with APM, pixhawk through MAVlink. As I understand this is the tool that they used on solo, which has a iMX6 on board as companion computer and talk to a special version of pixhawk.
Here I want to install droneKit, and MAVproxy on beaglebone, for doing something stupid on it...

Solo is latest "last?" version of 3DR, but the company lost market to DJI, cause a large layoff in 2016, so infact the design was for 2016. it can't compete with DJI's later model, such as Marvic which also have a companion computer but have more cameras for optical flow control, make it a super good product.

Saying that, solo is still a good choice for my project, for following reasons:
1. it's still a open source, which means lot of examples and possible to modify..
2. it has already integrated a companion comoputer, and a controller, so you can skip all the wireing and keep your drone net.
3. Document of development is by far, the most complete one. https://dev.3dr.com/index.html
4. For HW access on solo, there is a accessory bay, whre you can have access to some port of CC and Pix.


they also clearly told you what is the structure and possible ways of communication.


5. Payload estimation and mounting holes are also clear in the guide




All these can save a lot of trouble when developing. Other commercial drone provide only few info in their development guide.

Here is how you install kit.
http://python.dronekit.io/develop/installation.html

I have done this in windows,I will do this on my beaglebone A6A with debian 8.7, which I installed in another post.
 the good thing is that python-pip andpython-dev are already installed.
so with internet connected to beaglebone, I simply install with: sudo pip install dronekit 

install on beaglebone seems to be much slower that on a PC.....patient.....


dronekit comes with a dronekit-SITL, which can be connected with TCP link, but it will be unstable if  you connect 2 links and above, so for multi links, you will need mavproxy with UDP connection.

but dronelit-sitl is not supporting arm base CPU.

So the next step is to install SITL and mavproxy

留言

這個網誌中的熱門文章

Heltec ESP32+OLED+Lora, hardware testing

micro SD card for ESP32, on lolin32 with OLED and heltec 32 lora oled

Install Network Time Protocol(NTP) on BeagleBone with Angstrom linux and set local time zone