Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR refactors the pipeline API to support asynchronous pose estimation by replacing the synchronous pose() method with recent_estimates() that returns stamped pose estimates. This enables pipelines to output poses that may not correspond to the most recent scan timestamp.
Key changes:
- Replaced
Pipeline::pose()withPipeline::recent_estimates()to return buffered stamped pose estimates - Split visualization logging into separate
log_pose()andlog_scan()methods - Updated all pipeline implementations to use the new buffering mechanism via
push_back_estimate()
Reviewed Changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| cpp/evalio/pipeline.h | Added recent_estimates() method and push_back_estimate() helper to base Pipeline class |
| cpp/bindings/pipeline.h | Updated Python bindings to expose recent_estimates() instead of pose() |
| cpp/bindings/pipelines/*.h | Updated all pipeline implementations to call push_back_estimate() instead of implementing pose() |
| python/evalio/rerun.py | Split visualization into log_pose() and log_scan(), updated new_pipe() signature |
| python/evalio/cli/run.py | Updated to iterate over recent_estimates() and call separate logging methods |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
contagon
added a commit
that referenced
this pull request
Nov 12, 2025
BREAKING CHANGE: The Pipeline class interface has changed slightly. `add_lidar` now has no return, and `pose` method has been removed. In place of these is a new `save` method for saving poses and features asynchronously with no overhead.
This was referenced Nov 12, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rather than always reporting a pose at a fixed timestamp after a call to
add_lidar, this PR adds in a pose "buffer" to allow pipelines to push back a pose estimate at any time (ie not exactly when a scan is received, inadd_imu, etc) allowing a lot more flexibility and proper handling of timestamped data.Ran a few small tests over all pipelines to verify, they all had identical results to before.
Still todo: