[MSDK 5.9.1] Wrong pitch for the first photo of mission
CompletedI receive wrong pitch for the first photo in certain missions consistently. Both in flights and simulator mode. I use actionActuatorFunc: gimbalEvenlyRotate and actionTriggerType: betweenAdjacentPoints. I see that gimbal is changing pitch while aircraft is flying between start and end waypoints of this action. But then gimbal gets stuck half way, and photo is taken with incorrect pitch. Is there any known reasons for that behavior? I can provide you wayline files if needed.
All test missions were conducted using Mavic 3T.
-
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 -
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.5File: waylines_4003.txt
Gimbal Pitch: -67.5
Gimbal Yaw: 9.6
Waypoint Index: 4
Expected Gimbal Pitch: -89
Expected Gimbal Yaw: 41.5File: waylines_4005.txt
Gimbal Pitch: -67.7
Gimbal Yaw: 40.9
Waypoint Index:4
Expected Gimbal Pitch: -89
Expected Gimbal Yaw: 41.5 -
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. -
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.
Please sign in to leave a comment.
Comments
9 comments