加入Z轴运行控制,加快五轴运行速度

This commit is contained in:
2026-10-10 17:16:19 +08:00
parent cf86bd0702
commit 51accb9196
8 changed files with 58 additions and 49 deletions
+8 -2
View File
@@ -202,8 +202,14 @@ def test_accepting_the_prompt_starts_the_move(make_window, monkeypatch):
)
window._on_return_to_initial() # noqa: SLF001
assert window.mover.running, "accepting the prompt did not start the move"
assert [step.role for step in window.mover.state.plan.steps][0] == "z"
# The status line carries the plan, so the operator sees what is moving.
assert [step.role for step in window.mover.state.plan.steps] == [
"yaw",
"pitch",
"x",
"y",
"z",
]
assert window.mover.state.plan.together
assert "z" in window.finger_panel.move_label.text()
finally:
window.mover.cancel("test")