Skip to content

Commit 1b946d2

Browse files
committed
base method should use NumPy arrays not Pose class
1 parent 7c21aff commit 1b946d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spatialmath/base/graphics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1034,7 +1034,7 @@ def plot_cuboid(
10341034
vertices = vertices.T
10351035

10361036
if pose is not None:
1037-
vertices = pose * vertices
1037+
vertices = smbase.homtrans(pose.A, vertices)
10381038

10391039
ax = axes_logic(ax, 3)
10401040
# plot sides

0 commit comments

Comments
 (0)