Skip to content

Justin lau intake - #3

Merged
ImJustinLau merged 27 commits into
masterfrom
JustinLau-intake
Jun 21, 2026
Merged

Justin lau intake#3
ImJustinLau merged 27 commits into
masterfrom
JustinLau-intake

Conversation

@ImJustinLau

Copy link
Copy Markdown
Contributor

No description provided.

Introduce LinearIntakeIO and an inner LintakeIOInputs class (implements LoggableInputs) to represent sensor and motor I/O for the linear intake subsystem. Adds fields for temperature, stator/supply currents, applied voltage, velocity, and position, plus a toLog method that writes these values in the chosen units. This scaffolds hardware I/O for the intake subsystem.
Adding functions and table gets
Add a new Intake subsystem implementation and supporting IO/contracts. Introduces IntakeConstants (start positions and idle voltages), LinearIntake state-machine (open-loop, closed-loop, idle) and its LinearIntakeIO interface/inputs (with logging and control methods), IntakeRollers state-machine and IntakeRollersIO, and extends the Superstructure Request sealed interface with RollerRequest and LintakeRequest types. Also includes fixes/cleanup to IO logging keys and unit types to ensure correct units are exposed and parsed.
@ImJustinLau
ImJustinLau requested a review from a team June 20, 2026 15:40
@00magikarp 00magikarp mentioned this pull request Jun 20, 2026
@00magikarp

Copy link
Copy Markdown
Member

previous pr history visible in #1

@00magikarp 00magikarp left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry sir not done yet

Comment thread src/main/kotlin/com/team4099/robot2026/config/constants/IntakeConstants.kt Outdated
@00magikarp

Copy link
Copy Markdown
Member

@00magikarp 00magikarp left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

proud of you

@ImJustinLau
ImJustinLau merged commit 23c45f1 into master Jun 21, 2026
1 check passed
@00magikarp
00magikarp deleted the JustinLau-intake branch July 12, 2026 20:05
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.

2 participants