I reset the robot using set_joint_positions in the reset function, and get it’s pose in get_observations function. It works well when the UI was showed( headless = False). However, when I set the headless=True, it get the wrong pose in the get_observations function.
It seems the set_joint_positions can not move the robot or the get_world_poses() can not get the correctly position, I am not sure which one cause the problem.
How can i solve it?
Hi there, are you able to share a repro case for the issue? Generally, set_joint_positions will move the joints while get_world_poses() returns the root transforms of the robot. If the APIs were working well with the UI, you can also try increasing the controlFrequencyInv flag in the task config file under the env section. This will increase the number of physics steps taken for each RL step.