Merge branch 'wip' of gitlab.psi.ch:samenv/frappy into wip
This commit is contained in:
@ -834,7 +834,7 @@ class Readable(Module):
|
|||||||
value = Parameter('current value of the module', FloatRange())
|
value = Parameter('current value of the module', FloatRange())
|
||||||
status = Parameter('current status of the module', StatusType(Status),
|
status = Parameter('current status of the module', StatusType(Status),
|
||||||
default=(StatusType.IDLE, ''))
|
default=(StatusType.IDLE, ''))
|
||||||
pollinterval = Parameter('default poll interval', FloatRange(0.1, 120),
|
pollinterval = Parameter('default poll interval', FloatRange(0.1, 120, unit='s'),
|
||||||
default=5, readonly=False, export=True)
|
default=5, readonly=False, export=True)
|
||||||
|
|
||||||
def doPoll(self):
|
def doPoll(self):
|
||||||
|
@ -69,9 +69,9 @@ class Motor(HasOffset, PersistentMixin, HasIO, Drivable):
|
|||||||
encoder_tolerance = Parameter('', FloatRange(unit='deg'), readonly=False, default=0.01)
|
encoder_tolerance = Parameter('', FloatRange(unit='deg'), readonly=False, default=0.01)
|
||||||
sign = PersistentParam('', IntRange(-1,1), readonly=False, default=1)
|
sign = PersistentParam('', IntRange(-1,1), readonly=False, default=1)
|
||||||
encoder = Parameter('encoder reading', FloatRange(unit='deg'))
|
encoder = Parameter('encoder reading', FloatRange(unit='deg'))
|
||||||
backlash = Parameter("""backlash compensation\n
|
backlash = PersistentParam("""backlash compensation\n
|
||||||
offset for always approaching from the same side""",
|
offset for always approaching from the same side""",
|
||||||
FloatRange(unit='deg'), readonly=False, default=0)
|
FloatRange(unit='deg'), readonly=False, default=0)
|
||||||
target_min = Limit()
|
target_min = Limit()
|
||||||
target_max = Limit()
|
target_max = Limit()
|
||||||
alive_time = PersistentParam('alive time for detecting restarts',
|
alive_time = PersistentParam('alive time for detecting restarts',
|
||||||
|
Reference in New Issue
Block a user