[MSDK 5.9.1] Wrong pitch for the first photo of mission

已完成

评论

9 条评论

  • DJI Developer Support
    You can upload the file to this address. Additionally, could you provide us with a video of the gimbal stuck ? https://pan-sec.djicorp.com/s/BsN9G9kXPCjDHrT password:dji123
    0
    评论操作 固定链接
  • Sergey Gorodetsky

    Done!

    You can see around 00:06 that gimbal stopped, that's the moment when the aircraft makes photo for the first waypoint. Attached wayline files are my attempts to achieve expected pitch, but to no avail. Some additional info about those missions:

    File: waylines_3992.txt
    Gimbal Pitch: -40.1
    Gimbal Yaw: 40.9
    Waypoint Index: 4
    Expected Gimbal Pitch: -89
    Expected Gimbal Yaw: 41.5

    File: waylines_4003.txt
    Gimbal Pitch: -67.5
    Gimbal Yaw: 9.6
    Waypoint Index: 4
    Expected Gimbal Pitch: -89
    Expected Gimbal Yaw: 41.5

    File: waylines_4005.txt
    Gimbal Pitch: -67.7
    Gimbal Yaw: 40.9
    Waypoint Index:4
    Expected Gimbal Pitch: -89
    Expected Gimbal Yaw: 41.5

    0
    评论操作 固定链接
  • DJI Developer Support
    Please hold on for a moment; I will use the document you provided to attempt to reproduce this issue.
    0
    评论操作 固定链接
  • DJI Developer Support
    I have replicated this issue. I will check with the engineers to confirm whether this behavior is as expected.
    0
    评论操作 固定链接
  • Sergey Gorodetsky

    Thank you for providing the information and for looking into my issue. I look forward to your response.

    0
    评论操作 固定链接
  • DJI Developer Support
    I will reach out to you as soon as I receive the analysis results.
    0
    评论操作 固定链接
  • DJI Developer Support
    Thank you for your patience. After our analysis, we found that the waypoint file you are using contains errors. The action of type gimbalEvenlyRotate can only be paired with turning modes of type toPointAndStopWithDiscontinuityCurvature or toPointAndStopWithContinuityCurvature. Using it with other modes will result in the situation you have encountered.
    0
    评论操作 固定链接
  • Sergey Gorodetsky

    Thank you very much for the help! Correct me if I wrong: if I set gimbalEvenlyRotate with betweenAdjacentPoints it means that the aircraft will start to change the gimbal at that waypoint and will finish until the next one, correct?

    0
    评论操作 固定链接
  • DJI Developer Support
    You are correct. If the difference between the starting and ending serial numbers is only 1, then it is as you described. However, the error in your document is not related to the combination of `betweenAdjacentPoints` and `gimbalEvenlyRotate`, but rather to `WaypointTurnMode`. The `WaypointTurnMode` that does not pass through waypoints will affect the waypoint actions that must reach the points to trigger the start and end effects.
    0
    评论操作 固定链接

请先登录再写评论。