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

Follow https://github.com/googlecartographer/cartographer/pull/958. #754

Merged
merged 1 commit into from
Mar 5, 2018

Conversation

pifon2a
Copy link
Contributor

@pifon2a pifon2a commented Mar 5, 2018

No description provided.

@pifon2a pifon2a merged commit 4746d5a into cartographer-project:master Mar 5, 2018
@pifon2a pifon2a deleted the fol branch March 5, 2018 12:43
doronhi pushed a commit to doronhi/cartographer_ros that referenced this pull request Nov 27, 2018
doronhi pushed a commit to doronhi/cartographer_ros that referenced this pull request Nov 27, 2018
doronhi pushed a commit to doronhi/cartographer_ros that referenced this pull request Nov 27, 2018
…r-project#729)

I noticed that @jihoonl opened the PR cartographer-project#726 which performs a similar thing. As discussed in cartographer-project#613 (@cschuet  has already taken a look), I pulled this out of cartographer-project#481 (a really old PR whose merging has been postponed), which is an example where re-running optimization is triggered from elsewhere as well (besides from `ComputeConstraintsForNode`). This refactoring makes libcartographer friendlier for use cases such as that one.

An important detail is that I have changed the condition in `WaitForAllComputations` to also check if the work queue is empty. If there are other things on the worker queue besides `ComputeConstraintsForNode`, currently we will wrongfully conclude that all computations are done. (This detail was merged in cartographer-project#754, so it's no longer in the diff of this PR).

Also missing is the same thing for 3D. I can add that when we settle on this.

Also, I suggest that `run_loop_closure` gets renamed to `run_optimization`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants