Skip to content

RSDK-13626: Remove getImage and renderFrame from camera service#513

Open
hexbabe wants to merge 1 commit intomainfrom
RSDK-13626-remove-getimage-renderframe
Open

RSDK-13626: Remove getImage and renderFrame from camera service#513
hexbabe wants to merge 1 commit intomainfrom
RSDK-13626-remove-getimage-renderframe

Conversation

@hexbabe
Copy link
Member

@hexbabe hexbabe commented Mar 17, 2026

Summary

  • Remove getImage and renderFrame override methods from CameraService
  • Remove unused httpbody.pb.dart import

Pre-emptive cleanup ahead of viamrobotics/api#758 which deletes these RPCs from camera.proto. Both methods were already throwing UnimplementedError. Without this change, the @override annotations will cause compilation failures when the parent class no longer declares these methods after proto regeneration.

Test plan

  • Verify existing camera tests pass
  • Confirm the gRPC base class provides default unimplemented responses for removed RPCs

🤖 Generated with Claude Code

Pre-emptive removal ahead of viamrobotics/api#758 which deletes these RPCs
from camera.proto. Both were already throwing UnimplementedError.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@hexbabe hexbabe requested a review from a team as a code owner March 17, 2026 13:31
@viambot
Copy link
Member

viambot commented Mar 17, 2026

👋 Thanks for requesting a review from the team!

We aim to review PRs within one business day. If this is urgent
or blocking you, please reach out in #team-sdk and
we'll prioritize it.

@hexbabe hexbabe closed this Mar 17, 2026
@hexbabe hexbabe reopened this Mar 17, 2026
Copy link
Member

@allisonschiang allisonschiang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a test is failing:

Dart analysis fails with:

lib/src/components/camera/service.dart:12:7 - Missing concrete implementations of 'CameraServiceBase.getImage' and 'CameraServiceBase.renderFrame'. ... - non_abstract_class_inherits_abstract_member

@allisonschiang allisonschiang self-requested a review March 19, 2026 21:28
Copy link
Member

@allisonschiang allisonschiang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops after leaving that comment I realized its failing because its waiting for the api changes....

@hexbabe
Copy link
Member Author

hexbabe commented Mar 19, 2026

oops after leaving that comment I realized its failing because its waiting for the api changes....

nw

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.

3 participants