Skip to content

Shuttling/Shot Modes Update - #97

Open
Adam-Kolt wants to merge 26 commits into
Rebuiltfrom
improvement/shuttle-make-gooderer
Open

Shuttling/Shot Modes Update#97
Adam-Kolt wants to merge 26 commits into
Rebuiltfrom
improvement/shuttle-make-gooderer

Conversation

@Adam-Kolt

Copy link
Copy Markdown

I drafted up this code for the different shot-types before comp, but didn't push the commit/branch. Should be alright, but needs testing.

@Adam-Kolt

Copy link
Copy Markdown
Author

Also I guess it needs fixing to actually build/needs the new code pulled into it before merging. @cjayamanne and @Adamtheboss9 you guys can build off of this or take whatever you need for the issue.

@heatonk heatonk assigned heatonk and unassigned heatonk Apr 6, 2026
@heatonk
heatonk self-requested a review April 6, 2026 20:52
@heatonk

heatonk commented Apr 13, 2026

Copy link
Copy Markdown

Need to create new table for shuttle calibrations in order to correct and merge this code.

Adam-Kolt and others added 21 commits April 14, 2026 15:53
Initialize turret zeroing during autonomous setup and implement zeroing support; reduce auto wait times and tweak path/shooter constants.

Changes:
- Autos: lower waitTime from 3.5s to 3.0s in Left/Right 5010 Double autos.
- Path: adjust goalEndState.rotation in TL-CTL-QTL-BL-L.path.
- Launcher: add zeroTurret() on Launcher and LauncherIO, call launcher.zeroTurret() during autonomous setup (guarded by RobotState.isAutonomous()).
- LauncherIOReal: implement zeroTurret() using CANcoder absolute position (added StatusSignal import) and set turret angle with encoder offset.
- ShotCalculator: adjust several mapping entries (e.g. 4.5403 -> 118.114, 10.9907 -> 158.0, 13.0240 -> 173.0) to refine shot parameters.

These changes ensure the turret is correctly zeroed at auto start and update timing/ballistics/path rotation data to match tuning results.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants