-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
added pass function #122
added pass function #122
Conversation
@@ -173,6 +173,15 @@ public static Command simpleHoodZero(Shooter shooter) { | |||
.withName("Simple Hood Zero"); | |||
} | |||
|
|||
//https://www.desmos.com/calculator/rcnsmtoqwi hypothetical math |
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.
change to same angle and 1000 rpm
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.
i'd go a bit faster but we can change that with testing
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.
need feed command dbchadlafkhds;lghfpaoskdgh;asdkgh;askldhg;oaskldjngalks.,jdmgn;aksdjx
public static Command passNote(Shooter shooter) { | ||
return run(() -> { | ||
shooter.shooterRunVelocity(1000); | ||
shooter.setTargetShooterAngle(Rotation2d.fromRadians(.25)); | ||
}, shooter) | ||
.withName("passNote"); | ||
} | ||
|
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.
hold on i actually think we need to also have a feeder command for this, without it we won't actually shoot, so once the shooter is at setpoint you should shoot
…hypothetical-shooter-pass
not keyboard to a controller yet