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 ca0c5ed commit d63e587Copy full SHA for d63e587
rtb/robot/ets.py
@@ -58,6 +58,9 @@ def __init__(
58
# Number of joints in the robot
59
self._n = len(self._q_idx)
60
61
+ # Current joint angles of the robot
62
+ self._q = np.zeros((self._n,))
63
+
64
@classmethod
65
def dh_to_ets(cls, robot):
66
"""
@@ -119,6 +122,10 @@ def dh_to_ets(cls, robot):
119
122
robot.base,
120
123
robot.tool)
121
124
125
+ @property
126
+ def q(self):
127
+ return self._q
128
129
@property
130
def name(self):
131
return self._name
0 commit comments