
92
Python API
:
Function: vision_ctrl.cond_wait(condition_enum)
Parameters:
●
condition_enum(enum):
■
rm_define.cond_recognized_people
■
rm_define.cond_recognized_car
■
rm_define.cond_recognized_marker_trans_all
■
rm_define.cond_recognized_marker_trans_left
■
rm_define.cond_recognized_marker_trans_right
■
rm_define.cond_recognized_marker_trans_forward
■
rm_define.cond_recognized_marker_trans_stop
■
rm_define.cond_recognized_marker_trans_red_heart
■
rm_define.cond_recognized_marker_trans_target
■
rm_define.cond_recognized_marker_trans_dice
■
rm_define.cond_recognized_marker_number_all
■
rm_define.cond_recognized_marker_number_[zero,..., nine]
■
rm_define.cond_recognized_marker_letter_all
■
rm_define.cond_recognized_marker_letter_[A,..., Z]
■
rm_define.cond_recognized_pose_all
■
rm_define.cond_recognized_pose_victory
■
rm_define.cond_recognized_give_in
■
rm_define.cond_recognized_capture
(1) Objective: Sets the system to continue to execute commands when a specific clapping pattern is identified;
otherwise, it will continue to wait.
(2) Type: Execution block, Blocking block
(3) Example: Capture videos with clapping control
This sets the robot to start recording videos when it identifies 2 claps and to stop recording when it identifies
Содержание 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 ...