forked from delmic/odemis
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix] simulated stage could take very long doing an absolute move to 0
When asking a moveAbs() to position 0, which is usually the center of the axis, the code would detect it's not a float, and concider it as a "arbitrary move". If the speed was set to something "reasonable" like 1 mm/s, that would cause a 100 s move. => detect it's a arbitrary move by the presence of .choices
- Loading branch information
Showing
2 changed files
with
26 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters