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

Created Ultrasonic example #85

Merged
merged 2 commits into from
Dec 9, 2023
Merged

Conversation

mbardoeChoate
Copy link
Contributor

I based this on the java example, but the java Ultrasonic class seems to have some methods that are not in the robotpy, at least not according to the most recent documentation. Therefore I am not using the methods getRangeMM and getRangeInches, but instead show using getRange. If you would like me to do the conversions I can do that.

@virtuald
Copy link
Member

virtuald commented Dec 5, 2023

Added those methods in robotpy/mostrobotpy#41, go ahead and update the example to include them and we'll merge when I push a new beta release.

@virtuald virtuald merged commit 411d9b0 into robotpy:main Dec 9, 2023
10 checks passed
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