Closed dchen48 closed 10 months ago
env.single_agent_env.unwrapped.data.qpos
env.single_agent_env.unwrapped.data.qvel
You can check the doc pages of single agent gymnasium environments, https://gymnasium.farama.org/main/environments/mujoco/reacher/
Thanks a lot for the quick reply. It seems that env.single_agent_env.unwrapped.data.qpos returns an array of 4 elements. What does each of them represent?
Can you please help me verify:
Your help is greatly appreciated.
cvel
(more on https://mujoco.readthedocs.io/en/latest/APIreference/APItypes.html?highlight=cvel#mjdata)Thanks for the help. Yes, I mean "Cartesian velocity", and now I understand how to get it.
I am working on multi-agent reacher with 2 links. How can I get the absolute position and velocities in the global coordinate system? Thank you for the help.