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

TODO Intake motor configuration #24

Open
deaner8765 opened this issue Feb 7, 2018 · 1 comment
Open

TODO Intake motor configuration #24

deaner8765 opened this issue Feb 7, 2018 · 1 comment
Labels

Comments

@deaner8765
Copy link
Contributor

deaner8765 commented Feb 7, 2018

the intake motors are using a set(-speed) should they use an inverted motor instead?
(

private void powerCubeIntake() {
// TODO use invert motor
LEFT_INTAKE_MOTOR.setSpeed(RobotMap.Intake.INTAKE_SPEED);
RIGHT_INTAKE_MOTOR.setSpeed(-RobotMap.Intake.INTAKE_SPEED);
currentIntakeState = IntakeState.IN;
}
private void powerCubeEject() {
LEFT_INTAKE_MOTOR.setSpeed(RobotMap.Intake.EJECT_SPEED);
RIGHT_INTAKE_MOTOR.setSpeed(-RobotMap.Intake.EJECT_SPEED);
currentIntakeState = IntakeState.OUT;
}
)

@deaner8765 deaner8765 added the bug label Feb 7, 2018
@deaner8765
Copy link
Contributor Author

The invert method in the constructor of the instance did not work. May need to try again when we move to TalonSRXs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant