DroneRanger's Posts (7)

Sort by

Antenna Tracking - Initial Testing

I know that antenna tracking is nothing new, but I had to share my excitement in getting mine built and working!  My inner-nerd celebrated at the sound of the servo motors coming to life for the first time and I have been trying to perfect the pointing ever since.

My basic approach was to designate a position in the software for my "Antenna Tracker" to reflect where it was actually placed, then start pumping in my aircraft's telemetry data.  I am using STK to handle all of the angle calculations for Azimuth and Elevation between the tracker and the aircraft and I have a plugin that is then feeding that data to the actual hardware.  

So far everything looks very positive and seems to be working great!  I hope to take everything out for its maiden flight later this week and I can't wait!  I will hopefully update with some additional video and keeping my fingers crossed that the setup will provide me with crystal clear video links....but even if it doesn't, it will still look straight-up cool sitting there spinning around!

Read more…

Drone Formation Flying - 3 Drones

I wanted to try and build on a previous formation flying experiment where 2 drones were used (see more about that HERE) by adding one additional vehicle into the mix, making the formation a bit more complex, and attaching some cool LED orbs to the drones to create a cool effect when flying near twilight.

I thought this turned out pretty well!  Powering all of those USB telemetry antennas out in the field may turn into a challenge since I am running out of USB ports on my laptop!

Similar to my previous 2 drone formation test, all of the position data for each drone is being handled by Systems Tool Kit (STK).  I planned all flight paths in STK and use a Dronekit Python script to constantly ask STK for each drone's position and then instruct the drones in "GUIDED" mode to those positions.

What I find really cool while experimenting with these types of formation tests is the ability to animate the STK plan faster/slower or even play it in reverse and watch it all play out in the sky.  

For some next steps, of course adding more drones is an option, but I would also like to start taking advantage of some of STK's more analytical capabilities to compute separation distances, relative velocities, and angles between vehicles and make decisions based on those calculations in real time, like a simple collision avoidance type of algorithm..... I'd have to really trust my algorithm before risking two of my drones though!!

Read more…

I wanted to share my experience with capturing and processing NDVI imagery for agricultural health indexing.  A preview of the end result:

snagit7.jpg?width=750

First let me list some of the hardware being used so you don't have to scroll through this post to find it all!

Equipment:

3DR Iris+

Canon SX260HS (Modified with Event38 Near Infra-Red Filter)

Camera Mount from IMP Concepts

CHDK installed on the Canon Camera (Instructions)

IMG_1590.JPG?width=750

Background:

I have wanted to get into crop health in a more serious manner for some time now, so I ordered a Canon SX260 and installed the NIR filter from Event38.  There is a great write up on how to do this modification yourself HERE.  I also went through the process of installing the Canon Hack Development Kit (CHDK) which includes a critical script called the 'Intervalometer' which lets you set the camera to automatically take photos every X number of seconds.

Note:  You can also use a cable directly from the flight controller on the drone to the camera and let the mission "trigger" the taking of the photos.  I didn't do that, but I know others have been successful with getting that to work. 

So, I am ready to plan a mission, capture some data, and then post process into some beautiful NDVI images and hopefully give some valuable agricultural information back to the owner/grower.  

Mission Planning:

For this, I simply used Mission Planner.  I think everyone is already familiar with this but in case you aren't, Get It Here.  The great part of Mission Planner was the ability to draw an area of interest, select my desired flight altitude and camera platform, and let Mission Planner generate a flight survey for me!  Sure there may need to be some adjustments, but its a really great starting point!

Create a Polygon:

3689693798?profile=original

Open Auto Waypoint > Survey Tool:

3689693588?profile=original

Select options for the Survey:

3689693692?profile=original

This lets me adjust the overlap, look at my camera footprints, and a few other really useful options for making a mission plan that fit my needs.

Flying!:

The next step was to pick a day with cooperative weather and actually go fly!  So I planned the mission(s) for collection to target a 100m altitude and was set up for the camera to capture images every 3 seconds.  These turned out to be good settings all around and I probably wont change too much about this for future collections.  

Everything worked great and after all of my collection flights were over (I flew 4 total flights to collect over 114 acres), it was time to get to work processing the imagery.

Data Processing:

That term sounds so boring, but in fact this was probably the most interesting part!  I decided to use the online service which is provided by Event38 called the Drone Data Management System (DDMS).  If you haven't used this, I can highly recommend it.  It worked great.....not perfect.....but still pretty great!

3689693812?profile=original

