adapt uniax simulation to newest uniax version
Change-Id: Iad13306edf007ecfa4aebafdfb0bd38fa6be9c6a
This commit is contained in:
parent
99ebb9d110
commit
1c1911f8a8
@ -7,7 +7,7 @@ uri=tcp://5000
|
|||||||
|
|
||||||
[drv]
|
[drv]
|
||||||
class = secop.simulation.SimDrivable
|
class = secop.simulation.SimDrivable
|
||||||
extra_params = speed
|
extra_params = speed, safe_current, safe_step, maxcurrent
|
||||||
description = simulated motor
|
description = simulated motor
|
||||||
value.default = 0
|
value.default = 0
|
||||||
speed.readonly = False
|
speed.readonly = False
|
||||||
|
@ -32,6 +32,7 @@ class DPM3(Readable):
|
|||||||
hysteresis = Parameter('simulated hysteresis', FloatRange(unit='deg'), default=100, readonly=False)
|
hysteresis = Parameter('simulated hysteresis', FloatRange(unit='deg'), default=100, readonly=False)
|
||||||
friction = Parameter('friction', FloatRange(unit='N/deg'), default=1, readonly=False)
|
friction = Parameter('friction', FloatRange(unit='N/deg'), default=1, readonly=False)
|
||||||
slope = Parameter('slope', FloatRange(unit='N/deg'), default=10, readonly=False)
|
slope = Parameter('slope', FloatRange(unit='N/deg'), default=10, readonly=False)
|
||||||
|
offset = Parameter('offset', FloatRange(unit='N'), default=0, readonly=False)
|
||||||
|
|
||||||
_pos = 0 # effective piston position, main hysteresis taken into account
|
_pos = 0 # effective piston position, main hysteresis taken into account
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user