This is a small introduction on how use Dronekit applications with the Sky Drone FPV 2 system.

Sky Drone FPV supports the Dronekit framework out of the box and makes it easier than ever for developers to create applications for autonomous drone control.

The Sky Drone FPV Client will automatically expose the MAVLink data of your drone via a local TCP server that can be used by Dronekit.

Using Dronekit for Python, all you have to do is setting the connection parameter to the localhost (127.0.0.1) TCP server on port 5235:

vehicle = connect('tcp:127.0.0.1:5235')

Now you can program and test your code directly from the Groundstation side instead of running your Dronekit application on a companion computer on your drone. This makes testing much easier and productive through shorter iteration cycles.

This is a simple hello world program which gets data from your 4G/LTE connected drone on the groundstation side, even if your drone is thousands of kilometers away:

It really is that simple.

After you got your feed wet with status query commands, you can easily transition to commands for autonomous takeoff and flying complicated manoeuvres. See the Dronekit for Python Guide for more information.

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • sweeeeet.....thanks am going try this out.....am controlling my copter now with a SIM900 module over 3G using mission planner...it works ok but gotta try this too

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @chr1sa: The dev team is having fun with virtual @DIYRobocars track generation with Unity on the @donkey_car discord: https://t.co/l0Jd9…
7 hours ago
DIY Drones via Twitter
Review of the new Nivida Jetson NX for robocars https://t.co/bWjd3sH2o4
yesterday
DIY Robocars via Twitter
RT @chr1sa: My review of the new @NVIDIAEmbedded Jetson Xavier NX in robotics and @DIYRobocars applications https://t.co/O7TfJZhiF9 https:/…
Monday
DIY Drones via Twitter
RT @chr1sa: Somehow I missed this, but last week @Nvidia released a new version of its Isaac robot development framework. Lots of new Lidar…
Monday
DIY Robocars via Twitter
RT @Smartphone89: DonkeyCar Racing League Korea #donkeycar @diyrobocars https://t.co/mDlHDR1d98
Friday
Jørn Ramnæs liked VIDEO LINK's profile
Friday
Mark Harrison left a comment on Moderators
"Wow, Ning2 looks really great on mobile. I had sort of drifted away as my browse-time went more on my phone, so this is great."
May 28
Hank Deucker left a comment on PIXHAWK
"I am sure most will say not again, Pixhawk telemetry. I do need help and all can be reassured that I have spent many hours scouring the net for useful information. I am not new at quadcopter flying, I started in 2012 and have progressed through many…"
May 28
DIY Robocars via Twitter
https://t.co/rLmFr8M2UK
May 28
Hank Deucker left a comment on PIXHAWK
"Tomorrow, I am thinking about the wording at the moment."
May 28
DIY Drones via Twitter
Welcome to the new DIY Drones design!. You may have noticed that DIY Drones looks a little different today. That's… https://t.co/cg2EmeDGMQ
May 27
DIY Drones via Twitter
New! Online Training on Drones for Disaster Response https://t.co/brqRuujjY2
May 26
DIY Robocars via Twitter
https://t.co/8EMCvYW6oz
May 25
DIY Robocars via Twitter
RT @OttawaAVGroup: We are going to try something new this week. We will be having a drop-in style meeting Wednesday @ 7-9pm EST. Pop in and…
May 25
DIY Robocars via Twitter
RT @tawnkramer: Thanks Everyone for another fun virtual race! Amazing Ai racers competing head-to-head, Virtual Makers Fair event. Catch us…
May 23
DIY Robocars via Twitter
RT @make: Find out the latest from @diyrobocars at 10am PT from @chr1sa of @3DRobotics on Virtually Make Faire! #makerfaire #maketogether #…
May 23
More…