_mission_data.mavlink_mission_item_to_mission_item_indices is never cleared which means we might have more mavlink_mission_item_to_mission_item_indices than we want if we download a list of items smaller than the previous one
Thanks for the report.
What's needed to fix this? Is it simply a matter of clear()ing the list before we start inserting into it?
yes only that hehe. I'm not working with the last version of MAVSDK and I don't have the time to upgrade for now with my job but yes if you clear it everything is fine !
Okay, if it's just clearing I can try to get a PR for this soon.
Most helpful comment
yes only that hehe. I'm not working with the last version of MAVSDK and I don't have the time to upgrade for now with my job but yes if you clear it everything is fine !