Issues point mass navigation gyro #120
-
Hello, I need to use the gyro to obtain the angular velocity. I found out that if I keep my agent with a force of 0 and apply an orientation of .1 (which implies that the agent is staying at the same position and rotating in the same place) the gyro should also give me an angular velocity of .1, correct ? However, this is not the case Here is the observation space: [ 3.76420450e-03 -1.25403920e+01 9.81000000e+00 7.34045467e-06
9.15165221e-03 0.00000000e+00 0.00000000e+00 0.00000000e+00
-4.42776151e-01 -4.93031965e-01 -8.31834237e-02 0.00000000e+00
0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00
0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00
0.00000000e+00 0.00000000e+00 0.00000000e+00 1.31161504e-01
1.90387407e-01 5.92259027e-02 0.00000000e+00 0.00000000e+00
0.00000000e+00 0.00000000e+00 0.00000000e+00 7.67086504e-02
8.05358533e-01 7.28649882e-01 0.00000000e+00 0.00000000e+00
0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00
0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00] My gyro value is -4.42776151e-01 which should have been .1, is there something I am missing ? Any help is appreciated, thank you |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Sorry for missing this message earlier. How are you ensuring the rotation at an angular velocity of 0.1? Could you please share a minimal reproducible script so I can better understand and replicate the issue? |
Beta Was this translation helpful? Give feedback.
-
Apologies for the delayed response. I ran your code, and this behavior is expected. In MuJoCo, control of speed and position is essentially implemented through the creation of integrated servos. Considering factors like friction, the actual stable values may not exactly match the set values. For more details, please refer to this link. |
Beta Was this translation helpful? Give feedback.
Apologies for the delayed response. I ran your code, and this behavior is expected. In MuJoCo, control of speed and position is essentially implemented through the creation of integrated servos. Considering factors like friction, the actual stable values may not exactly match the set values. For more details, please refer to this link.