-
Notifications
You must be signed in to change notification settings - Fork 631
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[M300 RTK] Failed to upload mission v2 #931
Comments
78 raw bool finished = false; /*! {{startIndex, endIndex, waypoint1, waypoint2,...},{startIndex, endIndex,
` around 569 raw std::vector mission_empty; std::vector mission = transformMission2MisssionInternal(this->missionV2); ` |
Agent comment from xiaorong.zheng in Zendesk ticket #95170:
You can see startIndex and endIndex in the log print in missionEncode method. °°° |
thanks for your reply. Since it's a static field, we don't think it will be initialized the second time. thank you. |
Agent comment from xiaorong.zheng in Zendesk ticket #95170: °°° |
hi
When uploading a mission, we encountered the phenomenon described below. We also found a solution. Please confirm whether the solution is appropriate.
・Events that occur
For example, register 10 WP missions. At this time, set WP7 and WP8 to the same latitude, longitude, and altitude. Too close error message is displayed.
Next, register WP3 normal missions. However, mission registration for 3 WPs fails with the following error.
"the start index is greater than end index of upload wps"
・Cause of this event
Static variables in the API source"dji_waypoint_v2.cpp" appear not to be initialized.
·Solution
Modify the static variable so that it is initialized when the mission is uploaded.
thank you.
The text was updated successfully, but these errors were encountered: