ArmSubsystem, ArmPIDCommand, BoxClimberPIDCommand #45
No reviewers
Labels
No labels
Arm
Auto
Balancer
Drivetrain
Grabber
Priority: High
Priority: Low
Priority: Medium
Scoring
Vision
enhancement
feature
help wanted
issue
wontfix
bug
documentation
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ironriders/ChargedUp!45
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "arm"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Created the ArmSubsystem and added it to RobotContainer. Created the ArmPIDCommand which controls the raising and lowering of the arm. Created the BoxClimberPIDCommand which controls the extending and retracting of the arm.
This Pull Request closes issue #
Description of the changes:
.whenHeld()is deprecated. I think we should be usingcontroller.button(1).onTrue(new ArmPIDCommand(arm, 0)instead.Code looks to be fine.
Arm subsystem, arm commands, manipulator subsystem pid to stop when it stops, triggers, manipulator pid
Other manipulator commands
@ -0,0 +1,51 @@package frc.robot.commands;Put PID values in constants file
@ -0,0 +36,4 @@}@Overridepublic boolean isFinished() {Have some tolerance for the set point,
isFinishedshould true when it's within tolerance@ -0,0 +1,51 @@package frc.robot.commands;Use
isFinished@ -0,0 +1,53 @@package frc.robot.commands;Check for speed can go in
isFinishedSpeed should be in Constants. Speed should not be 0.