-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
TimBot needs a servo built to raise and lower the shooter's elevation.
Motor Controller - SparkMax
Motor is 12v brushed
Feedback - resister voltage measured from Rio analog in.
This linear actuator is not a normal component that we use. It has an embedded motor and potentiometer. One approach would be to adapt/extend the NEOServo class to support voltage as a feedback.
Internal API suggestions:
- convert analog voltage to cm extension
- calculate angle from geometry
Public API Sketch:
SetElevation(double angle_deg)
bool IsAtAngle()
Metadata
Metadata
Assignees
Labels
No labels