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

No Motor found using c++ #20

Closed
fra189 opened this issue Nov 7, 2014 · 3 comments
Closed

No Motor found using c++ #20

fra189 opened this issue Nov 7, 2014 · 3 comments

Comments

@fra189
Copy link

fra189 commented Nov 7, 2014

During several tests, including your test program, I couldn't figure out to see my motors (medium or large) connected.
Basically I cannot use motors.
Good for sensors after upgrade to kernel 3.16.1-6.
Thank you for your attention.

@fdetro
Copy link
Contributor

fdetro commented Nov 9, 2014

Maybe this is related to changes in the motor implementation in recent kernels? Unfortunately the APIs are not yet stable...

I will try to look into this later today.

@fra189
Copy link
Author

fra189 commented Nov 10, 2014

Hi After your suggestion, I found that new kernel 3.16.1-6 uses to classify motors under class "tacho-motor" with the name "motor#" instead of "tacho-motor#". So I changed pattern string in ev3dev.cpp (line 571) from "tacho-motor" to "motor" and everything works like a charm.

@fdetro
Copy link
Contributor

fdetro commented Nov 12, 2014

fixed.

@fdetro fdetro closed this as completed Nov 12, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants