| Index: chrome/test/vr/perf/latency/robot_arm.py
|
| diff --git a/chrome/test/vr/perf/latency/robot_arm.py b/chrome/test/vr/perf/latency/robot_arm.py
|
| index d62bef99b9cf6ef85f4f655b87440a2cda370b36..052b96179ba54fed42ce9a74a51bedae60485fab 100644
|
| --- a/chrome/test/vr/perf/latency/robot_arm.py
|
| +++ b/chrome/test/vr/perf/latency/robot_arm.py
|
| @@ -44,3 +44,7 @@ class RobotArm():
|
| if not self._connection:
|
| return
|
| self._connection.write('0\n')
|
| + # The manual usage instructions are printed over the serial connection
|
| + # every time we send a command - long test runs can result in the buffer
|
| + # filling up and causing the arm to hang, so periodically clear the buffer.
|
| + self._connection.flushInput()
|
|
|