Skip to content

Conversation

@lia-viam
Copy link
Collaborator

@lia-viam lia-viam commented Oct 4, 2024

In #301 I overlooked the existence of the get<T> API which resulted in some really awkwardly phrased inspection code, see #301 (comment)

Should have read my own code/docs! This PR simplifies the accessors in the example code to look mostly like they did before, now with slightly fewer pointer derefs.

@lia-viam lia-viam requested a review from acmorrow October 4, 2024 21:21
@lia-viam lia-viam requested a review from a team as a code owner October 4, 2024 21:21
@lia-viam lia-viam requested review from njooma and purplenicole730 and removed request for a team October 4, 2024 21:21
Copy link
Member

@acmorrow acmorrow left a comment

Choose a reason for hiding this comment

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

LGTM!

@lia-viam lia-viam merged commit 688d80a into viamrobotics:main Oct 7, 2024
2 checks passed
@lia-viam lia-viam deleted the use-proto-value-get branch October 7, 2024 15:02
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