Monitor the head demo

async test.demo_touch.test_ObserveHeadRacket()[source]

Monitor head event demo

Monitor the head event, and report the head type when the robot’s head is tapped

When the head of the robot is double-clicked, stop monitoring and dance a dance

# ObserveHeadRacketResponse.type:

# class HeadRacketType(enum.Enum):

# SINGLE_CLICK = 1 # Click

# LONG_PRESS = 2 # Long press

# DOUBLE_CLICK = 3 # Double click