-
Notifications
You must be signed in to change notification settings - Fork 113
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
[DATA-611] Fix cartographer integration test #1639
[DATA-611] Fix cartographer integration test #1639
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For now, can you change this to check for either line? And then remove the old line after the other PR is merged?
@tessavitabile Do you mean like this? if strings.Contains(line, "Finished processing offline data") || strings.Contains(line, "Finished optimizing final map") {
break
} If so, then that won't work for the new PR since we'll exit the for loop as soon as we finish processing offline data. At that point in time the optimization is still running, and since we now return "the most recent map generated" - which does not have any points yet - we receive an error message rather than Changing the code as I suggested on the other hand works for both the current version of slam as well as for the PR I currently have open. |
Ah, thanks for explaining! |
Ticket: https://viam.atlassian.net/browse/DATA-661
This is a fix that's necessary for this PR to go through: viamrobotics/slam#116