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

Suggestion: VisionOption Stronger Typing #81

Open
tomtzook opened this issue Dec 27, 2021 · 1 comment
Open

Suggestion: VisionOption Stronger Typing #81

tomtzook opened this issue Dec 27, 2021 · 1 comment

Comments

@tomtzook
Copy link
Member

So far VisionOption is defined with a type. However this has limitations in some situation, especially when having to serialize the information.

One option is to use some generic serialization option. Or to require the types to answer some requirement (implement some interface) to allow servers to convert that complex type into a primitive one and backwards.

@tomtzook
Copy link
Member Author

Can use a sort of Type class which describes the data contained in it to be used by different serialization techniques, e.g. NetworkTables.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant