Skip to content

Subsystem/turret crt#45

Merged
spellingcat merged 19 commits intomainfrom
subsystem/turret-crt
Feb 12, 2026
Merged

Subsystem/turret crt#45
spellingcat merged 19 commits intomainfrom
subsystem/turret-crt

Conversation

@vivi-o
Copy link
Contributor

@vivi-o vivi-o commented Feb 8, 2026

No description provided.

@vivi-o vivi-o requested a review from spellingcat February 8, 2026 07:28
this.sim = cancoder.getSimState();
}

public void setSimValues(double positionRotations) {
Copy link
Member

Choose a reason for hiding this comment

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

we might have to do the actual sim notifier thread but honestly i don't want to worry about that rn

private final StatusSignal<Voltage> voltage = motor.getMotorVoltage();
private final StatusSignal<Temperature> tempCelcius = motor.getDeviceTemp();

private VoltageOut voltageOut = new VoltageOut(0.0).withEnableFOC(true);
Copy link
Member

Choose a reason for hiding this comment

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

you need to also add the set voltage method but i'll just do it rn

return rot;
}

//this should also adjust for like the turret offset from the robot rotation but like I don't know what that is
Copy link
Member

Choose a reason for hiding this comment

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

yeah i need to think about this but we can do this during shot tuning

@spellingcat
Copy link
Member

merged in main in the fmt commit but forgot to name it correctly

@spellingcat spellingcat merged commit 6aa386d into main Feb 12, 2026
2 checks passed
@spellingcat spellingcat deleted the subsystem/turret-crt branch February 12, 2026 23:23
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