-
Notifications
You must be signed in to change notification settings - Fork 0
Box Movement #36
Box Movement #36
Conversation
Ben requested formally that we rebind the slowmode button
Adds gamepad functionality to the box
Changed position to represent the 0 to 1 scale used for servos
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.
This is the final round of review! Most of it is comment related, though I did catch one logic error.
All that's left is to wait for the builders to finish making the box and for us to test it. :D
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/components/TeleOpMovement.kt
Outdated
Show resolved
Hide resolved
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/components/TeleOpMovement.kt
Outdated
Show resolved
Hide resolved
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/components/TeleOpMovement.kt
Outdated
Show resolved
Hide resolved
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/api/Box.kt
Outdated
Show resolved
Hide resolved
added more descriptions fixed logic error
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.
Looks good, thank you!
Two things before merging:
- Test the code on the robot
- Possibly reverse box servos
Additionally I need to fix the merge conflicts, but you don't need to worry about that.
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.
Will need updated for two player movement
the box api needed to be initialized
needed to make them move in the same direction
ben gave number Co-Authored-By: Vifi5 <117041326+Vif15@users.noreply.github.com>
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.
Could you add a comment to TeleOpMovement
so it says Requires the [TriWheels] and [Box] APIs.
?
fixed formatting
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.
D:
updated to run the box movement off of one servo. Co-Authored-By: Vifi5 <117041326+Vif15@users.noreply.github.com>
Created the Box API and added gamepad controls to the teleOp