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

Use PRU/ADC driver to capture encoder ticks #1

Open
wants to merge 137 commits into
base: master
Choose a base branch
from

Conversation

pgmmpk
Copy link
Contributor

@pgmmpk pgmmpk commented Mar 13, 2014

@rowland,

Do not merge this, but please look at https://github.com/pgmmpk/beaglebone_pru_adc - it provides a simpler (better?) way of capturing ADC inputs and encoders.

As to my clone of quickbot_bbb, its still very much work-in-progress. ENCVAL does work and seem to return reasonable values. ENCVEL is completely untested yet, IR readings not tested either.

@rowland
Copy link

rowland commented Mar 13, 2014

You're looking for a different Rowland.

On Mar 12, 2014, at 17:11, Mike Kroutikov [email protected] wrote:

@rowland,

Do not merge this, but please look at https://github.com/pgmmpk/beaglebone_pru_adc - it provides a simpler (better?) way of capturing ADC inputs and encoders.

As to my clone of quickbot_bbb, its still very much work-in-progress. ENCVAL does work and seem to return reasonable values. ENCVEL is completely untested yet, IR readings not tested either.

You can merge this Pull Request by running

git pull https://github.com/pgmmpk/quickbot_bbb master
Or view, comment on, or merge it at:

#1

Commit Summary

switched to using PRU_ADC
made it work
use socket timeout as a delay mechanism to avoid busy loop
File Changes

M QuickBot.py (415)
M QuickBotRun.py (4)
A config.py (22)
Patch Links:

https://github.com/o-botics/quickbot_bbb/pull/1.patch
https://github.com/o-botics/quickbot_bbb/pull/1.diff

Reply to this email directly or view it on GitHub.

@rowoflo
Copy link
Contributor

rowoflo commented Mar 13, 2014

@pgmmpk,

Yes this is great stuff! JP and I have been wanting to use the PRUs but have not had the time to investigate it further. Let me know how it works out for you.

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