Skip to content

Conversation

@penguinland
Copy link
Owner

I strongly recommend reviewing this commit-by-commit!

  • The first commit splits 1 long file into 2 smaller files, and moves 400 lines of code around without changing any functionality.
  • The second commit renames vizService to deprecatedVizService and renames NewService() to DeprecatedNewService()
  • TODO: update the plan
  • The third commit creates a new vizService and NewService(), which mainly differ from the previous ones by taking in a resource.Dependencies object instead of a robot.Robot argument.

vision.go was super long, and half of it was unrelated to the other half. So, it's now 2 files. This will make it easier to think about fixing RDSK-11093, which is about updating `vision.NewService()` to not use the deprecated constructor.

No changes to functionality are intended: I just took a file and split it in half.
@penguinland penguinland force-pushed the deprecate_vision_service branch from a4bcd8c to 55dddf1 Compare June 30, 2025 19:24
@penguinland
Copy link
Owner Author

Closing in favor of viamrobotics#5096

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