I can upload my missions (basically point to all of my collected images) and tell the service to process my imagery to provide results like Orthomosaics or even the NDVI imagery or 3D .obj files which can be used for modeling the actual terrain.  If you want to learn more, just check out the website, but I found the service to work great.

CONS:

  • It sometimes took several hours to process my data and give me a link to download my completed Orthomosaic
  • Limits each "Mission" to only 200 images at a time (so I had to split my images into several "Missions")

PROS:

  • It is FREE!  Well, at least you can do some level of processing each month for free right now
  • It is really easy and the interface is intuitive
  • Help is very responsive!  I had an issue with one mission, asked a question through the online portal and had an answer emailed to me in minutes

Note:  I have also used the Pix4D Mapper Pro product (and really like it as well!) and as a comparison, the results from Pix4D generally lined up better (more on that in a minute), but for just Orthomosaic generation, I couldn't see too much of an advantage there.  Of course there are some really great tools built into Pix4D Mapper to adjust Ground Control Points and some other features, so this comparison is really just focused on the generation of an Orthomosaic product from supplied images.  

Data Adjustments & Refinements:

Of course the first thing I wanted to do with my Orthoimage was overlay it into my visualization tool of choice (everyone's will likely be different).  What I immediately noticed was that my imagery didn't quite line up with the underlying Bing Maps or Google Maps base layer.  

So, I brought the Orthoimage into QGIS to make some adjustments and also apply my own NDVI false coloring.  If you aren't familiar with QGIS, it is basically an open source Geospatial Tool Kit.  Find out more about it and/or download it HERE.

The GeoReferencer Plugin was useful for me to make any adjustments to the alignment of the image:

3689693601?profile=original

 And then applying the False Color scale to reflect the NDVI calculation was done with the Raster Calculator as seen here:

3689693863?profile=original

This is basically calculator that allows me to take information about the image in all the collected bands and apply a formula to it.  In this case it is the traditional NDVI formula:

(NIR - Visible)/(NIR + Visible)

For my camera and it's modification, this was (band1 - band3) / (band1 + band3) as seen above, because the removal of the IR filter and the installation of the filter from Event38 allows the NIR light to be captured in the "red" band and the filtered visible light to be captured in the "blue" band of the traditional RGB (band1, band2, band3) sensor on the camera.

 I can apply that raster calculation and output the resulting image.   That resulting image will only be "singleband" at that point and I can then choose how to color the values to reflect my needs.

You can see the result here!

3689693907?profile=original

And of course a zoomed in view of a portion of the image:

snagit8.jpg?width=750

And some comparisons between the base imagery, raw camera output, and the NDVI results:

snagit9.jpg?width=750

snagit10.jpg?width=750

snagit11.jpg?width=750

This particular field is growing corn and it is early in the season so the plants were probably less than 6 inches or so tall.  So I expected to get more red/black colors as it was mostly still soil with small rows of corn showing up as more yellow.  I will survey again as the season progresses!

I am very pleased with the results and the workflow wasn't as difficult and time-consuming as I had originally anticipated.  There were a few details that can easily trip you up, but for the most part it was a relatively straight-forward activity.

I hope this helps others looking into the same type of activities!

Read more…

Drone Formation Flying.... Just Push Play!

I finally put some time and effort into an integration between Dronekit Python and the Systems Tool Kit (STK) software this past weekend.  My goal was to be able to plan a flight inside of STK, connect to my drone(s), and basically just press play to animate the scenario and see it play out in the sky above me!

The short of the story is that I had great success, but also realized that I could adjust the animation speed on the fly (i.e. play things faster or slower and see the drone(s) respond in the sky), or I could Pause/Reset/Reverse/Etc. at any point during the flight!  It worked great!

Above is a quick video of the setup and my first test with 2 drones flying formations I created in STK.

I hope to have a few more demonstrations of this with a few more drones in the coming days/weeks, but this was a great integration with a lot of capability for controlling the "choreography" of the drones in realtime!

Read more…

Drone Post Flight - from your web browser!

This is a web-based application that allows you to upload your flight .log file and review the flight in 3D directly in your web browser!  Feel free to register and start uploading and exploring your flights!

www.dronalyze.com

YouTube Video

I wanted to put this out to the community and gather some feedback, so please let us know what you like, what you dont like, and additional features or compatibility issues you come across!

Thanks!

Read more…

Post Flight Log File Web Application

https://vimeo.com/149333855

This is a latest attempt at integrating some post flight capability into 3D.  This runs natively in a web browser (no plugin/download/etc.).  Browse to your log files and optionally point to a video file to have synced with your flight's playback.

Let me know your thoughts!  I will continue to add capabilities to this web app and will publish it soon i hope!

Thanks!

Read more…