DROTAG - Trigger, Geo Reference and Configure you Sony Alpha with a single part

Hello all,

We at Airborne Projects have been busy testing and getting feedback on our new product DROTAG that allows your Sony Alpha camera (A5000/A5100/A6000) to be triggered by any APM with a telemetry port. It also tags your images in flight with the position estimate at the time of the trigger.

With DROTAG you don't need any offline post-processing after you land to get your pictures geo-referenced. DROTAG does all that in the air. The pictures will also be in a separate folder for each power cycle. This way you don't have to sort pictures from other flights. Effectively each flight will have its photo folder. DROTAG just gives you a simpler workflow.

Use almost any consumer camera for Aerial Photography and GeoTagging!

  • Decouple the image gathering from image information – No more APM logs cross reference.
  • 0-effort configuring the camera for UAVs. Images are captured with ideal settings to ensure consistency over shots.
  • No need for GPS enabled cameras.
  • Use the Flight Controller position data to tag your pictures. Take advantage of APM’s advanced data fusion, including RTK capabilities if available.
  • Huge availability of cameras.

An additional characteristic of DROTAG is that it configures your camera according according to a text configuration file present in the microSD card. This way your ISO, F-Stop and other photographic settings are guaranteed to be set when you fly.This improves inter-photo reliability.

The way it works is simple: You connect DROTAG to your camera and to your APM telemetry port, do some minor one time configuration and you are ready to go to mission planner plan your flights. To ensure that everything goes smoothly we have prepared a manual and a checklist you can adapt to your workflow needs.

Expect new add-ons regarding naming photo ordering. One of them is making the pictures organized by APM arming status change.

Also, some things changed since our last development post. DROTAG does not use USB pen drives as we previously expected. Instead the pictures are stored in an included 16GB microSD card. During testing we concluded that USB sockets are not reliable and figured that bundling a microSD to USB card gave the best usability results.

General specifications

  • Size: 55x27mm
  • Weight: 21g
  • Power supply: 5VDC via Telemetry Port Cable
  • 3 Seconds Minimum Time Between Pictures (Mission Planner)
  • Includes microSD 16GB Class 10 Card
  • Include microSD to USB Converter
  • User Manual

DROTAG is also future proofed because it relies on gphoto2 open source project to achieve compatibility with a huge number of cameras check them. Speaking of open source projects, to create DROTAG Airborne Projects implemented and created corrections to Gstreamer and libgphoto2 that will benefit the rest of the community. It is our dream to one day be in conditions of open sourcing the code. If you have a proposal let us know ;)

We have launch campaign with an discount first 10 orders, so be sure to check DROTAg product page. We are also open to questions on the product here on diydrones or at our contact page, but we recommend a look to the manual for very detailed explanations of the way DROTAG works. For quantity and distributors also use our contact page.


Gstreamer Patches
wrong parsing of ISO_SPEED and PHOTOGRAPHIC_SENSITIVITY tags

EXIF tags: should write strings as UTF-8 by default, not Latin1

add GST_TAG_CAPTURING_FOCAL_LENGTH_35mmexiftag: Increase serialized geo coordinate precision

Minor correction found discussed in mailing list thread Re: [gphoto-devel] Speeding up USB PTP transfer

Views: 2175

Replies to This Discussion

Posting/flagging for interest

DROTAG is now also available as a demo for the Navio for 1 month. It is quite more complex because we do not control the whole platform, but if you would like to give it a try take a look at the repost about how to get it:

Hello there.

It has been a while since I posted in these forums but I have been busy at work with our new product DROTAG as a stand alone board. I am providing here instructions for you to try out DROTAG software in your Navio free of charge for one month.

What is DROTAG?

DROTAG is a system that allows almost any digital photography camera to be Configured, Triggered and Geo-Referenced images with APM position data in the air with a normal USB cable. One system, one simpler workflow: compatible with many cameras. The compatibility list is in gphoto2 page.

With DROTAG you don't need any offline post-processing after you land to get your pictures geo-referenced. DROTAG does all that in the air. The pictures will also be in a separate folder for each power cycle. This way you don't have to sort pictures from other flights. Effectively each flight will have its photo folder. DROTAG just gives you a simpler workflow.

How to get it in your Navio?

  1. Login to your Raspberry Pi through ssh and have the Raspberry Pi connected to the internet.
  2. echo "deb https://www.airborneprojects.com/debian binary/" | sudo tee -a /etc/apt/sources.list
  3. sudo apt-get install apt-transport-https
  4. sudo apt-get update
  5. sudo apt-get install drotag

That is it. DROTAG is installed, but for now there is a need for manual configurations because there are some options available.

What can you configure?

  • You can choose whether and where to live stream your full resolution pictures.
  • You can choose where to save your pictures (external USB pen or Navio Memory card)
  • You can choose the photography parameters.
  • You can enter a special mode that makes CHDK cameras tag the images in the camera card.

How can you configure:

