Move actuator to waiting location after tests
As is, the finger actuator will stay in the last location used during a
test case, which may be inconvenient for the operator. Instead, move it
to the standard waiting location above the top left of the screen.
BUG=b:148627899
TEST=Run tests and observe that actuator moves to waiting location
Change-Id: I3841c084dc88754230c9a56a92d8e0429319662c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/optofidelity_TPPT/+/3791611
Commit-Queue: Sean O'Brien <seobrien@chromium.org>
Reviewed-by: Sean O'Brien <seobrien@chromium.org>
Reviewed-by: Kenneth Albanowski <kenalba@google.com>
Reviewed-by: Jingyuan Liang <jingyliang@google.com>
Tested-by: Sean O'Brien <seobrien@chromium.org>
diff --git a/LoopSequence.py b/LoopSequence.py
index 1905f6a..875fada 100644
--- a/LoopSequence.py
+++ b/LoopSequence.py
@@ -293,6 +293,9 @@
finally:
test.final_cleanup()
+ active_dut = self.get_active_dut()
+ active_dut.jump(0.0, 0.0, active_dut.base_distance)
+
if self.function_generator_attached:
self.prompt_to_detach_function_generator()