-
Notifications
You must be signed in to change notification settings - Fork 0
Remove Unused Code #22
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
Conversation
WalkthroughThis change removes reef-side and clock-position APIs, bindings, and state from ReefChooser and renames an internal helper; removes a public placing-position method from CoralPlacingCommands; and updates the ArmElevatorState.SCORE_L1 angle and elevator position. No new files added. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant Op as Operator
participant RC as ReefChooser
participant Arm as Arm/Elevator
participant Field as Field Constants
participant Coral as CoralPlacingCommands
rect rgba(230,245,255,0.6)
note over Op,RC: Previous flow (with clock/side APIs)
Op->>RC: Toggle reef side / set clock position
RC->>Field: Resolve ReefSide/ClockPosition
RC->>Arm: Calculate target scoring pose
Coral->>Arm: calculateTargetPlacingPosition(...) (was callable)
Arm-->>Op: Move to target
end
rect rgba(240,240,240,0.6)
note over Op,RC: New flow (after removals)
Op -x RC: No direct clock/side/pose APIs
RC--xArm: No target scoring pose calculation
Coral -x Arm: public calculateTargetPlacingPosition removed
note over Op,Arm: Targeting handled elsewhere or via remaining APIs
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (1 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 |
Summary by CodeRabbit