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

Add list of classes with struct support #2444

Open
katzuv opened this issue Dec 16, 2023 · 6 comments
Open

Add list of classes with struct support #2444

katzuv opened this issue Dec 16, 2023 · 6 comments

Comments

@katzuv
Copy link
Contributor

katzuv commented Dec 16, 2023

It'll be nice to have a list of classes which support structs, and what values they hold. It looks like the only way to do this currently is to look through the source code.

@calcmogul
Copy link
Member

What use case does this help with?

@katzuv
Copy link
Contributor Author

katzuv commented Dec 16, 2023

First, just to let people know it exists. Second, for example we today needed to dig through the source code to find that Rotation2d has a struct, and to find out it holds the value in radians and not in degrees.

@calcmogul
Copy link
Member

Yea, we should document the struct contents somewhere, because you need to know that to actually use it. Sounds like something that should be in API docs though rather than general docs.

@katzuv
Copy link
Contributor Author

katzuv commented Dec 17, 2023

Should I open an issue in allwpilib?

@calcmogul
Copy link
Member

Sure

@jasondaming
Copy link
Member

Are we closing this issue then?

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

No branches or pull requests

3 participants