2202Programming / PriorBots

Code for multiple robots we still run in a single build.
MIT License
3 stars 0 forks source link

TimBot - Elevation control #5

Open dlaufen opened 1 month ago

dlaufen commented 1 month ago

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:

Public API Sketch: SetElevation(double angle_deg) bool IsAtAngle()