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 @donkey_car: Human-scale Donkey Car! Hope this makes it to a @diyrobocars race https://www.youtube.com/watch?v=ZMaf031U8jg
8 hours ago
DIY Robocars via Twitter
8 hours ago
DIY Robocars via Twitter
Jun 16
DIY Robocars via Twitter
RT @GrantEMoe: I won my first @diyrobocars @donkey_car virtual race! Many thanks to @chr1sa @EllerbachMaxime @tawnkramer and everyone who m…
Jun 13
DIY Robocars via Twitter
RT @gclue_akira: JetRacerで自動走行したコースを、InstantNeRFで再構築。データセットは別々に収集 #jetracer #instantNeRT https://t.co/T8zjg3MFyO
Jun 13
DIY Robocars via Twitter
RT @SmallpixelCar: SPC 3.0 Now the motor also works. This car is doable. I just need to design a deck to mount my compute and sensors. http…
Jun 13
DIY Robocars via Twitter
RT @SmallpixelCar: My new car SPC 3.0. https://t.co/CKtkZOxeNQ
Jun 7
DIY Robocars via Twitter
RT @SmallpixelCar: High speed at @diyrobocars thanks @EdwardM26321707 for sharing the video https://t.co/o4317Y2U1S
Jun 7
DIY Robocars via Twitter
RT @SmallpixelCar: Today at @RAMS_RC_Club for @diyrobocars. Used @emlid RTK GPS and @adafruit @BoschGlobal IMU. Lap time 28s https://t.co/R…
May 28
DIY Robocars via Twitter
May 15
DIY Robocars via Twitter
May 14
DIY Robocars via Twitter
May 13
DIY Robocars via Twitter
RT @f1tenth: Say hi to our newest #F1TENTH creation for @ieee_ras_icra next week in Philly. It’s going to be huge! 😎 🔥 @AutowareFdn @PennEn…
May 13
DIY Robocars via Twitter
May 11
DIY Robocars via Twitter
May 8
DIY Robocars via Twitter
RT @SmallpixelCar: Noticed my car zigzagged in last run. It turned out to be the grass stuck in the wheel and made the odometry less accura…
May 8
More…