New functions
New implementation of the APT protocol MOT_GET_STATUSBITS command open the pathway to status-based logic:
get_status_bitsin_motion_cw(clockwise / forwards)in_motion_ccw(counter-clockwise / backwards)in_motion(any direction)is_homed
The new relative movement functions allow users to increment position with higher precision compared to jog.
move_relativemove_relative_from_params
Backend Improvements
- Introduced the
thormacrosdependency to ensure base functions are synchronous by default, with asynchronous functions named using the_asyncsuffix. Guaranteed synchronous and asynchronous options for every function. - Implemented Rust logging for improved debugging. Easy-to-use Python
log_to_stoutandlog_to_filefunctions planned for future release.
Other Changes
get_channel_enable_state(old name) renamed tois_channel_enabled(new name) and returns a simple boolean value.set_channel_enable_state(old name) renamed toset_channel_enabled(new name)