You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rename rollers.java to IndexerSubsystem.java and move it to frd/robot/subsystems
put slot0configs into Constants.java
put the motor id into Constants.java
feedBalls should be a command, not a void method.
Something like this: public Command moveHood(Supplier angleSupplier) {
return run(() -> setHoodAngle(angleSupplier.get())).until(this::isAtPosition);
}
and missing stopmotors, and i updated the indexer doc with two methods you need to do too.
When you to setrollervelocity, you cant just set the variable rollerspeed to rpm, you have to actually tell the motor to do this after. you just need to do a motor.setcontrol(m_reqest.withvelocity) or something similar
rename rollers.java to IndexerSubsystem.java and move it to frd/robot/subsystems
rename notrunmotor to stopmotors
just use constants.intakespeed rather than making a new variable called rollerspeed.
use the states in the doc(look in state manager) not the states in the example ode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
/: