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

motor failure Ident #15

Open
roterrex opened this issue Dec 1, 2024 · 0 comments
Open

motor failure Ident #15

roterrex opened this issue Dec 1, 2024 · 0 comments

Comments

@roterrex
Copy link
Contributor

roterrex commented Dec 1, 2024

Add code to identify a motor which should turn but is not.
This should intitially be applied and tested on swerve drive and steering motors, but may also be tested on falcon motors.

(Important) there is to be no action taken if failure is detected at this stage. The risk of this safety system triggering and ending a match when not needed, concerns me more than damage from a failed motor. If triggered it should print and log only.

Suggestions,

  1. these motors have encoders, can a condition be designed to detect a motor with power applied but no rotation.
  2. note: a motor that has had power applied 0.01s before will not be spinning yet, this must be accounted for.
  3. is it possible to distinguish a failed encoder from a failed motor.
  4. is a motor underperforming, to be treated the same as a dead motor, as a motor phisically jammed.
  5. some motors will have stopping conditions such as limit switches, this must be accounted for.
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

1 participant