Forum

Author Topic: Using Dji Gimbal angles.  (Read 2142 times)

JMR

  • Hero Member
  • *****
  • Posts: 502
    • View Profile
Using Dji Gimbal angles.
« on: June 19, 2018, 04:49:15 PM »
This an old issue but not fully understood by me.
the topic http://www.agisoft.com/forum/index.php?topic=7286.msg35063#msg35063 included some useful code to list gimbal angles and aircraft angles as well. By using it, one can notice that none of them correspond to what one could wish (something close to the estimated angles after a successful alignment with ground control)

Extracting angles from XMP data by means of the built-in funciton will lead user to wrong input data because it imports the so called flight angles rather than the gimbal ones... so it is useless. But even if it had read the right metadata, one would find that when camera is looking nadir, the gimbal pitch is stored as -90.0 while if used agisoft's convention it should be something close to 0 degrees. So it is likely DJI uses NED (north-east-down, typical for aerial vehicles) rather than ENU (east-north-up) convention.

Alexey: could you please modify the "read xmp" function so that when reading camera angles from dji, it can pick the right entries and convert them to the same convention used in photoscan?, if you do not consider this modification to be a good idea at all, could you please modify the py code in the related post so it can work as desired and filled photo angles to the ref pane?
Thank you!
GEOBIT
« Last Edit: June 19, 2018, 07:07:12 PM by JMR »

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14847
    • View Profile
Re: Using Dji Gimbal angles.
« Reply #1 on: July 09, 2018, 12:35:55 PM »
Hello JMR,

Please check the version 1.4.3:
http://www.agisoft.com/downloads/installer/

Now PhotoScan should be loading the gimbal angles to the Reference pane, if this information in available in the XMP.
Best regards,
Alexey Pasumansky,
Agisoft LLC

JMR

  • Hero Member
  • *****
  • Posts: 502
    • View Profile
Re: Using Dji Gimbal angles.
« Reply #2 on: July 11, 2018, 08:24:39 PM »
Great thanks for listening us! Alexey