Skip to content

Added PIDCommand.py using ChatGPT translator #30

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

Merged
merged 1 commit into from
Dec 5, 2023

Conversation

mbardoeChoate
Copy link

Trying to add in to the commands now. I used ChatGPT with the prompt in Chief Delphi. Let me know about what mistakes I might have made. I looked over some of the other commands to try to pick up style and imports. Thanks.

Copy link
Member

@virtuald virtuald left a comment

Choose a reason for hiding this comment

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

When adding stuff to this repo, it's really important to also include the unit tests from wpilibj at https://github.com/wpilibsuite/allwpilib/tree/main/wpilibNewCommands/src/test/java/edu/wpi/first/wpilibj2/command ... which don't exist for this command, never mind then (but keep it in mind for the future)

@virtuald
Copy link
Member

virtuald commented Dec 4, 2023

If we're going to lean on ChatGPT for doing this, we should probably do #29 first to make sure we catch some of the more common errors.

@virtuald virtuald merged commit 2bd0bb0 into robotpy:main Dec 5, 2023
@virtuald
Copy link
Member

virtuald commented Dec 5, 2023

Thanks!

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