-
Notifications
You must be signed in to change notification settings - Fork 1
Climber #8
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
base: main
Are you sure you want to change the base?
Conversation
WalkthroughAdds a new Climber subsystem package 🚥 Pre-merge checks | ❌ 3❌ Failed checks (1 warning, 2 inconclusive)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Tip 🧪 Unit Test Generation v2 is now available!We have significantly improved our unit test generation capabilities. To enable: Add this to your reviews:
finishing_touches:
unit_tests:
enabled: trueTry it out by using the Have feedback? Share your thoughts on our Discord thread! Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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.
Actionable comments posted: 5
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.
Actionable comments posted: 3
♻️ Duplicate comments (1)
src/main/java/frc/trigon/robot/subsystems/climber/Climber.java (1)
41-44:stop()should resettargetState.Based on learnings, all subsystem stop() methods should reset relevant target fields. Add
targetState = ClimberConstants.ClimberState.REST;after stopping the motor.
src/main/java/frc/trigon/robot/subsystems/climber/ClimberCommands.java
Outdated
Show resolved
Hide resolved
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.
Actionable comments posted: 1
♻️ Duplicate comments (1)
src/main/java/frc/trigon/robot/subsystems/climber/Climber.java (1)
41-44: ResettargetStateon stop to avoid stale targets.
Line 42 stops the motor but preservestargetState. For subsystems in this repo,stop()is expected to clear target fields to prevent stale state across stop/start cycles. Consider resetting toClimberConstants.ClimberState.REST(or confirm that preserving is intentional for this mechanism). Based on learnings, ...
src/main/java/frc/trigon/robot/subsystems/climber/ClimberCommands.java
Outdated
Show resolved
Hide resolved
Strflightmight09
left a comment
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.
Look at how climbing was done for Larry and Killshon and implement that stuff here instead of what you have now
src/main/java/frc/trigon/robot/subsystems/climber/ClimberConstants.java
Outdated
Show resolved
Hide resolved
src/main/java/frc/trigon/robot/subsystems/climber/ClimberConstants.java
Outdated
Show resolved
Hide resolved
src/main/java/frc/trigon/robot/subsystems/climber/ClimberConstants.java
Outdated
Show resolved
Hide resolved
src/main/java/frc/trigon/robot/subsystems/climber/ClimberConstants.java
Outdated
Show resolved
Hide resolved
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.
Actionable comments posted: 1
src/main/java/frc/trigon/robot/subsystems/climber/ClimberCommands.java
Outdated
Show resolved
Hide resolved
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.
Actionable comments posted: 3
src/main/java/frc/trigon/robot/subsystems/climber/ClimberConstants.java
Outdated
Show resolved
Hide resolved
src/main/java/frc/trigon/robot/subsystems/climber/ClimberConstants.java
Outdated
Show resolved
Hide resolved
src/main/java/frc/trigon/robot/subsystems/climber/ClimberConstants.java
Outdated
Show resolved
Hide resolved
src/main/java/frc/trigon/robot/subsystems/climber/ClimberConstants.java
Outdated
Show resolved
Hide resolved
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.
Actionable comments posted: 1
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.
Actionable comments posted: 2
src/main/java/frc/trigon/robot/commands/commandfactories/ClimbCommands.java
Show resolved
Hide resolved
src/main/java/frc/trigon/robot/subsystems/climber/ClimberCommands.java
Outdated
Show resolved
Hide resolved
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.
Actionable comments posted: 2
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.
Actionable comments posted: 1
| config.Slot1.kD = RobotHardwareStats.isSimulation() ? 0 : 0; | ||
| config.Slot1.kS = RobotHardwareStats.isSimulation() ? 0 : 0; | ||
| config.Slot1.kV = RobotHardwareStats.isSimulation() ? 0 : 0; | ||
| config.Slot1.kA = RobotHardwareStats.isSimulation() ? 0 : 0; |
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.
Fixy
No description provided.