131
(1) Objective: Sets the EP to emit a sound and executes the next command
(2) Type: Execution block, Non-blocking block
(3) Example: Emit scanning tone
This will set the robot to emit a “scanning” sound when the chassis is translating forward and the gimbal is
rotating around the Yaw-axis.
Python API:
Function: media_ctrl.play_sound(sound_enum, wait_complete_flag=False)
Parameters:
● sound_enum(enum):
■ rm_define.media_sound_attacked
■ rm_define.media_sound_shoot
■ rm_define.media_sound_scanning
■ rm_define.media_sound_recognize_success
■ rm_define.media_sound_gimbal_rotate
■ rm_define.media_sound_count_down