Skip to content

Conversation

@recepsirin0
Copy link
Member

Ankle subsystem added. It contains basic level functions.

@recepsirin0 recepsirin0 marked this pull request as ready for review February 9, 2025 19:19
Copy link
Member

@Mychecksdead Mychecksdead left a comment

Choose a reason for hiding this comment

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

Since the AnkleConstants.maxAngle and minAngle are in the type of encoder (not encoder_value * gearRatio), there seems to be a bug in setAngle and setAngleTest. I think we should pass directly the angle value to the closedLoopController.setReference and set the gearRatio in the constructor of the Subsystem class instead of multiplying every time.


}

public void setSparkPIDControllerToDashboard(String prefix, double kP, double kI, double kD, double kMinOutput,
Copy link

@exeokan exeokan Feb 10, 2025

Choose a reason for hiding this comment

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

do we really need a class for this? how about we set up a smart dashboard handler class that has all the set/get methods regarding all subsystems

Copy link
Member Author

Choose a reason for hiding this comment

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

could you more clarify? we didnt understand ( w/mychecksdead)

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.

5 participants