google-deepmind / mujoco

Multi-Joint dynamics with Contact. A general purpose physics simulator.
https://mujoco.org
Apache License 2.0
7.84k stars 783 forks source link

Equivalent of the get_site_xvelp() in Mujoco 3.1 #1737

Closed girishsmurthyIntel closed 3 months ago

girishsmurthyIntel commented 3 months ago

Dear Team,

    Earlier in Mujoco2.x there was an usage of self.conveyor.sim.data.get_site_xvelp(f"object{object_id}") * self._dt to determine the positional velocity. Can you please help me on how to migrate this in 3.1?
yuvaltassa commented 3 months ago

https://mujoco.readthedocs.io/en/latest/APIreference/APIfunctions.html#mj-objectvelocity