Closed AvianSilk closed 1 year ago
Intake motor works, just a couple things before merging,
Constants.java
! (eg. speed, motor ID, etc). This is so that we can make changes easily when needed (editing one file).Intake looks pretty good!
Consider having one method that will set left and right solenoids, instead of separate left and right commands? This is just to prevent having the solenoids physically in different states.
(also values in Constants.java
!)
I see the intake ball command will activate the solenoids and spin the motor; let's test it out on Thursday!
Also for Thursday when testing out the command:
Let's add a button binding to the command; instead of using a timer in the command, bind it to a button.whileHeld(cmd)
.
Thanks for the feedback ! I’ll (hopefully) work on your suggestions by Thursday
Notes from our testing today:
Regarding activating solenoids:
See constructor docs
One constructor takes in the pneumatics module ID, and one doesn't. Because our ID isn't the default one, use the constructor that takes in the ID (see link above).
Also, ensure your solenoids forward/reverse are in the right spot in the command!
I made all the changes and pushed it
So it's basically ready to be merged unless I made a mistake
Also maybe a eject ball command/button binding?
An Intake subsystem was created
A command "TakeInTheBall" which takes in the ball