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

Implement a subclass for CANSparkMax and put it on the Shuffleboard for each drive motor. #15

Open
blu28 opened this issue Feb 25, 2023 · 0 comments
Labels
advanced Suitable for more advanced robot programers.

Comments

@blu28
Copy link
Contributor

blu28 commented Feb 25, 2023

The CANSparkMax class does not implement the Sendable interface itself, so it cannot be directly sent to the Shuffleboard. The Sendable interface is relatively simple though, and it would be easy to create a subclass of CANSparkMax that implements Sendable, then convert all the CANSparkMAx objects to use the subclass, and then put them on the Shuffleboard.

https://www.chiefdelphi.com/t/how-to-get-cansparkmax-into-livewindows/400887/12

@blu28 blu28 added the advanced Suitable for more advanced robot programers. label Feb 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
advanced Suitable for more advanced robot programers.
Projects
None yet
Development

No branches or pull requests

1 participant