Welcome to PhantomPilots.com

Sign up for a weekly email of the latest drone news & information

Beta testers wanted for new P3 flight visualization app (Mac/Windows)

Discussion in 'Pro/Adv Discussion' started by jflyer3, May 23, 2015.

  1. jflyer3

    Joined:
    Jul 5, 2014
    Messages:
    108
    Likes Received:
    14
    Hi, I'm working on adding Phantom 3 support to my vehicle flight data visualization application (Dashcam Viewer). The software allows you to playback video of your flight alongside a Google Map showing your current position. Graphs and Data views show you additional flight data as the movie is played. I don't have a P3 so I've been working with a P3 pilot to get initial support working. But I'd like to get additional feedback from other flyers too, especially in regards to bugs and feature requests. The software relies on the SRT file being in the same location as the movie file and having the same name as the movie file (except for the extension).

    You can get the software here:

    Mac (OS X 10.8+): https://earthshinesw.files.wordpress.com/2015/05/dashcam_viewer_v1-7-6.zip
    Windows (Win7,Win8): https://earthshinesw.files.wordpress.com/2015/05/dashcamviewerwin_v1-7-6.zip

    [​IMG]
    A few caveats:
    1. That lat/lon data stored in the SRT file is somewhat low resolution. When moving slow you may see stair-stepping in the GPS track and speed graphs.
    2. 4K video may stutter during playback. I think my iMac is overwhelmed by the data rate! 1080p seems to work fine.
    3. You may see some playback stuttering on certain Windows computers. Still trying to diagnose this. The Mac version with 1080p does not stutter.
    A couple of questions for you P3 folks:
    1. In the SRT file, does anyone know what the "Hs" parameter is?
    2. I heard there is a flight data file stored in the Pilot app that records the flight telemetry at a higher resolution. Would someone be able to send me one of these files along with a corresponding 1080p flight movie?
    Special thanks to Evan P. for his help in developing this capability.
     
    HunterSK likes this.
  2. loganboyd

    Joined:
    Dec 26, 2013
    Messages:
    398
    Likes Received:
    117
    Location:
    Austin, TX
    I thought I saw Hs defined as Horizontal Speed. Does the data make sense for that?
     
  3. flyNfrank

    Joined:
    Feb 1, 2014
    Messages:
    4,216
    Likes Received:
    911
    Location:
    Indy, USA
    Great... Check your messages/conversations.
     
  4. F6Rider

    Joined:
    Feb 5, 2014
    Messages:
    1,126
    Likes Received:
    346
    Location:
    Foothills Of The Sierra's, California
    I read that the Flight Data stored on the Pilot app device has much more and better detailed data than the SRT file. The file can be accessed and downloaded with iFunBox app. I am sure someone will be happy to send you the file with the corresponding video for testing. This would be great if we can do the data overlay without converting the file first. I downloaded the app and will test out... thanks for the work.
     
  5. flyNfrank

    Joined:
    Feb 1, 2014
    Messages:
    4,216
    Likes Received:
    911
    Location:
    Indy, USA
    Btw, "Hs" Horizontalspeed is correct. And "Vs" would be Verticalspeed.
     
  6. flyNfrank

    Joined:
    Feb 1, 2014
    Messages:
    4,216
    Likes Received:
    911
    Location:
    Indy, USA
    Are you able to View the data accessed by iFunbox?

    I downloaded iFunbox but have yet to use it.
     
  7. jflyer3

    Joined:
    Jul 5, 2014
    Messages:
    108
    Likes Received:
    14
    I thought so too at first. But the Hs values in the sample SRT file I've been using are mostly zeroes. For example, here the P3 is obviously moving based on its changing lat/lon but the Hs value is 0.0.

    325
    00:05:26,000 --> 00:05:27,000
    HOME(-123.0328,37.5614) 2015.5.9 16:52:29
    GPS(-123.0251,37.5576,14) Hb:121.7 Hs:0.0
    ISO:100 TV:2500 EV:-1 IR:F2.8

    326
    00:05:27,000 --> 00:05:28,000
    HOME(-123.0328,37.5614) 2015.5.9 16:52:30
    GPS(-123.0252,37.5577,14) Hb:121.6 Hs:0.0
    ISO:100 TV:2500 EV:-1 IR:F2.8
     
  8. F6Rider

    Joined:
    Feb 5, 2014
    Messages:
    1,126
    Likes Received:
    346
    Location:
    Foothills Of The Sierra's, California
    Yes, just connect your device to your computer, unlock if needed, start iFunbox, navigate to >app file sharing>DJI Pilot>localcache> then either 'flight record' or >Litchi folder. As I have not used litchi I am not sure which data file it needs for the conversion.
     
  9. Michael Olsen

    Joined:
    May 11, 2015
    Messages:
    76
    Likes Received:
    33
    Location:
    Halesite, NY
    This is really interesting. But how do you attach the sidecar data, either SRT or CSV orf the data log? I can get the video to play, but no sidecar data.

     
  10. F6Rider

    Joined:
    Feb 5, 2014
    Messages:
    1,126
    Likes Received:
    346
    Location:
    Foothills Of The Sierra's, California
    I think the SRT file has to be in the same folder as the video with exactly the same name except for the extension of course. I will try it today after a flight.
     
  11. apocnz

    Joined:
    May 20, 2015
    Messages:
    27
    Likes Received:
    11
    I'm gonna take a giant stab at this...

    Hb = Height Barometer and Hs = Height Sonar (from the VPS)

    I noticed I only have Hs values when the Phantom is <2-3m in height and then it reads downwards the closer to the ground it gets.

    In saying that, it's disappointing your V/Speed and/or H/Speed are not logged in this data.
     
  12. blade strike

    Joined:
    Mar 17, 2014
    Messages:
    808
    Likes Received:
    462
    Location:
    Big Bear, CA
    You dont need itoolbox to get the flight logs. Just use iTunes...
     
  13. F6Rider

    Joined:
    Feb 5, 2014
    Messages:
    1,126
    Likes Received:
    346
    Location:
    Foothills Of The Sierra's, California
    Well, the program plays back the video just fine, and I get the map track ok, as well as speed and altitude. These are in the side boxes, is there any way to overlay the data on the video itself? All this is coming from the .srt file, which is cool as no converting needed.
    [​IMG]
     
  14. jflyer3

    Joined:
    Jul 5, 2014
    Messages:
    108
    Likes Received:
    14
    F6Rider, glad it works for you. Currently there is no way to overlay the info on top of the movie. Instead I display date, time and speed in the header area above the movie. Not quite as convenient as overlays but simpler to implement. I'll add this suggestion to my job jar.
     
  15. F6Rider

    Joined:
    Feb 5, 2014
    Messages:
    1,126
    Likes Received:
    346
    Location:
    Foothills Of The Sierra's, California
    I haven't pulled the flight data off of the internal SD card to convert to CSV as of yet, do you know if it contains much more data than the .srt file? I like that I can just load the video into Dashcam and I can convert the .srt to CSV with one click. And your 'snapshot' on the fly is great for screen grab from the video.