Skip to content

Flywheel auto tuning#93

Open
Aztechs157-Git wants to merge 3 commits into
devfrom
flywheel-auto-tuning
Open

Flywheel auto tuning#93
Aztechs157-Git wants to merge 3 commits into
devfrom
flywheel-auto-tuning

Conversation

@Aztechs157-Git
Copy link
Copy Markdown
Contributor

Ranier put description here at some point.

  • Tested in Sim
  • Tested on Robot

@Aztechs157-Git Aztechs157-Git requested a review from skrunked May 19, 2026 23:22
@Aztechs157-Git Aztechs157-Git linked an issue May 19, 2026 that may be closed by this pull request
21 tasks
@Aztechs157-Git Aztechs157-Git changed the base branch from main to dev May 19, 2026 23:22
Copy link
Copy Markdown
Contributor

@skrunked skrunked left a comment

Choose a reason for hiding this comment

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

A couple minor cleanup changes, but otherwise good.

private final FlyWheel flywheel;
private final SmartMotorController motor;
// motor object for sysID voltage control
private final TalonFX masterTalonFX;
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.

reference the original motor directly instead of using 'master', as 'master' is just a reference to the original motor.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

updated f539762


@Override
public void setVoltage(double volts) {
masterTalonFX.setControl(voltageRequest.withOutput(volts));
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.

update to use original talonFX

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

updated f539762

autoChooser.addOption(
"Drive SysId (Dynamic Reverse)",
drive.sysIdDynamic(SysIdRoutine.Direction.kReverse));
autoChooser.addOption(
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.

add some sort of catch to not show these autos when connected to FMS

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

updated f539762

Comment thread CLAUDE.md Outdated
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.

remove the SunstoneV2 mention as it is irrelevant

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

updated f539762

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.

[TASK] Retune + Refactor Flywheel

2 participants