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 99d450e commit 745c93eCopy full SHA for 745c93e
pymycobot/elephantrobot.py
@@ -207,11 +207,21 @@ def get_angles(self):
207
res = self.send_command(command)
208
return self.string_to_coords(res)
209
210
+ def get_angle(self, joint):
211
+ command = "get_angle(" + str(joint) + ")\n"
212
+ res = self.send_command(command)
213
+ return self.string_to_double(res)
214
+
215
def get_coords(self):
216
command = "get_coords()\n"
217
218
219
220
+ def get_coord(self, axis):
221
+ command = "get_coord(" + str(axis) + ")\n"
222
223
224
225
def get_speed(self):
226
command = "get_speed()\n"
227
0 commit comments