Skip to content

Made Transfer Use VelocityVoltage#508

Open
aaditst wants to merge 8 commits into
mainfrom
506-controlled-velocity-for-transfer
Open

Made Transfer Use VelocityVoltage#508
aaditst wants to merge 8 commits into
mainfrom
506-controlled-velocity-for-transfer

Conversation

@aaditst

@aaditst aaditst commented Apr 1, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@aaditst aaditst requested a review from a team April 1, 2026 00:48
@aaditst aaditst self-assigned this Apr 1, 2026
@aaditst aaditst linked an issue Apr 1, 2026 that may be closed by this pull request

@Vilok1 Vilok1 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Your kV should be a configuration, not a static feedforward. Also why are we naming the variable kV feedforward again lol

@Vilok1

Vilok1 commented Apr 1, 2026

Copy link
Copy Markdown
Contributor

Also your kV value still doesn't make sense mathematically to me. Maybe test on robot before merging

public Command indexCommand(DoubleSupplier spindexerPower, DoubleSupplier transferPower) {
return new StartEndCommand(() -> setPower(spindexerPower.getAsDouble(), transferPower.getAsDouble()), this::stop);
public Command indexCommand(DoubleSupplier spindexerPower, DoubleSupplier transferVelocity) {
return new StartEndCommand(() -> setPower(spindexerPower.getAsDouble(), transferVelocity.getAsDouble()), this::stop);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is this not just setting the duty cycle still? setPower() still calls setTransferPower which calls the duty cycle.

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.

Controlled Velocity for Transfer

4 participants