Skip to content

[M300 RTK] Failed to upload mission v2 #931

@btsatoukzn

Description

@btsatoukzn

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions