Skip to content

Commit

Permalink
Fix get_link_transform method in CudaRobotModel.
Browse files Browse the repository at this point in the history
  • Loading branch information
tahsinkose committed Jul 10, 2024
1 parent 1dc8162 commit ba4e57e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/curobo/cuda_robot_model/cuda_robot_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ def get_link_mesh(self, link_name: str) -> Mesh:
return mesh

def get_link_transform(self, link_name: str) -> Pose:
mat = self._kinematics_config.fixed_transforms[self._name_to_idx_map[link_name]]
mat = self.kinematics_config.fixed_transforms[self.kinematics_config.link_name_to_idx_map[link_name]]
pose = Pose(position=mat[:3, 3], rotation=mat[:3, :3])
return pose

Expand Down

0 comments on commit ba4e57e

Please sign in to comment.