Skip to content

Conversation

@Py-mon
Copy link
Contributor

@Py-mon Py-mon commented Sep 3, 2025

not finished yet; just for review.

@Py-mon Py-mon changed the title Quadratic-Dampied PID and Controller Manager Quadratic-Damped PID and Controller Manager Sep 3, 2025
Copy link
Member

Choose a reason for hiding this comment

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

This is redundant, no? Why do the Coefficients need themselves and the controller?

Copy link
Member

Choose a reason for hiding this comment

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

there isnt much point for the coefficents to be apart of the Controller interface, they can exist seperate

Copy link
Member

Choose a reason for hiding this comment

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

Agreed. A controller does not inherently require anything about coefficients. That is an implementation detail.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

there isnt much point for the coefficents to be apart of the Controller interface, they can exist seperate

The controller manager needs the generics in order for the dual controller to work.

Copy link
Member

Choose a reason for hiding this comment

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

How so?

0.015);
public PIDFCoefficients coefficientsTranslationalPIDF = new PIDFCoefficients(0.1,0,
0,0.015);
// 0.5,
Copy link
Member

Choose a reason for hiding this comment

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

can you undo this for consistency

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes

Copy link
Member

Choose a reason for hiding this comment

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

Just make this an interface, do not need any of the bounded Type Parameters

Copy link
Contributor Author

@Py-mon Py-mon Sep 3, 2025

Choose a reason for hiding this comment

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

Just make this an interface, do not need any of the bounded Type Parameters

I’m pretty sure the type parameters are required for the controller manager.

Copy link
Member

Choose a reason for hiding this comment

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

Redundant - Remove

@BaronClaps BaronClaps self-assigned this Sep 3, 2025
@BaronClaps BaronClaps requested a review from BeepBot99 September 3, 2025 04:34
@Py-mon Py-mon requested a review from BaronClaps September 3, 2025 12:18
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.

3 participants