File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -244,7 +244,7 @@ def __init__(
244
244
self ,
245
245
robot ,
246
246
frame = "0" ,
247
- representation = "rpy/xyz" ,
247
+ representation = None ,
248
248
inverse = False ,
249
249
pinv = False ,
250
250
damping = None ,
@@ -256,7 +256,7 @@ def __init__(
256
256
:type robot: Robot subclass
257
257
:param frame: Frame to compute Jacobian for, one of: "0" [default], "e"
258
258
:type frame: str, optional
259
- :param representation: representation for analytical Jacobian, defaults to "rpy/xyz"
259
+ :param representation: representation for analytical Jacobian
260
260
:type representation: str, optional
261
261
:param inverse: output inverse of Jacobian, defaults to False
262
262
:type inverse: bool, optional
@@ -318,8 +318,7 @@ def __init__(
318
318
def output (self , t , inports , x ):
319
319
q = inports [0 ]
320
320
321
- if self .representation is None :
322
- J = self .jfunc (q )
321
+ J = self .jfunc (q )
323
322
324
323
# add damping term if given
325
324
if (self .inverse or self .pinv ) and self .damping is not None :
You can’t perform that action at this time.
0 commit comments