Skip to content

Rework arm implementation and API#34

Draft
charlesmackenzie wants to merge 23 commits intomainfrom
arm-rework
Draft

Rework arm implementation and API#34
charlesmackenzie wants to merge 23 commits intomainfrom
arm-rework

Conversation

@charlesmackenzie
Copy link

@charlesmackenzie charlesmackenzie commented Nov 30, 2023

I'm attempting to address the first part of #31 by aggressively refactoring the arm code. Changes focus on understandably and straightforwardness.

Need to do:

  • Implement a state machine to manage telescope retraction (after drawing a diagram)
  • Add javadoc
  • Add some unit tests? This might will become another PR
  • Run on the actual robot

Notes:

  • AdvantageKit implementation will take place in another PR. YOLO

@charlesmackenzie charlesmackenzie added the enhancement New feature or request label Nov 30, 2023
@charlesmackenzie charlesmackenzie changed the base branch from main to 2024-Phoenix-Swerve December 11, 2023 23:07
@charlesmackenzie charlesmackenzie changed the base branch from 2024-Phoenix-Swerve to main December 11, 2023 23:08
Copy link
Contributor

@jkleiber jkleiber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Half of a first pass. I'm a bit confused how all of the arm stuff works together in this PR since arm subsystem looks deleted

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To avoid merge conflicts, I would just delete this file since @redPlover is deleting it

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably should delete this file since @redPlover is deleting it in his branch

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably best to delete this one too since it's being deleted in #35

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this file is being deleted in #35 and isn't related to the arm - best move is to revert all changes or delete it to avoid merge conflicts

private final WristSubsystem wrist = new WristSubsystem();
private final IntakeSubsystem intake = new IntakeSubsystem();
// private final Drive drive = new Drive();
private final ArmSubsystem arm;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like ArmSubsystem has been deleted, so it isn't clear how this will work

@jkleiber jkleiber mentioned this pull request Dec 13, 2023
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants