Refactor aggregator#365
Open
kimichenn wants to merge 9 commits into
Open
Conversation
AskewParity
requested changes
May 15, 2026
AskewParity
left a comment
Contributor
There was a problem hiding this comment.
I have not tested this yet. These are just some cosmetic changes I'd like to see. Overall, I think the architecture is good.
For this PR specifically, we should wait until both Kaz and I approve to merge.
Contributor
|
One more thing: targets matched should live in mission state instead of CVAggregator |
* feat: precompute all paths * chore: add buffer between computed paths * feat; consolidate waypoints into one mission * deleted existence of next waypoint * revert: revert past 2 commits * fix: prevent duplicate path decrement * feat: add clear mav mission * fix: change mavlink mission upload scheme * feat: unit tests + refactor code * chore: lint * chore: revert cout in gcs_routes * chore: ensure mission starts * chore: ensure that path has enough points before deleting * chore: lint * feat: assert existance of cartesean converter * chore: pass cartesean converter by reference * chore: create check for search path generation --------- Co-authored-by: Braxten Nguyen <braxtennguyen556@gmail.com>
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.
Closes #325 (sample n images)
Refactor the entire aggregator. Now it serves as an API (initialized upon mission prep), and it listens to the image folder and reads in the image diffs every 500ms (configurable). I also added sampling every n images to reduce bloat.
Tested on sitl and everything still works fine.