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

Arm - position control #7

Open
12 of 19 tasks
cyndiac opened this issue Nov 7, 2023 · 0 comments
Open
12 of 19 tasks

Arm - position control #7

cyndiac opened this issue Nov 7, 2023 · 0 comments
Assignees

Comments

@cyndiac
Copy link
Contributor

cyndiac commented Nov 7, 2023

More challenging task, primarily in subsystems/Arm.java

  • set initial PID values
  • create shuffleboard entry for arm target value that user can change
  • RobotContainer.java -- map button to ArmToPosition command, get target from Shuffleboard
  • setArmTarget
  • getArmPosition
  • stopArmInput
  • IF we have some way to tell the arm where to zero, hasHitHardstop & zeroArmEncoder
  • commands/ArmToPosition.java (initialize(); isFinished(); end(); skip Execute())

More challenging task, primarily in subsystems/Arm.java -- Ari's checklist

  • set initial PID values
  • initialize PID controller object
  • function getArmPosition() -- get encoder value
  • function zeroEncoder() -- set current value to 0
  • show arm encoder value on shuffleboard
  • create shuffleboard entry for arm target value that user can change
  • setArmTarget(int ticks)
  • stopArmInput() -- set arm power to 0 to stop it from moving
  • commands/ArmToPosition.java (initialize(); isFinished(); end(); skip Execute()) -- call the "arm.setArmTarget" function
  • RobotContainer.java -- map button to ArmToPosition command, get target from Shuffleboard
  • IF we have some way to tell the arm where to zero, hasHitHardstop & zeroArmEncoder
@Grey-Wall Grey-Wall self-assigned this Nov 8, 2023
@weirdfish123 weirdfish123 self-assigned this Nov 10, 2023
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

3 participants