Skip to content

Commit 0111d5b

Browse files
committed
fix bug in twist to line conversion
1 parent 0ce4994 commit 0111d5b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎spatialmath/twist.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -960,7 +960,7 @@ def line(self):
960960
>>> S = Twist3(T)
961961
>>> S.line()
962962
"""
963-
return Line3([Line3(-tw.v - tw.pitch * tw.w, tw.w) for tw in self])
963+
return Line3([Line3(-tw.v + tw.pitch * tw.w, tw.w) for tw in self])
964964

965965
@property
966966
def pole(self):

0 commit comments

Comments
 (0)