elephantrobotics / pymycobot

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

read_angles: Off by a factor of 6? #17

Closed eacousineau closed 3 years ago

eacousineau commented 3 years ago

Describe the bug When getting angles in degrees, it appears that joint angles are off by a factor of 6.

To Reproduce

Expected behavior It prints the correct values by default?

Screenshots N/A

Desktop (please complete the following information):

Smartphone (please complete the following information): N/A

Additional context N/A

eacousineau commented 3 years ago

Will try out calibration procedure here: https://www.elephantrobotics.com/docs/myCobot-en/5-others/1-maintanance.html#calibration

(But using minimycobotflasher)

eacousineau commented 3 years ago

Did calibration, but that only seemed to fix the home positions; the scaling is still off.

Am I using the wrong version of AtomMain? EDIT: Ah, perhaps I need AtomMain >=3.0? https://github.com/elephantrobotics/myCobot/tree/24575765ce7844fa880add62c31f330055663ff1#libraries

eacousineau commented 3 years ago

Per elephantrobotics/myCobot#17, flashing Atom to AtomMain 2.8 fixed the problem.

(The LED's are no longer lighting up, but meh.)