Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: model name validation during proto conversions #1688

Merged
merged 1 commit into from
Dec 19, 2022

Conversation

AdamMagaluk
Copy link
Contributor

Related to RSDK-1267 but allows for empty model names in the proto conversions. The ultimately will be validated in by the config system and either result in partial or full failures of the robot depending on the config.

@viambot viambot added the safe to test This pull request is marked safe to test from a trusted zone label Dec 19, 2022
Copy link
Member

@Otterverse Otterverse left a comment

Choose a reason for hiding this comment

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

LGTM, though I left an explanation on why fixAPI should be kept.

config/proto_conversions.go Outdated Show resolved Hide resolved
Related to RSDK-1267 but allows for empty model names in the
proto conversions. The ultimitly will be validated in by the
config system and either result in partial or full failures
of the robot depending on the config.
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Dec 19, 2022
@AdamMagaluk AdamMagaluk merged commit 68ffce7 into viamrobotics:main Dec 19, 2022
@AdamMagaluk AdamMagaluk deleted the model-config branch December 19, 2022 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
safe to test This pull request is marked safe to test from a trusted zone
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants