File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Original file line number Diff line number Diff line change @@ -153,11 +153,11 @@ def transl2(x, y=None):
153
153
:type x: float
154
154
:param y: translation along Y-axis
155
155
:type y: float
156
- :return: SE(2) transform matrix or the translation elements of a homogeneous transform
157
- :rtype: ndarray(3,3)
156
+ :return: SE(2) transform matrix or the translation elements of a homogeneous
157
+ transform :rtype: ndarray(3,3)
158
158
159
- - ``T = transl2([X, Y])`` is an SE(2) homogeneous transform (3x3) representing a
160
- pure translation.
159
+ - ``T = transl2([X, Y])`` is an SE(2) homogeneous transform (3x3)
160
+ representing a pure translation.
161
161
- ``T = transl2( V )`` as above but the translation is given by a 2-element
162
162
list, dict, or a numpy array, row or column vector.
163
163
@@ -619,7 +619,7 @@ def trinterp2(start, end, s=None):
619
619
return ValueError ('Argument must be SO(2) or SE(2)' )
620
620
621
621
622
- def trprint2 (T , label = None , file = sys .stdout , fmt = '{:8.2g }' , unit = 'deg' ):
622
+ def trprint2 (T , label = None , file = sys .stdout , fmt = '{:.3g }' , unit = 'deg' ):
623
623
"""
624
624
Compact display of SE(2) or SO(2) matrices
625
625
You can’t perform that action at this time.
0 commit comments