Frc5572 / FRC2023

Code repo for 2023 Charged UP
Other
0 stars 0 forks source link

Arm Subsystem #3

Closed owenflatman closed 1 year ago

owenflatman commented 1 year ago

Arm needs to be able to extend, retract, move upwards and downwards to reach low pole, medium pole, high pole, low shelf, medium shelf, and high shelf.

Functions:

Hypothetical

Components Needed:

getMeasurement() will track the difference between the current encoder degree and target encoder degree (target will have pre-defined values).

Must use a PIDF system: https://docs.wpilib.org/en/stable/docs/software/advanced-controls/controllers/pidcontroller.html

aidan-underwood commented 1 year ago

good example: https://github.com/wpilibsuite/allwpilib/blob/main/wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/armbot/subsystems/ArmSubsystem.java

legoguy1000 commented 1 year ago

https://www.chiefdelphi.com/t/holding-up-a-wrist-with-a-neo/425787?u=legoguy1000