Skip to content
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

Fix warnings after clearing mission #1207

Merged
merged 3 commits into from
Nov 17, 2023

Conversation

peterbarker
Copy link
Contributor

Steps to reproduce:

./Tools/autotest/sim_vehicle.py -v ArduCopter --gdb --debug --map

wp load Tools/autotest/ArduCopter_Tests/copter_terrain_mission.txt

Kill the simulation and restart

wpedit

"Read WPs` in the Mission Editor interface

Right-click in the map and select Mission -> Clear

Observe the error messages in the console:

image

After this patch no errors in console.

we will be detecting the stale status of the mission via opaque checksum into the future, so the number thing is irrelevant.

the Mission Editor message about after write was misleading; the write status is irrelevant
this avoids misleading messages when a waypoint count is received which doesn't match our own
avoids mission-is-stale messages after clearing mission
@tridge tridge merged commit b577fcb into ArduPilot:master Nov 17, 2023
@peterbarker peterbarker deleted the pr/wp-list-fixes branch January 2, 2024 01:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants