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