You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ESP32StageManager doesn't use the base definition (doesn't respect the abstract methods) of the PositionerManager, even when it inherits from it.
The move method in the ESP32StageManager switches dist for value, I guess to include the is_absolute option, but conflicting with the abstract method.
In general, the ESP32Stage interface could include another abstraction layer that integrates the motor and home modules, in order to integrate it in the manager:
These 2 lines would be simplified with the following line, which includes the business logic of the complete XYZ stage:
self._stage = self._rs232manager._esp32.stage
This would follow the convention of the Manager class instantiating a low-level interface, like for example in this LantzLaserManager, where the Manager instantiates a self._laser:
I will try to provide some improvements while working on the scan script that can use a deck configuration and is independent of the stage used. When I get it working, I will push it to Labmaite's branch and comment it.
Hi @beniroquai !
The ESP32StageManager doesn't use the base definition (doesn't respect the abstract methods) of the PositionerManager, even when it inherits from it.
The move method in the ESP32StageManager switches dist for value, I guess to include the is_absolute option, but conflicting with the abstract method.
In general, the ESP32Stage interface could include another abstraction layer that integrates the motor and home modules, in order to integrate it in the manager:
These 2 lines would be simplified with the following line, which includes the business logic of the complete XYZ stage:
This would follow the convention of the Manager class instantiating a low-level interface, like for example in this LantzLaserManager, where the Manager instantiates a self._laser:
Kind regards!
The text was updated successfully, but these errors were encountered: