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 –

Replies

    • Here is a Dropbox link to the photoset and the three log files. Let me know if that doesn't work for you.

      Dropbox - Error
      Dropbox is a free service that lets you bring your photos, docs, and videos anywhere and share them easily. Never email yourself a file again!
      • I just tried to open the logs, but these are the wrong ones.

        you uploaded the logs from the mission planner only.

        Recording telemetry

        Mission Planner:

        MAVLink telemetry is automatically recorded when MAVlink is connected. Files are in your “logs” subfolder in your Mission Planner folder and given data/time filenames (you can rename them). There are two types saved: “.tlog” and “.rlog”. You should normally just use the
        tlog
        files; the
        rlog
        s are just for debugging and contain all the output from the APM serial stream, including debugging info.

        Please unplug the micro sd card from your pixhawk and upload the bin file from the flight! Thanks!

        • Hi Yannick,

          That could be part of the problem! I've uploaded two BIN files from the Pixhawk SD card, I'm not sure which of the two was for that flight (I'm 80% sure it's the first file). What do I do with the BIN files? Do I use them like I'd used the tlog files?

          Thanks!

          • MP has a function to convert PX4 bin to dataflash log files. By the way, it's preferable to use dataflash logs rather than tlogs for geotagging because of latency and possible interruptions in telemetry.

            3702826569?profile=original

            • Ah, cool! Got it to work, but altitude still seems to be relative even though I'm taking the correct column from the dataflash log txt file... so the bigger problem still is not fixed.

              Thanks for the tip MC!

              • Hey David,

                the first bin was the right one. But there are no CAM messages recorded, please check your log settings.

                The CAM message look like this one:

                CAM, 481236600, 1804, 53.4139451, 8.0163265, 94.07, -26.10, 2.87, 75.31

                • Writing my reply here since I think we reached the max on the below reply.

                  It actually is working ok, but the altitude is incorrect (which is why the thread was made). I'm waiting on an IR trigger and then I plan on using the Pixhawk.

                  • Yannick,

                    Thnx for the tip but i cud not find the complete log of this particular flight, the attached log file is the last part of the mission. Any idea why the complete log file is not available.

                    Also how do i know that the dataflash is recording CAM messages,is there any way to check it.

                • That's because I'm using time offset/intervalometer, not CAM triggering. Should I leave my cam distance or cam timer trigger on from the Pixhawk even though they're not currently in use?

                  • Okay, i didn't know that. So you can just do georef by time offset, but thats very unprecise.

                    You should try to find a way to trigger your camera with the pixhawk. This gives a better result. This is also better, because the time between each photo is different  when you fly with or against the wind.

                    @ Kathik,

                    i think you got the wrong one. When you open the log file with the mission planner, you can click on "show map". This should help to find the missing log.

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @knightsautoteam: Hi @diyrobocars, we are Orlando's first Autonomous racing club and would love your support. We are hosting our first K…
Friday
DIY Robocars via Twitter
RT @Heavy02011: #VirtualRaceLeague: @DIYRobocars Race #14 - #ParkingLotNerds join us January 15th for #AutonomousRacing #RoboRace ⁦@DAVGtec…
Jan 16
DIY Robocars via Twitter
RT @chr1sa: And after that came our races, 50 in all. This battle between these two Russians was the best we've ever seen -- incredible fig…
Jan 16
DIY Robocars via Twitter
RT @chr1sa: Before our @DIYRobocars virtual race this weekend, we had a presentation from the team that won the Indy Autonomous Challenge i…
Jan 16
DIY Drones via Twitter
Dec 12, 2021
DIY Robocars via Twitter
Dec 12, 2021
DIY Robocars via Twitter
RT @chr1sa: Just a week to go before our next @DIYRobocars race at @circuitlaunch, complete with famous Brazilian BBQ. It's free, fun for k…
Dec 4, 2021
DIY Robocars via Twitter
How to use the new @donkey_car graphical UI to edit driving data for better training https://www.youtube.com/watch?v=J5-zHNeNebQ
Nov 28, 2021
DIY Robocars via Twitter
RT @SmallpixelCar: Wrote a program to find the light positions at @circuitlaunch. Here is the hypothesis of the light locations updating ba…
Nov 26, 2021
DIY Robocars via Twitter
RT @SmallpixelCar: Broke my @HokuyoUsa Lidar today. Luckily the non-cone localization, based on @a1k0n LightSLAM idea, works. It will help…
Nov 25, 2021
DIY Robocars via Twitter
@gclue_akira CC @NVIDIAEmbedded
Nov 23, 2021
DIY Robocars via Twitter
RT @luxonis: OAK-D PoE Autonomous Vehicle (Courtesy of zonyl in our Discord: https://discord.gg/EPsZHkg9Nx) https://t.co/PNDewvJdrb
Nov 23, 2021
DIY Robocars via Twitter
RT @f1tenth: It is getting dark and rainy on the F1TENTH racetrack in the @LGSVLSimulator. Testing out the new flood lights for the racetra…
Nov 23, 2021
DIY Robocars via Twitter
RT @JoeSpeeds: Live Now! Alex of @IndyAChallenge winning @TU_Muenchen team talking about their racing strategy and open source @OpenRobotic…
Nov 20, 2021
DIY Robocars via Twitter
RT @DAVGtech: Live NOW! Alexander Wischnewski of Indy Autonomous Challenge winning TUM team talking racing @diyrobocars @Heavy02011 @Ottawa…
Nov 20, 2021
DIY Robocars via Twitter
Incredible training performance with Donkeycar https://www.youtube.com/watch?v=9yy7ASttw04
Nov 9, 2021
More…