neurobionics / TMotorCANControl

A python API to control AK-series TMotors over the CAN bus.
25 stars 21 forks source link

Wrong position reading for AK10-9 motor #14

Open CRAswinRaj opened 5 months ago

CRAswinRaj commented 5 months ago

I have been using the servo_can.py code to control an AK10-9 motor. However, I have observed that the motor position readings are occasionally incorrect. While the readings are accurate for most positions, there are certain angle intervals where, after the motor shaft is brought to these intervals and then restarted, the reading is offset by a multiple of 40 degrees. This offset persists until the motor is switched off.

Could anyone provide insights into why this issue might be occurring and suggest potential solutions? Any assistance would be greatly appreciated.

PAlorenzutti commented 1 month ago

hey, have you solved this issue? I'm not being able to get the position data of my AK10-9, but I'm using the servo_serial.py file.