-
Notifications
You must be signed in to change notification settings - Fork 0
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
one motor indexer #14
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Files are missing from the pull request—please add in a new commit and I can review the files. I'm not sure MotorTestSubsystem.java is necessary either, given that we've implemented the motor already.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also please delete the empty SubsystemBase.java
file in /robot/subsystems
.
@@ -70,5 +75,6 @@ public RobotMap() { | |||
HumanInput.Driver.xbox = new CustomXbox(Port.HumanInput.xboxController); | |||
HumanInput.Operator.joystick = new CustomJoystick(Port.HumanInput.joystick); | |||
|
|||
Component.indexerMotor = new Motor("indexerMotor", false, new CANTalonFX(Port.CANMotor.indexerMotor)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add comment at the end of this line:
// TODO: Need to check motor inversion
* @param motor The motor to manipulate | ||
*/ | ||
public IndexerOff(Motor motor) { | ||
super(motor, 0.0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First argument in super()
call needs to be the name of the command
} | ||
|
||
public IndexerOff() { | ||
super(RobotMap.Component.motor, 0.0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First argument in super()
call needs to be the name of the command
No description provided.