Welcome to PhantomPilots.com

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

P3S Litchi waypoint

Discussion in 'Control (Go, Litchi, etc..)' started by dug611, Sep 15, 2018.

  1. dug611

    Joined:
    Mar 10, 2017
    Messages:
    21
    Likes Received:
    5
    This was the 2nd flight from the same location. Litchi mission went from AutoTakeoff to Waypoint to Atti. The only thing that changed on the csv file was the "flyStateRaw" 11, 14, 1. Anybody know what "flyStateRaw" is why and it would do that. Thanks
     
    kyawko likes this.
  2. Fly Dawg

    Joined:
    Apr 29, 2016
    Messages:
    3,032
    Likes Received:
    1,230
    Location:
    Watkinsville, Georgia
    Your'e not providing very much information here. It would be nice to see the file in question. To answer your question initially "
    OSD.flycState.RAW is the pure numerical value of OSD.flycState. If you look at the aforementioned 2 columns you will see that "11" is equivalent to "AutoTakeoff" etc..and so forth. Not really sure what you are looking for here, other than possibly to determine why the AC went in to ATTI mode during a mission.
     
    kyawko likes this.
  3. dug611

    Joined:
    Mar 10, 2017
    Messages:
    21
    Likes Received:
    5
    kyawko likes this.
  4. Fly Dawg

    Joined:
    Apr 29, 2016
    Messages:
    3,032
    Likes Received:
    1,230
    Location:
    Watkinsville, Georgia
    There is not enough data here to give you an answer. I suggest you pull the .dat file from the aircraft and upload it to the dropbox site that you did with the .csv. If you do not know how to get these, follow the link below for instructions.

    How to retrieve a .DAT
     
  5. dug611

    Joined:
    Mar 10, 2017
    Messages:
    21
    Likes Received:
    5
  6. Fly Dawg

    Joined:
    Apr 29, 2016
    Messages:
    3,032
    Likes Received:
    1,230
    Location:
    Watkinsville, Georgia
    FLY403 has compass and yaw errors. FLY404 has compass errors for the entire log. FLY405 is just fine. The compass errors are what causes the aircraft to switch to ATTI, along with your GPS health which was very low.
     
  7. dug611

    Joined:
    Mar 10, 2017
    Messages:
    21
    Likes Received:
    5
    I guess the errors could be caused from the driveway with wire in it, but what about the GPS health? I thought I had plenty of satellites, and first flight was fine. Thanks for ur input
     
  8. Fly Dawg

    Joined:
    Apr 29, 2016
    Messages:
    3,032
    Likes Received:
    1,230
    Location:
    Watkinsville, Georgia
    That is a calculated number. You had 9 sat's acquired, but overall health was low.
     
  9. dug611

    Joined:
    Mar 10, 2017
    Messages:
    21
    Likes Received:
    5
    So strange since both flights were 15 minutes apart at the same spot. Is there an app/way to determine GPS health
     
  10. Fly Dawg

    Joined:
    Apr 29, 2016
    Messages:
    3,032
    Likes Received:
    1,230
    Location:
    Watkinsville, Georgia
    No, those are values in the aircraft .dat log file.
     
  11. dug611

    Joined:
    Mar 10, 2017
    Messages:
    21
    Likes Received:
    5
    Last question sorry, do I need to send back to DJI in your opinion?
     
  12. Fly Dawg

    Joined:
    Apr 29, 2016
    Messages:
    3,032
    Likes Received:
    1,230
    Location:
    Watkinsville, Georgia
    Not at this point. You should do some more test's, but this time in an open area that is free of any metalic objects. Re-Calibrate your compass there and do a quick test flight. If all is good, return to the spot you used for the above flight that had the compass issue. Do not re-calibrate for this second test. If this occurs again, then you will know what caused the issue to begin with. That is what I would do first.
     
  13. dug611

    Joined:
    Mar 10, 2017
    Messages:
    21
    Likes Received:
    5
    Thanks for ur help and input.
     
  14. BudWalker

    Joined:
    Jun 24, 2015
    Messages:
    1,291
    Likes Received:
    470
    Location:
    Santa Margarita, Ca
    This looks to me like the usual launch-from-a-geomagnetically-distorted-location incident. Before launch the difference between Yaw and mgaYaw was about +11° since the Yaw value had been adjusted for the geoDeclination at the launch site. As the P3S began it's ascent it rose above the geoMagnetic distortion and Yaw-magYaw changed to -25°. That's a 46° change.
    upload_2018-9-16_15-7-54.png

    If Litchi can replay the flight I believe that it will show a -72° heading at launch but if you looked at the P3S you would have seen that it's actual heading was about -112°.

    Looks like you launched from concrete which can sometimes have rebar that will cause a geomagnetic distortion.
    upload_2018-9-16_15-21-56.png
    Not, also the toilet bowling - a clear indicator of a geomagnetically distorted launch site.

    I know you have launched from this site before without incident. The P3S magnetometer is in the bottom of the leg, almost touching the launching surface. And, the extent of the geomagnetic distortion can be small - 1 or 2 cm. So it's quite possible that a change of 1 or 2 cm will determine if there is an incident.

    It used to be that the P3 series would switched immediately to ATTI when it sees the Yaw-magYaw separation. It seems that about a year ago the P3 FW was changed to use the same strategy used by the Mavic. I.e., the Mavcic. and now the P3, attempts to reconcile a Yaw-magYaw separation. If it can't the switch to ATTI is made.

    The best, and easiest, way to prevent this type of incident is check that the Litchi map heading indicator is consistent with the actual heading. If not, then move to a better location.
     
    #14 BudWalker, Sep 16, 2018
    Last edited: Sep 16, 2018
  15. dug611

    Joined:
    Mar 10, 2017
    Messages:
    21
    Likes Received:
    5
    Thank u both for the in-depth analysis of the problem, recalibrated the compass in a grassy area away for all metal, flown about 10 flights - A ok, thanks again.
     
Loading...
Similar Threads - P3S Litchi waypoint Forum Date
P3S Litchi Waypoints - Warning one or more waypoints are far away (max... Standard Dec 22, 2016
P3se and litchi. No video Control (Go, Litchi, etc..) Aug 15, 2018
P3SE: no screen / videofeed since the last Litchi update Phantom SE May 14, 2018
P3S Litchi mission loads but does not start Control (Go, Litchi, etc..) May 11, 2018
Litchi android issue in F mode - P3S Standard May 5, 2018