8000 rviz style should not have axis labels · RedCarp0/spatialmath-python@985c3c9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 985c3c9

Browse files
committed
rviz style should not have axis labels
1 parent 291907b commit 985c3c9

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

spatialmath/base/transforms3d.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2933,7 +2933,6 @@ def trplot(
29332933
:type T: ndarray(4,4) or ndarray(3,3) or an iterable returning same
29342934
:param style: axis style: 'arrow' [default], 'line', 'rgb', 'rviz' (Rviz style)
29352935
:type style: str
2936-
29372936
:param color: color of the lines defining the frame
29382937
:type color: str or list(3) or tuple(3) of str
29392938
:param textcolor: color of text labels for the frame, default ``color``
@@ -3144,6 +3143,7 @@ def trplot(
31443143
if width is None:
31453144
width = 8
31463145
style = "line"
3146+
axislabel = False
31473147
elif style == "rgb":
31483148
if originsize is None:
31493149
originsize = 0
@@ -3459,6 +3459,10 @@ def tranimate(T: Union[SO3Array, SE3Array], **kwargs) -> str:
34593459
[0, 0, 0, 1],
34603460
]
34613461
)
3462-
theta, vec = tr2angvec(T)
3463-
print(theta, vec)
3464-
print(trlog(T, twist=True))
3462+
# theta, vec = tr2angvec(T)
3463+
# print(theta, vec)
3464+
# print(trlog(T, twist=True))
3465+
3466+
X = transl(3, 4, -4)
3467+
trplot(X, width=2, style="rviz", block=True)
3468+
pass

0 commit comments

Comments
 (0)
0