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

Added relay example. #80

Merged
merged 4 commits into from
Dec 3, 2023
Merged

Added relay example. #80

merged 4 commits into from
Dec 3, 2023

Conversation

mbardoeChoate
Copy link
Contributor

I haven't added code to another person's repository before, so I am trying to start small. I saw the request for more examples and tried to pick the easiest thing I could. Probably not a super helpful example, but if I can do this well, I will try to pick off more important stuff later.

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.

Mostly looks good, thanks! Just a few comment related adjustments, see https://github.com/robotpy/examples/blob/main/CONTRIBUTING.md#include-all-the-comments and the rest of that doc.

Thanks!

relay/robot.py Show resolved Hide resolved
relay/robot.py Outdated
self.relayReverseButton = 2

def teleopPeriodic(self):
"""
Copy link
Member

Choose a reason for hiding this comment

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

This comment isn't present in the original example, so let's omit it.

@mbardoeChoate
Copy link
Contributor Author

Tried to fix the comments. Thanks for the quick feedback.

relay/robot.py Outdated Show resolved Hide resolved
@virtuald virtuald merged commit 3534978 into robotpy:main Dec 3, 2023
10 checks passed
@virtuald
Copy link
Member

virtuald commented Dec 3, 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.

4 participants