Skip to content

Commit 1ae8415

Browse files
author
Leonid Fedorenchik
committed
fix(mycobotpro630): Remove clear_encoder_error() calls
1 parent a34a95e commit 1ae8415

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

pymycobot/mycobotpro630.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -749,11 +749,6 @@ def start_robot(self, power_on_only=False):
749749
print("state_on_ok is false")
750750
return False
751751

752-
for i in range(6):
753-
if self.get_joint_error_mask(Joint(i)) & (1 << 16):
754-
self._servo_init_can_output(Joint(i))
755-
self._servo_clear_encoder_error(Joint(i))
756-
757752
os.system("halcmd setp or2.0.in1 1")
758753
return True
759754

0 commit comments

Comments
 (0)