-
Notifications
You must be signed in to change notification settings - Fork 0
Elevator Fix #27
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
Elevator Fix #27
Conversation
WalkthroughUpdated ArmElevator configuration: changed several geometric constants and comprehensively replaced the ArmElevatorState enum entries with new target angles, positions, speed scalars, and flags. Also added an import for ArmElevatorConstants in RobotContainer.java. Changes
Sequence Diagram(s)(No sequence diagram provided — changes are configuration/state constant updates and an added import; control flow and public interfaces were not modified.) Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
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: 3
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
src/main/java/frc/trigon/robot/RobotContainer.java
(2 hunks)src/main/java/frc/trigon/robot/subsystems/armelevator/ArmElevatorConstants.java
(2 hunks)
🧰 Additional context used
🧬 Code graph analysis (1)
src/main/java/frc/trigon/robot/RobotContainer.java (3)
src/main/java/frc/trigon/robot/subsystems/armelevator/ArmElevatorConstants.java (1)
ArmElevatorConstants
(28-367)src/main/java/frc/trigon/robot/constants/OperatorConstants.java (1)
OperatorConstants
(12-99)src/main/java/frc/trigon/robot/subsystems/armelevator/ArmElevatorCommands.java (1)
ArmElevatorCommands
(15-78)
🪛 GitHub Actions: Java CI with Gradle
src/main/java/frc/trigon/robot/RobotContainer.java
[error] 115-115: Compilation failed: cannot find symbol; ArmElevatorState.ELEVATOR_0 referenced in getSetTargetStateCommand. Check ArmElevatorState definitions and ensure ELEVATOR_0 exists. Gradle build failed during '/home/runner/work/RobotCodeOffSeason2025/RobotCodeOffSeason2025/gradlew build'.
🔇 Additional comments (3)
src/main/java/frc/trigon/robot/RobotContainer.java (1)
26-26
: LGTM!The import addition is necessary for the new binding.
src/main/java/frc/trigon/robot/subsystems/armelevator/ArmElevatorConstants.java (2)
146-146
: LGTM!The Z-axis translation adjustment for the elevator second stage visualization origin appears to be a calibration correction.
154-154
: LGTM!The adjustment to
SECOND_ELEVATOR_COMPONENT_EXTENDED_LENGTH_METERS
from 0.603 to 0.593 is consistent with the visualization origin change and appears to be a calibration correction.
Summary by CodeRabbit