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

Move practice robot motor details over to Practice contract to prepare for Competition chassis #85

Merged
merged 5 commits into from
Feb 9, 2024

Conversation

SHORT-LIFE-CHOSE-ME
Copy link
Contributor

@SHORT-LIFE-CHOSE-ME SHORT-LIFE-CHOSE-ME commented Feb 7, 2024

Why are we doing this?

To put the correct contract numbers
Asana task URL:

Whats changing?

changing the guessed numbers to correct ones

Questions/notes for reviewers

How this was tested

  • unit tests added
  • tested on robot

Added the correct contracts numbers for the practice and competition
Configured Contracts
@SHORT-LIFE-CHOSE-ME SHORT-LIFE-CHOSE-ME requested a review from a team as a code owner February 7, 2024 04:48
return true;
}

private String getDriveControllerName(SwerveInstance swerveInstance) {
Copy link
Contributor

Choose a reason for hiding this comment

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

We can remove these 3 methods from this class and make the ones in Competition contract protected instead of private.

};
}

public DeviceInfo getCollectorMotor() {
Copy link
Contributor

Choose a reason for hiding this comment

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

we don't need motor definitions for anything other than the drive; the practice robot doesn't have any other relevant mechanism

}

@Override
public boolean isCollectorReady() {
Copy link
Contributor

Choose a reason for hiding this comment

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

same here, no "collector" on the practice robot.

return new DeviceInfo("CollectorSolenoid", 2, false);
}

@Override
Copy link
Contributor

Choose a reason for hiding this comment

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

same here, all the LightsDio can stay in competition

return false;
}

@Override
Copy link
Contributor

Choose a reason for hiding this comment

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

don't need motor definitions for devices the practice robot doesn't have

made the changes john asked me to
changes
@stephenjust stephenjust changed the title Contracts mohamed Move practice robot motor details over to Practice contract to prepare for Competition chassis Feb 9, 2024
@stephenjust stephenjust merged commit 472bf44 into main Feb 9, 2024
3 checks passed
@stephenjust stephenjust deleted the ContractsMohamed branch February 9, 2024 03:31
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

Successfully merging this pull request may close these issues.

4 participants