
80
clapping.
Python API
:
Function: media_ctrl.enable_sound_recognition(function_enum)
media_ctrl.disable_sound_recognition(function_enum)
Parameters:
●
function_enum(enum):
■
rm_define.sound_detection_applause
(1) Objective: Sets the maximum Vision Marker identification distance for the gimbal; beyond this distance,
the robot will be unable to recognize Vision Markers.
(2) Type: Settings block
(3) Example: Set identification distance
When the robot identifies a forward arrow it will translate forward by 1 meter.
Note:
1) If the Vision Marker is placed more than 1 meter away from the robot (for example 1.5 or 2 meters away
from the robot), the robot will not be able to identify it.
2) The identification distance only applies when using Vision Markers of the official standard size. The
effective identification distance may vary if you print your own Vision Markers in non-standard sizes.
Python API
:
Function: vision_ctrl.set_marker_detection_distance(distance)
Parameters:
●
distance(float): [0.5, 3]
Содержание RoboMaster EP
Страница 1: ......
Страница 2: ...1 ...
Страница 10: ...9 Before running the enlarge camera frame program After enlarging the camera frame ...
Страница 45: ...44 Python API Function chassis_ctrl is_impact Return value impact_status bool ...
Страница 53: ...52 Follow arrow markers ...
Страница 67: ...66 It can be observed from the FPV window that it takes about 2 1 seconds ...
Страница 76: ...75 ...
Страница 78: ...77 or ...
Страница 104: ...103 Note Sign position format X represents X coordinate and Y represents Y coordinate Python API ...
Страница 105: ...104 Function media_ctrl get_sight_bead_position Return value sight_bead_position list ...
Страница 116: ...115 ...
Страница 131: ...130 ...
Страница 149: ...148 You can check results using the FPV window ...
Страница 159: ...158 ...
Страница 165: ...164 1 Objective Creates and names a list 2 Type Settings block 3 Example Name a new list ...
Страница 171: ...170 In the FPV window the list length changes from 5 to 4 after deleting the first item Before After ...
Страница 185: ...184 Python API Class rm_ctrl PIDCtrl Function get_output Return value output float ...