(self, joint_names)
return np.vstack([np.sin(joint_pos), np.cos(joint_pos)]).T
Returns joint positions as (sin, cos) values.
Returns joint positions as (sin, cos) values.
Returns joint positions as ( sin cos ) values .
def bounded_joint_pos(self, joint_names):
    """Returns joint positions as (sin, cos) values."""
    joint_pos = self.named.data.qpos[joint_names]
    return np.vstack([np.sin(joint_pos), np.cos(joint_pos)]).T
def bounded_joint_pos ( self , joint_names ) : joint_pos = self . named . data . qpos [ joint_names ] return np . vstack ( [ np . sin ( joint_pos ) , np . cos ( joint_pos ) ] ) . T