My_motor: changed speed to get and put VELO rbv as Motor.slew_speed was not working
This commit is contained in:
@@ -10,12 +10,12 @@ class MyMotor(Motor):
|
||||
@property
|
||||
def speed(self):
|
||||
"""Gets the current motor.slew_speed value"""
|
||||
return self.slew_speed
|
||||
return self.get('VELO')
|
||||
|
||||
@speed.setter
|
||||
def speed(self, v):
|
||||
"""Sets the motor slew speed"""
|
||||
self.slew_speed = v
|
||||
self.put('VELO', v)
|
||||
|
||||
@property
|
||||
def position(self):
|
||||
|
||||
Reference in New Issue
Block a user