Bug Description
When running the skrl training script with the direct task template, the environment crashes with AttributeError: 'Tensor' object has no attribute 'torch' at line 107 in isaac_lab_tutorial_env.py. This is because in recent commits of Isaac Lab (Extension version 0.54.4), self.robot.data.root_link_quat_w and self.robot.data.FORWARD_VEC_B already returns a standard PyTorch Tensor. Calling .torch on it is now redundant and causes a failure. Removing .torch resolves the issue.
Bug Description
When running the
skrltraining script with the direct task template, the environment crashes withAttributeError: 'Tensor' object has no attribute 'torch'at line 107 inisaac_lab_tutorial_env.py. This is because in recent commits of Isaac Lab (Extension version0.54.4),self.robot.data.root_link_quat_wandself.robot.data.FORWARD_VEC_Balready returns a standard PyTorchTensor. Calling.torchon it is now redundant and causes a failure. Removing.torchresolves the issue.