DROTAG files are in /opt/DROTAG/. In this directory you can find AP1.conf, the master DROTAG configuration file.
In this file you will find a section called server, which is the relevant part.

  • send_period: is the timeout value of the main loop. Should not be changed for now;
  • gstreamer: the section corresponding to the general camera settings;
    • enable_gstreamer: True or false, signaling whether gstreamer should be used by DROTAG. Incompatible with enable_gphoto2.
    • sources: The only parameters you should change in this section are the camera settings. Be aware that the camera settings need to be connected to the reality of your camera, otherwise bad things may happen. To verify the capabilities of your camera install gphoto2 and run gphoto2 --list-all-config.
    • sinks: the section where you select the destination of the pictures.
      • selected: The index of the configuration for the destination of the pictures. Only one can be selected.
      • available:multifile:location: The location to save the pictures. This is a path that must be writable and can be an USB pen drive or any path accessible to Raspberry Pi.
      • available:udp:port: The port of the computer that will receive the pictures
      • available:udp:destination_host: The address of the machine that will receive the pictures.
      • other paramerers: should not be changed for now and are irrelevant for DROTAG.
  • mavlink: Parameters regarding mavlink
    • enable_mavlink: true or false. If enable_mavlink is false and enable_gstreamer or enable_gphoto2 is true, the DROTAG will work in intervalometer mode according to send_period.
    • selected: and index number of the selected mavlink interface. For the case of Navio it should be 0, for udp.
    • available:port: this should be the udp port where the ArduCopter binary running on navio is sending the mavlink telemetry.
  • gphoto2: section corresponds to CHDK triggering configuration
    • enable_gphoto2: cannot be true while enable_gstreamer is true;
    • trigger_mode: should not be modified;
    • trigger_script: is the path for a CHDK lua script you may like to use to configure your camera;

/etc/rc.local

In your /etc/rc.local the ArduCopter-* you use should have a telemetry output to localhost udp port. It should also launch DROTAG. E.g:

#!/bin/bash
cd /opt/DROTAG/
ArduCopter-hexa -C udp:127.0.0.1:6005 &
./DROTAG &

To test your configuration you can run it in a shell:
sudo /etc/rc.local

Mission Planning

DROTAG requires the DO_DIGICAM_CONTROL command which triggers the camera shutter.
This command should be executed every time a camera trigger is required. When drawing your grid in Mission Planner you should define this command as default.
One important point of confusion that some clients have expressed is whether the Servos or Relay pins should be configured. The answer is No! The actual trigger does not have any mechanical or analog component.

Manual triggering from Radio

If you want to manually trigger DROTAG you can configure a RC channel to it. For this follow the instruction taken from Ardupilot documentation page for example for channel 7:

  • Open Mission Planner and then click on CONFIG/TUNING | Full
  • Parameters List
  • Set the value of CH7_OPT to 9
  • Write Parameters and reboot.

The camera should now trigger on channel 7 toggle.

Hardware considerations

With DROTAG you should not need special USB cables for most modern cables as most of them take a miniUSB or microUSB. We have experienced increased performance (smaller time between pictures EST) with better cables. Feedback would be appreciated

Make sure your camera is powered and connected to the Raspberry Pi before powering the whole system.

Request for comments on installation directory

We would like to make DROTAG configurable without SSH login. In the preconfigured board we sell we achieve this by putting the binary and the AP1.conf configuration file in the boot partition. This boot partition is visible even in Windows so taking the card off the Navio and reading it in your desktop can be used to change the parameters of AP1.conf.

Besides the convenience above if the boot partition is resized to a bigger size it can also be used to store the pictures, which then are also visible in a normal Windows computer.

The problem with this approach is that a disk image would be much easier to work with. All the above steps would not be necessary. What do you think about these approaches?

Request for information on additional functionality and usability

If you think some usability is missing or an additional feature would make you a buyer, let us know.

Request for comments on price

If it worked for you how much would you be willing to pay for this software?

Request for information on cameras

We would very much like to hear feedback on cameras which work with DROTAG and are available to give out the full version of the software for the best testers.

will it work with pixhawk 2.1 cube 

Paulo Neves said:

DROTAG is now also available as a demo for the Navio for 1 month. It is quite more complex because we do not control the whole platform, but if you would like to give it a try take a look at the repost about how to get it:

Hello there.

It has been a while since I posted in these forums but I have been busy at work with our new product DROTAG as a stand alone board. I am providing here instructions for you to try out DROTAG software in your Navio free of charge for one month.

What is DROTAG?

DROTAG is a system that allows almost any digital photography camera to be Configured, Triggered and Geo-Referenced images with APM position data in the air with a normal USB cable. One system, one simpler workflow: compatible with many cameras. The compatibility list is in gphoto2 page.

With DROTAG you don't need any offline post-processing after you land to get your pictures geo-referenced. DROTAG does all that in the air. The pictures will also be in a separate folder for each power cycle. This way you don't have to sort pictures from other flights. Effectively each flight will have its photo folder. DROTAG just gives you a simpler workflow.

