EasyManua.ls Logo

dji RoboMaster EP - Page 133

dji RoboMaster EP
187 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
132
(1) Objective: Ensures the next command will not be executed until a specified sound has been emitted
(2) Type: Execution block, Blocking block
(3) Example: Remote control photograph
When the EP identifies a “take photo” gesture, it will take a photo after playing the “start countdown” chime.
If it does not identify a “take photo” gesture, it will continue to rotate and search for the gesture while playing
a “scanning” sound.
Note:
play sound” refers to simultaneous execution of the music and the next command, similar to a musical
accompaniment;
play sound until finished” refers to one being executed after the other, making the sound more like a musical
solo.
Python API
Function: media_ctrl.play_sound(sound_enum, wait_complete_flag=True)

Related product manuals