velocity not always available for all axis
I have created bliss/bliss#3086 (closed)
There is maybe something to do on Daiquiri side to make it safe.
Basically i think no calc axis have a velocity.
2021-11-09 11:24:44,820 daiquiri.core.hardware.bliss.object INFO Could not get property velocity from sampx
Traceback (most recent call last):
File "/users/valls/workspace/daiquiri-tomo.git/daiquiri.git/daiquiri/core/hardware/bliss/object.py", line 86, in _do_get
return get_nested_attr(obj, prop.name)
File "/users/valls/workspace/daiquiri-tomo.git/daiquiri.git/daiquiri/core/utils/__init__.py", line 153, in get_nested_attr
obj = getattr(obj, i)
File "/users/valls/workspace/daiquiri-tomo.git/bliss.git/bliss/common/axis.py", line 636, in func_wrapper
return func(self, *args, **kwargs)
File "/users/valls/workspace/daiquiri-tomo.git/bliss.git/bliss/common/axis.py", line 1281, in velocity
_user_vel = self.__controller.read_velocity(self) / abs(self.steps_per_unit)
File "/users/valls/workspace/daiquiri-tomo.git/bliss.git/bliss/controllers/motor.py", line 521, in read_velocity
raise NotImplementedError
NotImplementedError
Edited by Valentin Valls