How do I get my model to work correctly? #260
Answered
by
yuvaltassa
mengysu
asked this question in
Asking for Help
Replies: 1 comment 2 replies
-
|
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
yuvaltassa
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dear MuJoCo developers,
I am trying to use my humanoid model (21 freedom) for reinforcement learning, based on mujoco and mujoco-py. So far, I encountered some issues:
armature = 0.01,
It works fine if I just give the command, but if I train my model, it can not work well. When I setarmature = 2.5
, the model falls back if I give a direct command, but I can train for some bad effects with my model, like falling over after a single step. That confuses me a lot, what does ‘armature’ mean and how should I set the value?step(action)
, where the code that interacts with the environment isdo_simulation(ctrl, skip_frame)
. No matter if I setmotor
orposition
in the<actuator>
, the joint only can move to a certain position, it seems like controlling the position. The difference is that the latter one is very shaky. I set the<actuator>
as follows:I found that when I directly gave joint angles, it required a transformation, I got the relationship
*100/7
through trial. I want to know why both motor and position are position control, as well as the actual process of control and their true transformation relationship.Beta Was this translation helpful? Give feedback.
All reactions