Skip to content

Conversation

@lia-viam
Copy link
Collaborator

Addresses the ticket by adding an ostream operator which is used in the error stringstreams rather than casting to uint8_t. Note that the to_string conversion returns nullptr on error, so we cast to a numeric value in this case

@lia-viam lia-viam requested a review from a team as a code owner August 25, 2025 13:56
@lia-viam lia-viam requested review from dhritinaidu and njooma and removed request for a team August 25, 2025 13:56
Copy link
Contributor

@penguinland penguinland left a comment

Choose a reason for hiding this comment

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

LGTM!

I'm glad you wrote this instead of me: this is much more elegant than what I would have done.

@lia-viam lia-viam merged commit d1bc0ce into viamrobotics:main Aug 25, 2025
5 checks passed
@lia-viam lia-viam deleted the mlmodel-data-type-logging branch August 25, 2025 17:52
@atlassian
Copy link

atlassian bot commented Sep 22, 2025

🔗 Link your GitHub account to Atlassian

To enable Code Reviewer, please link your GitHub account to your Atlassian account.

Click here to connect your accounts

This is a one-time setup that takes less than a minute.

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