Number of digits in axis position display
Number of digits when displaying an axis position must be customizable independently of tolerance
which is a behavioral parameter (used for discepency check or multiple position for example).
places of position/dial/limits display:
- wm
- wa
- umv
- anmesh title (check
scans/test_mesh_scans.py
) - Scan _multimotors info
CYRIL [4]: umv(mm1, 14.123456)
Moving mm1 from 12.1 to 14.1
mm1[parsec]
user 14.123
dial 2.013
related to:
Options:
- To add a
display_digits
in axis config - to use existing
steps_position_precision
?
def steps_position_precision(self, axis):
"""
Return a float value representing the precision of the position in steps
* 1e-6 is the default value: it means the motor can deal with floating point
steps up to 6 digits
* 1 means the motor controller can only deal with an integer number of steps
* soft axis controller return -inf to shunt the _is_already_on_position() check
"""
return 1e-6
Edited by Cyril Guilloud