My_motor: changed speed to get and put VELO rbv as Motor.slew_speed was not working

This commit is contained in:
2026-01-22 10:13:32 +01:00
parent 7dc103e238
commit db6b95a9e4
+2 -2
View File
@@ -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):