Julian Stirling
f4d11b3c83
Simplify JogCommand class structure, and remove unneeded event logic
2026-02-16 17:31:39 +00:00
Julian Stirling
eb79905581
Removed the received Event as waiting for forces every jog to be queued and dequeued
2026-02-16 17:31:39 +00:00
Julian Stirling
728880e49d
Fix jog queue blocking waiting to put new commands.
2026-02-16 17:31:39 +00:00
Julian Stirling
f1d974c922
Improve some jogging docstrings
2026-02-16 17:31:39 +00:00
Julian Stirling
8478194e30
Better jog comments, use pointer events for robustness
2026-02-16 17:31:39 +00:00
Julian Stirling
d9ba5d906d
No jog when right-click on d-pad
2026-02-16 17:31:39 +00:00
Julian Stirling
a1ceb1fc5e
Jog buttons in calibration wizard
2026-02-16 17:31:38 +00:00
Julian Stirling
84488b579b
Re-implement stage button inversion and update position during move.
2026-02-16 17:31:38 +00:00
Julian Stirling
586d45aed3
Debounce keyboard repeats for smoother movement
2026-02-16 17:17:32 +00:00
Julian Stirling
61666a116b
Simulation jog
2026-02-16 17:13:27 +00:00
Julian Stirling
70dd7bd994
Generalise jog
2026-02-16 17:13:27 +00:00
Julian Stirling
2f205a35e9
Fix docstrings
2026-02-16 17:13:27 +00:00
Julian Stirling
5af8ad5192
Split jog dequing from calling commands
2026-02-16 17:13:27 +00:00
Richard Bowman
9ed850cc68
Switch move buttons to use jog
...
This implements a nicer version of jogging, with a defined interval of 1/3 second. This can be tuned depending on what we think makes sense.
It might be good to re-use this for handling keypresses.
2026-02-16 17:13:27 +00:00
Richard Bowman
abda60adf6
Prevent accidental queueing of jog commands
2026-02-16 17:12:17 +00:00
Richard Bowman
4d445396b2
Update position property during and after jog
2026-02-16 17:12:17 +00:00
Richard Bowman
04e7fa30bd
Format fixes
2026-02-16 17:12:17 +00:00
Richard Bowman
d09a5a8ee2
Use jog action for arrow keys.
...
This now makes the arrow keys work more or less continuously, and stop responsively.
It could do with optimisation so the key rep rate is lower, but the initial wait is shorter. That probably entails adding our own timeout.
2026-02-16 17:12:15 +00:00
Richard Bowman
3753341893
First working version of jog
...
I've fixed a few issues, used the right exception for queue timeouts, and added a __repr__ to jog commands for nicer debug output.
This now works - it's not flawlessly smooth, but it's pretty close. The limiting factor seems to be the repeat rate of the keypresses in javascript.
2026-02-16 16:50:10 +00:00
Richard Bowman
e9b4d73084
First implementation of interruptable jog moves.
...
This introduces a new move command, "jog", which is a relative move that may be interrupted. The idea is that a client may send repeated requests to invoke "jog" actions, and each action replaces the previous one. This should mean that a continuous stream of "jog" requests results in continuous motion of the stage.
Motion may be stopped by cancelling an ongoing `jog` action, or by waiting for the move to complete.
My rationale for implementing it this way is that we have a built in fail-safe, because the stage will automatically stop after the current `jog` move completes, unless it gets another request. Using a short move (e.g. 0.5s) means it should never overrun by more than that.
2026-02-16 16:50:10 +00:00
Julian Stirling
93bdc7cf3f
Merge branch 'tidy-optional-deps' into 'v3'
...
Tidy optional deps
See merge request openflexure/openflexure-microscope-server!480
2026-02-16 14:05:16 +00:00
Julian Stirling
11beb79a77
Merge branch 'vue2-3_goal_1' into 'v3'
...
Vue2-3 migration.
See merge request openflexure/openflexure-microscope-server!479
2026-02-16 12:29:38 +00:00
Julian Stirling
dcc73c248a
Remove commented gitlab-code-quality dep and use in CI
2026-02-16 00:01:02 +00:00
Julian Stirling
e5acda7cc7
Bump rust version
2026-02-15 23:34:36 +00:00
Julian Stirling
8f52be6e0c
Remove compat relics from vite.config.mjs
2026-02-15 20:09:05 +00:00
Julian Stirling
63156c403b
Remove commented out code
2026-02-15 20:02:30 +00:00
Julian Stirling
ca0b6c02d2
Fix property control when loosing focus
2026-02-15 18:58:25 +00:00
Julian Stirling
015d6c5f03
Developer Mode set from environment variable
2026-02-15 17:11:56 +00:00
Julian Stirling
eb22ad7e68
Remove Vue3 migration comments
2026-02-15 17:11:55 +00:00
Julian Stirling
c583be7756
Remove console logging
2026-02-15 17:11:55 +00:00
Julian Stirling
f1a51dad84
Remove compat from deps
2026-02-15 17:11:55 +00:00
Julian Stirling
591df646c0
Fix some commented out lines
2026-02-15 17:11:55 +00:00
Julian Stirling
d6b7e41698
Fix slide scan component
2026-02-15 17:11:55 +00:00
Julian Stirling
013b7e9dc9
Use vue3 without compat
2026-02-15 17:11:55 +00:00
Julian Stirling
d4f26e8536
Fix static file check and associated tests
2026-02-15 16:03:06 +00:00
Antonio Anaya
a2565adcba
ui_migration fix(deps): fixing calibration wizard adding markRaw to components.
2026-02-15 04:28:55 -06:00
Antonio Anaya
e93de652c6
ui_migration fix(deps): fixing import vue-paginate-next
2026-02-15 03:51:07 -06:00
Antonio Anaya
f4ebce2009
ui_migration lint(fix): npm build warning fix
2026-02-15 03:29:02 -06:00
Antonio Anaya
ca23565221
ui_migration fix(deps): adde missing dependency in package.json autoprefixer
2026-02-15 03:23:31 -06:00
Antonio Anaya
e438b642bd
ui_migration lint(fix): ruff format
2026-02-15 02:57:41 -06:00
Antonio Anaya
1b16917542
ui_migration lint(fix): ruff fix
2026-02-15 02:47:04 -06:00
Antonio Anaya
b94ebaa1c4
ui_migration lint(fix): updated vite and plugin-vue to SAFEST latest version.
2026-02-15 02:35:12 -06:00
Antonio Anaya
7c04b94710
ui_migration lint(fix): deleted unused babel config.js, updated eslintrc.js
2026-02-15 02:28:42 -06:00
Antonio Anaya
7c00e5e046
ui_migration lint(fix): update and deleted old vite configuration files and html index
2026-02-15 01:19:17 -06:00
Antonio Anaya
ce19ea3fc0
ui_migration lint(fix): changes fixed with lint ecmaversion & es2021
2026-02-15 01:03:29 -06:00
Antonio Anaya
0741e3cf7e
ui_migration fix(deps): VUE3 migration goal_1, updated and detailed lint checks for vue compat mode.
2026-02-15 00:00:53 -06:00
Antonio Anaya
92f4390cfc
ui_migration fix(deps): VUE3 migration goal_1, suggestions by @julianstirling fixed version package name and removing calibration wizard components from static registration.
2026-02-15 04:43:07 +00:00
Antonio Anaya
73fc635f88
ui_migration fix(deps): VUE3 migration goal_1, package dependencies.
2026-02-14 04:37:39 -06:00
Antonio Anaya
610f963c4e
ui_migration fix(deps): VUE3 migration goal_1, Resolved core dependencies for the UI migration. Remaining warnings are non-critical and do not affect runtime stability.
2026-02-14 04:36:08 -06:00
Antonio Anaya
5a62b92f45
ui_migration fix(deps): --preliminary-- --python-- added developer options that add cors options to enable connecting ui from another IP
2026-02-13 19:24:06 -06:00