How to get it in your Navio?

  1. Login to your Raspberry Pi through ssh and have the Raspberry Pi connected to the internet.
  2. echo "deb https://www.airborneprojects.com/debian binary/" | sudo tee -a /etc/apt/sources.list
  3. sudo apt-get install apt-transport-https
  4. sudo apt-get update
  5. sudo apt-get install drotag

That is it. DROTAG is installed, but for now there is a need for manual configurations because there are some options available.

What can you configure?

  • You can choose whether and where to live stream your full resolution pictures.
  • You can choose where to save your pictures (external USB pen or Navio Memory card)
  • You can choose the photography parameters.
  • You can enter a special mode that makes CHDK cameras tag the images in the camera card.

How can you configure:

DROTAG files are in /opt/DROTAG/. In this directory you can find AP1.conf, the master DROTAG configuration file.
In this file you will find a section called server, which is the relevant part.

  • send_period: is the timeout value of the main loop. Should not be changed for now;
  • gstreamer: the section corresponding to the general camera settings;
    • enable_gstreamer: True or false, signaling whether gstreamer should be used by DROTAG. Incompatible with enable_gphoto2.
    • sources: The only parameters you should change in this section are the camera settings. Be aware that the camera settings need to be connected to the reality of your camera, otherwise bad things may happen. To verify the capabilities of your camera install gphoto2 and run gphoto2 --list-all-config.
    • sinks: the section where you select the destination of the pictures.
      • selected: The index of the configuration for the destination of the pictures. Only one can be selected.
      • available:multifile:location: The location to save the pictures. This is a path that must be writable and can be an USB pen drive or any path accessible to Raspberry Pi.
      • available:udp:port: The port of the computer that will receive the pictures
      • available:udp:destination_host: The address of the machine that will receive the pictures.
      • other paramerers: should not be changed for now and are irrelevant for DROTAG.
  • mavlink: Parameters regarding mavlink
    • enable_mavlink: true or false. If enable_mavlink is false and enable_gstreamer or enable_gphoto2 is true, the DROTAG will work in intervalometer mode according to send_period.
    • selected: and index number of the selected mavlink interface. For the case of Navio it should be 0, for udp.
    • available:port: this should be the udp port where the ArduCopter binary running on navio is sending the mavlink telemetry.
  • gphoto2: section corresponds to CHDK triggering configuration
    • enable_gphoto2: cannot be true while enable_gstreamer is true;
    • trigger_mode: should not be modified;
    • trigger_script: is the path for a CHDK lua script you may like to use to configure your camera;

/etc/rc.local

In your /etc/rc.local the ArduCopter-* you use should have a telemetry output to localhost udp port. It should also launch DROTAG. E.g:

#!/bin/bash
cd /opt/DROTAG/
ArduCopter-hexa -C udp:127.0.0.1:6005 &
./DROTAG &

To test your configuration you can run it in a shell:
sudo /etc/rc.local

Mission Planning

DROTAG requires the DO_DIGICAM_CONTROL command which triggers the camera shutter.
This command should be executed every time a camera trigger is required. When drawing your grid in Mission Planner you should define this command as default.
One important point of confusion that some clients have expressed is whether the Servos or Relay pins should be configured. The answer is No! The actual trigger does not have any mechanical or analog component.

Manual triggering from Radio

If you want to manually trigger DROTAG you can configure a RC channel to it. For this follow the instruction taken from Ardupilot documentation page for example for channel 7:

  • Open Mission Planner and then click on CONFIG/TUNING | Full
  • Parameters List
  • Set the value of CH7_OPT to 9
  • Write Parameters and reboot.

The camera should now trigger on channel 7 toggle.

Hardware considerations

With DROTAG you should not need special USB cables for most modern cables as most of them take a miniUSB or microUSB. We have experienced increased performance (smaller time between pictures EST) with better cables. Feedback would be appreciated

Make sure your camera is powered and connected to the Raspberry Pi before powering the whole system.

Request for comments on installation directory

We would like to make DROTAG configurable without SSH login. In the preconfigured board we sell we achieve this by putting the binary and the AP1.conf configuration file in the boot partition. This boot partition is visible even in Windows so taking the card off the Navio and reading it in your desktop can be used to change the parameters of AP1.conf.

Besides the convenience above if the boot partition is resized to a bigger size it can also be used to store the pictures, which then are also visible in a normal Windows computer.

The problem with this approach is that a disk image would be much easier to work with. All the above steps would not be necessary. What do you think about these approaches?

Request for information on additional functionality and usability

If you think some usability is missing or an additional feature would make you a buyer, let us know.

Request for comments on price

If it worked for you how much would you be willing to pay for this software?

Request for information on cameras

We would very much like to hear feedback on cameras which work with DROTAG and are available to give out the full version of the software for the best testers.

Yes. We have tested it. The only thing needed is that you select the correct version in the shop.

RSS

Groups

Season Two of the Trust Time Trial (T3) Contest 
A list of all T3 contests is here. The current round, the Vertical Horizontal one, is here

© 2018   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service