-
Notifications
You must be signed in to change notification settings - Fork 7
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
Controlling the fly legs using torque control #5
Comments
Yes of course, the fly model is readily reconfigurable and you can switch to torque actuators for legs as well. You can do it either by directly editing the fly xml file (low-level, so might be painful), of do it programmatically using PyMJCF (recommended). Here is an example of how it's done for the dm_control rodent model. It would be slightly different for the fly model, but the procedure is similar. The MuJoCo docs on actuators could also be helpful. |
Thank you for your reply! May I ask two more doubts: Also, how are the damping and stiffness values of the joint selected? Are these based on literature or trial and error? Thanks! |
Most of these things are pretty loose for now. The actuator parameters are mostly educated guesses. For example you can use some fly walking videos to estimate the leg velocity and/or acceleration and then roughly estimate the force ballpark. Trial and error also works:) One choice of damping could be to use critical damping (for given actuator gain), you can try calculating it with a function like this. Getting better estimates for some of these parameters could be an interesting project. |
Hi again! Do you have an example where you control the wings of your fly model by using torque control? Thanks in advance! |
Sure, in fact we used nothing but torque control for the wings |
could you please refer me to it? |
Do you mean the flight task? It's here: |
Thanks! Going to check these. |
Hi! From your paper, I see the wings can be controlled by inputting torques. My question is, can I do the same with the leg joints?
Also, what units should the input torque be?
Thanks!
The text was updated successfully, but these errors were encountered: