Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Static Characterization for Arm and Elevator #32

Merged
merged 3 commits into from
Feb 4, 2025

Conversation

Noah-H3467
Copy link
Contributor

No description provided.

Copy link
Contributor

@CJendantix CJendantix left a comment

Choose a reason for hiding this comment

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

Don't add a state for this, make it a new command. Look at the drive subsystem's characterizations

@Noah-H3467
Copy link
Contributor Author

I made a command that changes the state because it accesses the io's runCurrent(), which is normally run in the Generic Motion Profiled subsystem's state machine switch statement (the drive subsystem does not use the Generic subsystem setup so that is why there is no need for a new state in drive.java) Creating a new state in the Elevator and Arm subsystems prevents the Generic from running an output from an other state (like trying to go to a certain position prescribed by the state) and also we can focus on the data logged by the Command, not too much extra stuff in Generic.

Copy link
Contributor

@CJendantix CJendantix left a comment

Choose a reason for hiding this comment

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

Didn't know that. Nice job

@CJendantix CJendantix merged commit 0567127 into main Feb 4, 2025
1 check passed
@Spybh66 Spybh66 deleted the Static-Characterization branch February 12, 2025 20:36
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