加入Z轴运行控制,加快五轴运行速度
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user