We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 203d85e commit 38a708aCopy full SHA for 38a708a
roboticstoolbox/robot/Robot.py
@@ -1340,7 +1340,7 @@ def q(self, q_new):
1340
# --------------------------------------------------------------------- #
1341
1342
@property
1343
- def qd(self):
+ def qd(self) -> ndarray:
1344
"""
1345
Get/set robot joint velocity (Robot superclass)
1346
@@ -1357,7 +1357,7 @@ def qd(self):
1357
1358
@qd.setter
1359
def qd(self, qd_new):
1360
- self._qd = getvector(qd_new, self.n)
+ self._qd = np.array(getvector(qd_new, self.n))
1361
1362
1363
0 commit comments