Skip to content

Frisbeebot example #58

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

Closed
wants to merge 22 commits into from
Closed

Conversation

BerkeSinanYetkin
Copy link
Contributor

extension of #56, as you can't change which branch you want to merge from on a ongoing pr.

@BerkeSinanYetkin
Copy link
Contributor Author

@virtuald should i add the frisbeebot example to ignored tests? It works as intended in simulation but setDistancePerPulse fails the test even though it seems like nothing has changed from 2022.

@virtuald
Copy link
Member

Let me take a look locally.

@virtuald
Copy link
Member

virtuald commented Dec 18, 2022

The problem is that all of your motors/encoders are initialized at the class level instead of in __init__. I'll see if I can make pyfrc give a better error message when that happens.

@virtuald
Copy link
Member

I'm going to go ahead and fix this locally, adjust some of the style to match python better, and push a new PR using the fixes in a few minutes. Thanks!

@virtuald virtuald mentioned this pull request Dec 19, 2022
@virtuald
Copy link
Member

Closed in favor of #59

@virtuald virtuald closed this Dec 19, 2022
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