Value of get_joint_velocities not same as set_joint_velocities

when I debug anymal example in OmniIsaacGymEnvs , find value from self._anymals.get_joint_velocities(clone=False) is not same as self._anymals.set_joint_velocities(dof_vel, indices)!
I try set fixed value ,but still read different value from get_joint_velocities!

Hi there, this behaviour is expected if you are trying to read the values that were set in the same step, before stepping physics, on the GPU pipeline. The values from the getter will update once a physics step happens. Please refer to our docs for more details: OmniIsaacGymEnvs/ at main · NVIDIA-Omniverse/OmniIsaacGymEnvs · GitHub

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.