-
Notifications
You must be signed in to change notification settings - Fork 612
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
[wpilib] add UnitTopic
#7382
Comments
This sounds like a better fit for a higher level telemetry library- we don't want ntcore to depend on wpimath or wpiunits, and the functionality is really just a wrapper around a double topic. |
Maybe something that could be included in wpilibc/j so it's still easily accessible to teams? |
Wouldn't that still require modifying |
The idea would be a library that takes a Or something similar to a Sendable implementation |
I actually disagree with this. A unit typed topic which behaves the same as other topics makes sense as an abstraction here IMO.
You should be able to create this topic by injecting the instance or parent table instead of using this which would avoid modifying ntcore |
This would be a topic that stores a double with unit information represented in NT metadata. This would improve the logging experience for units greatly
The text was updated successfully, but these errors were encountered: