64
12. (2) claps identified
(1) Description: Set the robot to return the condition “True” when a specific clapping pattern is identified; otherwise, the
condition “False” is returned.
(2) Return value: Boolean
(3) Example: Stop motion with clapping
This sets the robot to turn right and stop all motion when it identifies 3 claps.
Python API:
Function: vision_ctrl.check_condition(condition_enum)
Parameters:
● condition_enum(enum):
■ rm_define.cond_sound_recognized_applause_twice
■ rm_define.cond_sound_recognized_applause_thrice