add doc strings to commands missing them

Change-Id: Ib0320cc4653ff695a7ee2bad3486eeec5309d3b1
This commit is contained in:
2021-12-03 16:49:48 +01:00
parent 483d4c9d6f
commit 6e73420d0f
3 changed files with 7 additions and 0 deletions

View File

@ -148,6 +148,7 @@ class Motor(PersistentMixin, HasIodev, Drivable):
@Command
def reset(self):
"""reset error, set position to encoder"""
self.read_value()
if self.status[0] == self.Status.ERROR:
enc = self.encoder - self.zero