Skip to content

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
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