-
Notifications
You must be signed in to change notification settings - Fork 1
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
Trying your python on a real robot #3
Comments
Hey @elpimous, in my opinion, the easiest way to test this in a real robot would be to use the MIT Controller library (written in C++) which uses the LCM library to interface with the hardware drivers. The Python components of this code are the simulations which, if you want to try in the real robot, are not needed. Maybe another approach if you prefer Python, is to replace the |
Hey, @eborghi10 , I agree with you, but, to anderstand c++ code, i need to test python file, to see where c++ fonctions acts, and why (i'm a nearly newbie, and an autodidact coder) and Don't see in the py file, where to pick position and velocity to send to real motors, too ?!! Thanks a lot, Emiliano. Vincent |
@eborghi10 small UP?! |
Yes, that's correct. This part "reads" from sensors drivers.
In this case, the motors are controlled by torque and not velocity or position. This is because the system that is controlled takes its dynamics into account. |
Hello Emiliano,
This package works like a charm.
Now, I'd like to test it on my real robot, running with BLDC motors.
I'd like to use your python file, to command my motors. (before doing same in c++)
Could you tell me what function sends to motor boards, and what receive motor values?
Thanks
The text was updated successfully, but these errors were encountered: