Torque control implementation

Did you call get_dof_effort(...) before or after set_dof_state(...)? I had the same issue with get_rigid_body_linear_velocity(...) (How to use set_rigid_body_linear_velocity(self, arg0, arg1) from class DynamicControl? - #4 by hoanggiang). Could you try get_dof_state(...) (Dynamic Control [omni.isaac.dynamic_control] — isaac_sim 2022.1.1-release.1 documentation) also? Just to double check the position and velocity as well.