Add robot support for Drumroll tests

This CL adds touchbot controll scripts and the gesture interpreter
to allow the touchbot to run the Drumroll tests automatically.

BUG=chromium:474709
TEST=manually tested by running the test and the gesture looks good

Change-Id: Ia9c40826cbcb3d7fb1d32281e4f826b94d9d1282
Signed-off-by: Charlie Mooney <charliemooney@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/283131
Reviewed-by: Shyh-In Hwang <josephsih@chromium.org>
diff --git a/gesture_interpreter.py b/gesture_interpreter.py
index d9bedf6..6f43b51 100644
--- a/gesture_interpreter.py
+++ b/gesture_interpreter.py
@@ -175,6 +175,9 @@
     fn = lambda: _PerformPhysicalClickTest(variation, robot, device_spec,
                                            fingertips)
 
+  elif test.name == tests.DRUMROLL:
+    fn = lambda: _PerformDrumroll(variation, robot, device_spec)
+
   elif test.name in SINGLE_FINGER_LINE_TESTS:
     pause = 1 if test.name == tests.ONE_FINGER_TRACKING_FROM_CENTER else 0
     is_swipe = (test.name == tests.ONE_FINGER_SWIPE)
@@ -319,3 +322,9 @@
   location, = variation
   click_position = LOCATION_COORDINATES[location]
   robot.Click(device_spec, fingertips, click_position)
+
+def _PerformDrumroll(variation, robot, device_spec):
+  fingertips = [robot.fingertips[STANDARD_FINGERTIP],
+                robot.fingertips[STANDARD_SECONDARY_FINGERTIP]]
+  location = LOCATION_COORDINATES[tests.GV.CENTER]
+  robot.Drumroll(device_spec, fingertips, location)