elephantrobotics / pymycobot

This is a python API for ElephantRobotics product.
MIT License
109 stars 54 forks source link

get_encoder() should return one scalar value #20

Closed 3110 closed 3 years ago

3110 commented 3 years ago

Describe the bug

To Reproduce

In [1]: from pymycobot.mycobot import MyCobot
In [2]: mc = MyCobot("COM6")
In [3]: mc.get_encoder(1)
Out[3]: [913]

Expected behavior

In [1]: from pymycobot.mycobot import MyCobot
In [2]: mc = MyCobot("COM6")
In [3]: mc.get_encoder(1)
Out[3]: 913

Desktop:

zlj-zz commented 3 years ago

Same problem. let's discuss on #19