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

Use Gyro widget with double values #146

Open
NaN0987 opened this issue Nov 29, 2024 · 0 comments
Open

Use Gyro widget with double values #146

NaN0987 opened this issue Nov 29, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@NaN0987
Copy link

NaN0987 commented Nov 29, 2024

Is your feature request related to a problem? Please describe.
This issue breaks compatibility with older Shuffleboard code, but I don't know whether or not that makes it a bug. On Shuffleboard, you can use the gyro widget for any double value by using .withWidget(BuiltInWidgets.kGyro). However, this does not work on elastic, and you have to add the gyro object itself. This forces you to use the yaw value reported by your gyro instead of the heading reported by odometry.

Describe the solution you'd like
It would be nice if the gyro widget could also function as a single topic widget for doubles, like it does in Shuffleboard.

Describe alternatives you've considered
You can use a radial gauge to show gyro values, but it requires a bit of setup for it to look good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant