-
Notifications
You must be signed in to change notification settings - Fork 39
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
NXTServo 8 channel and ev3dev-lang-demo #57
Comments
The There should also be 8 devices in I don't know if the demo has anything implemented for the servo-motor class or not. |
I don't see anything. For information, we need to use 2 servos and try to finish to build our secondary robot this week-end. The French cup of robotic will occure in mid-May, and I will promote ev3dev ;) |
There is a servo motor test in ev3dev-lang-test.cpp. It does not do much, just dumps the motor's properties. Does it work for you? |
Yes, it works and it shows information about connected servomotors. I'm going to work now on our program in C++ using ev3dev.cpp and I will check if I can add a test to move servos in ev3dev-lang-demo. |
I did'nt succeed to drive several servos using ev3dev.h. The code from ev3dev-lang-test just detected only the first servo. |
I don't have any experience with servo motors, but the code in the demo does not specify an output port to use. So its happy with the first servo motor it sees. Did you try to specify an output port, as in m1 = servo_motor(OUTPUT_A);
m2 = servo_motor(OUTPUT_B); ? |
I use January version of ev3dev. |
The argument for |
It's working ! with servo_motor m_;
m_ = servo_motor("in3:sv1");
m_.set_position(50); |
Hello,
Just to confirm before testing servomotors, should I connect NXTServo-V3 above (motor out port) or below (sensor in port) to the ev3brick, because it is notice to not connect to motor port (doing so may damage NXTServo-V3) ?
I tested using sensor port following this page http://www.ev3dev.org/docs/sensors/mindsensors.com-8-channel-servo-controller/
ev3dev-lang-demo recognized it writing:
(1) ms-8ch-servo (device ms-8ch-servo, port in1, mode V3)
but the value is only voltage ?
Choice: 1
*** ms-8ch-servo (V3) actions ***
(s)how modes
(c)hange mode
(v)alue
(m)onitor
(b)ack
Choice: v
value is 0.037 V
Can I move the servo using ev3dev-lang-demo ?
The text was updated successfully, but these errors were encountered: