Skip to content

Commit

Permalink
fixed a bug in prismatic joint (#568)
Browse files Browse the repository at this point in the history
  • Loading branch information
fantaosha authored Jul 6, 2023
1 parent 52851f2 commit a81b419
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchkin/torchkin/joint.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ def _check_input(angle: torch.Tensor):

def translation(self, angle: torch.Tensor) -> torch.Tensor:
_PrismaticJointImpl._check_input(angle)
return self.translation(angle.view(-1, 1))
return self._translation_impl(angle.view(-1, 1))

def _relative_pose_impl(self, angle: torch.Tensor) -> torch.Tensor:
trans = self.translation(angle)
Expand Down

0 comments on commit a81b419

Please sign in to comment.