I'm having some issues getting the correct altitude value to write onto the picture EXIF file. I seem to be getting relative altitude as my output onto the photo. Further, it is not outputting any info to the first 4 photos, and I'm getting massive errors in Photoscan (several tens of thousands of meters).

I'm using the tlog with a 307.8 second offset. CAM message offsets are 1, 4, 3, 5, 2, 8, 7, 6; GPS are 2, 3, 9, 6,  7, 8 from left to right top to bottom in Mission Planner 1.3.7 Build 1.1.5307.24027.

I am waiting on an IR trigger and plan on triggering based on distance, but would like to get this working in the meantime. Let me know if you need some of my pictures (100 photo set @ 7 MB each).

Thanks for any help!

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

Join diydrones

Email me when people reply –


  • I am having the same problem...  I run a mission with "DO_SET_CAM_TRIGG_DIST" set to 10..

    Copter takes lots of pictures... but when I download the .log file... there are NO CAM messages in the log file..

    See attached...  I am using a servo to take the picture...  Even when I set "DO_SET_CAM_TRIGG_DIST" manually

    and walk around with the copter.. it takes pictures, which is perfect...  My Sony Nex camera is 10x better then the

    two geo-tagging point and shoot cameras I just bought and returned... So I really want to use the Sony.

    Don't know where to go next.

    Eddie Weeks


    2015-07-02 01-10-55.log

    Aerial Imagery
    Aerial Photography Louisiana
    • Developer

      try enabling more logging, LOG_BITMASK is the param you want

      • >try enabling more logging, LOG_BITMASK is the param you want

        Yes... I did this.. and Now I CAM messages... this fixed my problem..


      • I you want to upload a param file we can see if its set OK.
        I still struggle with bitmasks if in doubt just enable cam logging in isolation and work from there.

        Let me know if you need help to set this.

        • Sorry to jump topic Michael, but while I have your attention, I'm busy trying to get alternate lanes to work in Mission planner but it seems to be broken! I'm assuming Its my duff grasp of how it works as usual!

          Any advise on how this works? Its a great feature if I could only set it up right

  • What time interval is occurring between images? I ask as I think camera may not have time to process raw image file between exposures. Any comments on this? Thanks.
  • Dear all,

    I am using APM 2.5 and i have captured aerial images using a RICOH-GR III and a servo trigger mechanism for triggering the shutter. I created a survey mission and used CAM_TRIGG_DIST as the trigger method. After the flights, i got the images alright but to geo-reference it, i could not find any CAM messages in my tlog files to do a CAM Message synchro. Pls assist. I tried downloading the dataflash log from my APM and could not figure out which one is from my flight. I found the one which is closer to my flight time but it has only 6 CAM messages in it whereas there are 127 images captured.

    2014-08-21 11-22-42.tlog

    2014-08-21 11-37-27.log

    • Hey,

      i don't understand why it is not logged complete. Try to delete all old logs on your APM, set the CAM_TRIGGER_DISTANCE to a low value, maybe 10 meters. You can walk along the street and create a nice log and some bad pictures. Thats maybe easier than flying a mission.


      the IR Trigger is not good for taking these pictures. I have also two of them for a nex but they have a big shutter delay. -> Impossible to get very good results.

      • Hi Yannik,

        I was on the way to move from my IR trigger of my NEX-5R to
        solder cables inside the cam bridging the shutter button.
        A tricky operation and I stepped back for now. I assume
        it will help to come down from 0.8s delay to about 0.1s.

        But when I read this thread I recognized that it will help
        of course but I don't know the influence on post-processing.

        I have only initial experience with Agisoft photoscan.

        You mentioned 'very good results' but several components contribute.
        The ublox on my plane will not provide very exact GPS info.
        The INU values for the cam pointing are not exact as well.
        And finally shutter delay will not be zero in the end.
        Some recording delays might be addressed by interpolation.
        But in total I feel an aggregations of not very exact data.

        In contrast if I spend effort in generating very precise GCPs
        down to a few cm accuracy this seems to be more worth the effort.

        Can you give me an idea where improving the precision on
        the plane side will take effect in post-processing for 3D-models?

        thanks in advance
        Wolfgang R.

        • Converting from an IR trigger to a hard wired one will improve reliability, but it won't increase the triggering speed if you are already getting .8 secs. The Sony NEX is not capable of sustaining triggering rates faster than that once the buffer is full.
This reply was deleted.


DIY Robocars via Twitter
RT @TinkerGen_: "The Tinkergen MARK ($199) is my new favorite starter robocar. It’s got everything — computer vision, deep learning, sensor…
DIY Robocars via Twitter
DIY Robocars via Twitter
RT @roboton_io: Join our FREE Sumo Competition 🤖🏆 👉 https://roboton.io/ranking/vsc2020 #sumo #robot #edtech #competition #games4ed https://t.co/WOx…
Nov 16
DIY Drones via Twitter
First impressions of Tinkergen MARK robocar https://ift.tt/36IeZHc
Nov 16
DIY Robocars via Twitter
Our review of the @TinkerGen_ MARK robocar, which is the best on the market right now https://diyrobocars.com/2020/11/15/first-impressions-of-tinkergen-mark-robocar/ https://t.co/ENIlU5SfZ2
Nov 15
DIY Robocars via Twitter
RT @Ingmar_Stapel: I have now explained the OpenBot project in great detail on my blog with 12 articles step by step. I hope you enjoy read…
Nov 15
DIY Robocars via Twitter
RT @DAVGtech: This is a must attend. Click the link, follow link to read the story, sign up. #chaos2020 #digitalconnection #digitalworld ht…
Nov 15
DIY Robocars via Twitter
RT @a1k0n: Got a new chassis for outdoor races (hobbyking Quantum Vandal) but I totally didn't expect that it might cause problems for my g…
Nov 11
DIY Drones via Twitter
First impressions of the Intel OpenBot https://ift.tt/36qkVV4
Nov 10
DIY Robocars via Twitter
Nov 9
DIY Robocars via Twitter
Excellent use of cardboard instead of 3D printing! https://twitter.com/Ingmar_Stapel/status/1324960595318333441
Nov 7
DIY Robocars via Twitter
RT @chr1sa: We've got a record 50 teams competing in this month's @DIYRobocars @donkey_car virtual AI car race. Starting today at 10:00am…
Nov 7
DIY Robocars via Twitter
Nov 6
DIY Robocars via Twitter
RT @a1k0n: Car's view, using a fisheye camera. The ceiling light tracking algorithm gave me some ideas to improve ConeSLAM, and having grou…
Nov 5
DIY Robocars via Twitter
RT @a1k0n: To get ground truth I measured the rug, found the pixel coordinates of its corners, calibrated my phone camera with my standard…
Nov 5
DIY Robocars via Twitter
RT @a1k0n: @DIYRobocars is back in December, but outside. Time to reinvestigate ConeSLAM! I rigged up a quick and dirty ground-truth captur…
Nov 5