3D Robotics

3689603275?profile=originalDroidPlanner has just been updated with an incredible feature that comes very close to "one-button 3D mapping" with ArduCopter. Here's a quick tutorial on how to use it to create a mission that autonomously takes off, circles a building taking pictures of it and lands, capturing all the imagery you need to stitch together a 3D model like the above. This model was taken with a 3DR Iris and GoPro camera in just one circle and stitched together with Autodesk Memento/ReCap.

You can see some 360-degree rotatable examples here and here. For best results, click the little cube box at bottom left and pick "Shadeless" for the rendering options. 

(Don't forget you can now do this via Bluetooth with your Android phone or tablet, in addition to the usual 3DR long-distance radios.)

Steps

1) In the Edit screen, hold down the trash can icon, which will clear any previous mission you had and auto-create the first waypoint, which is an auto-takeoff. Then tap the Add Waypoint button (the top one with the "+") and tap the center of the structure you want to 3D-map:

3689603302?profile=original

2) Tap on that new waypoint and in the drop-down menu, select "Circle". This will tell the copter to do a single circle at the default altitude (20m) and the default radius (10m), with the nose of the copter and camera always facing into the center of the circle. If that's what you want, you're done!

3689603183?profile=original3) (Optional) If you want it do to do multiple circles at the same altitude, change the "Orbits" number in the menu below. If you want it to do multiple circles at different altitudes (to give the stitching software a range of views), tap on Advanced and change the Steps number to the number of circles you want, with the Altitude Step being how much higher each circle should be over the one before:

3689603329?profile=original4) At that point, you can either launch the mission and when it's done it will loiter, waiting for you to manually land, or you can add more more waypoint to autoland (triangle waypoint icon below). If you're done, don't forget to press Send Mission to send it to the copter!

3689603404?profile=original

5) If you want the copter to circle with a larger or smaller radius, select Parameters 

3689603356?profile=original

In the Parameters list, scroll down to CIRCLE_RADIUS and change it whatever value you'd like. (Note that in the screenshot below there's an error: the units are in centimeters, not meters. So 2000 is 2000cm or 20m. That will be fixed in the next push)

3689603198?profile=original

When you're done changing that, remember to Write the parameters to the copter:

3689603429?profile=original

6) Now that you've finished the mission, set your onboard camera to take a picture once per second in stop-motion or "intervelometer" mode (I use a GoPro Black with my Iris, which works great, but you can use any camera that has this mode). Don't forget to start the camera!

7) Now switch your copter to Auto mode and nudge the throttle up a bit. The copter will take off, fly to the structure, circle it at the altitude and number of times you selected, and automatically return and land at your feet! Mission accomplished!  

Some safety notes:

  • Watch out for trees and other obstacles! Make sure your first circle is above any trees or other things that might be in the path of the circle
  • Make sure your radius is at least twice the distance from the center to the edge of the structure. You want to have at least ten meters clearance from the structure at all times
  • If you're doing an autolanding, make sure you've got plenty of room for the landing and no obstructions on the route home. If you can't ensure that, do the landing manually.
  • Don't plan any mission where your view of the copter will be obscured. You must be able to take over manual control if it looks like your mission will take the copter into harm's way

Stitching

Once you've finished the mission and acquired the imagery, you'll need to use stitching software or a cloud service to turn it into a 3D model. Autodesk offers some good free choices for that:

  • 123D Catch. Quick and dirty. This won't make the best model, but it's easy, works most of the time, and has a good web viewer so you can share the 3D model with anyone.  Mac, Windows or Web
  • ReCap 360: This offers better renders, but it can be hard to get it to reliably generate a model. Web
  • Memento: This is beta software, but it works great for me and is my go-to tool for high-quality renders and a very easy-to-use interface.  You have to join the Autodesk Labs program to use it (that's free and open to all), but it's well worth it for this gem. The only downside is that it's Windows-only so if you're a Mac user like me you have to dual-boot or run Windows in a VM

Coming soon...

In the next version of DroidPlanner, the interface to change the altitude, radius of the circle and the number and step-distance of each orbit will be improved to a simple "point and drag" feature, which is very intuitive. Basically, you'll just point at the structure you want to 3D map, drag the circle so it's well outside the structure, drag a slider for the altitude and press go. One-button mapping!

E-mail me when people leave their comments –

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

Join diydrones

Comments

  • Chris:  I checked that it was the latest version (2.4.2_rc2) before I flew the circle flights and I do have Enable Logging checked.  However, I did not enable live upload.

  • 3D Robotics

    Todd: Just click on the "beta software" link in either Mission Planner or APM Planner and it will load 3.2 RC2. 

    Shad: So sorry to hear that! It's weird that DP didn't have the logs. Yes, they should be in DroidPlanner/Logs. Are you using DP 2.4.2 RC2 or the latest public version? I haven't been having any problem with that. Did you enable logging and live upload to DroneShare (see below)?

    3701769863?profile=original

     

  • Well, did a couple of tests today using the DroidPlanner circle mode.  First flight it worked fine, only had it do one circle.  Put in a new battery and set orbits to 3.  After first circle, copter started misbehaving badly (wobbled, dropped 5m alt) and became unresponsive.  Tried RTL, but kept drifting.  Tried Stab and that didn't help.  Slowly drifted over the lake and went in a couple hundred yards off shore, battery well above my RTL voltage.  Its in about 25' of water, so I figured I could get the last position from DP.  Unfortunately, DP had not kept a log since April 25.  That might have been around the time I started using the beta.  

    This is a 2014 3DR Y6, 3.2 RC2.  I have around 70 flights on this platform and 10 with 3.2 RC2 with no issues previously.  

    Obviously a bit bummed that it ran away and also that DP doesn't have the log.  My fault for testing near water.  I assume DP keeps all logs in Internal Storage/DroidPlanner/Logs, correct?  Nothing recent there.

    Sooo, test in a safe area and try some flights without your GoPro and other expensive equipment onboard...

  • Using version 3.15.  Anyone have a link to 3.2 or do I need to be setup as a beta tester?

  • 100KM

    It's still under beta, anyway I just load it. It works. Thanks Chris

  • 3D Robotics

    We use 3.2 RC2. I suggest you upgrade

  • 100KM

    3.15 firmware also can't load, It'll stop at about 45% and wait forever,great apps but buggy. May have to wait after world cup then things may refine..... 

  • 3D Robotics

    Dany: Set radius to 0 and it will point outside. Arcs, semicircles and other "two-finger pinch and rotate" paths are coming in the next release of DroidPlanner

  • 3D Robotics

    Todd: Which version of the flight code are you using? We're seeing no param uploading issues with 3.2 RC2

  • 3D Robotics

    No, just copters for now.

This reply was deleted.