I’m learning the tutorial code of OmniIsaacGymEnvs, here is its github repository link: GitHub - NVIDIA-Omniverse/OmniIsaacGymEnvs: Reinforcement Learning Environments for Omniverse Isaac Gym
I can run the code of training Anymal successfully. I can get the updated translation of base and THIGH in world frame during simulation. I also want to get the translation of SHANK, so I imitate the code to define an articulation view of SHANK, and want to get its translation by the function ‘get_world_poses’ in world frame. However, I can only get its initial translation. While the translations of THIGH and base changes during the simulation, SHANK’s translation keeps fixed.
Following is the definition of SHANK’s articulation view:
I defined a function to print THIGH and SHANK translations:
Here is the prints, you can see that the knee_heights changes, but the shank_heights keep fixed:
Can somebody tell me how to get updated translations of SHANK during the simulation?