Conversation
Co-Authored-By: Nummun14 <142012009+Nummun14@users.noreply.github.com>
WalkthroughThe PR refactors autonomous shooting logic in GeneralAutonomousCommands: getShootAtHubWhileDrivingCommand now selects between three paths (hoodless, hub, over-trench) with runtime logging, and is gated by alliance-zone checks plus a new public isInTrench() predicate. It adds a private isAngleCloserTo180(Rotation2d) helper and getPrepareForShootingWithoutHoodCommand() returning a fixed-87° hood command. AutonomousGenerator gains a log entry "Autonomous/IsInTrench" that records isInTrench(), and AutonomousConstants.SCORING_TIMEOUT_SECONDS is adjusted from 3.5 to 3.7. 🚥 Pre-merge checks | ✅ 1 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (1 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 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 |
No description provided.