enemy_color: "red" # enemy_color: "blue" #####-----神经网络参数-----##### yolo_name: yolov5 classify_model: assets/tiny_resnet.onnx yolo11_model_path: assets/yolo11.xml yolov8_model_path: assets/yolov8.xml yolov5_model_path: assets/yolov5.xml device: GPU min_confidence: 0.8 use_traditional: true #####-----ROI-----##### roi: x: 420 y: 50 width: 600 height: 600 use_roi: false #####-----传统方法参数-----##### threshold: 150 max_angle_error: 45 # degree min_lightbar_ratio: 1.5 max_lightbar_ratio: 20 min_lightbar_length: 8 min_armor_ratio: 1 max_armor_ratio: 5 max_side_ratio: 1.5 max_rectangular_error: 25 # degree #####-----tracker参数-----##### min_detect_count: 5 max_temp_lost_count: 15 outpost_max_temp_lost_count: 75 #####-----aimer参数-----##### yaw_offset: 2 # degree -2.5 pitch_offset: 6.5 # degree 2 comming_angle: 55 # degree leaving_angle: 20 # degree decision_speed: 7 # rad/s high_speed_delay_time: 0.0 # s low_speed_delay_time: 0.0 # s planner use this value #####-----shooter参数-----##### first_tolerance: 3 # 近距离射击容差,degree second_tolerance: 2 # 远距离射击容差,degree judge_distance: 2 #距离判断阈值 auto_fire: true # 是否由自瞄控制射击 camera_name: "hikrobot" exposure_ms: 2.5 gain: 16.9 vid_pid: "2bdf:0001" # 1 0 0 # 0 1 0 # 0 0 1 R_gimbal2imubody: [1, 0, 0, 0, 1, 0, 0, 0, 1] # 重投影误差: 0.0833px camera_matrix: [1824.3445767434343, 0, 745.88898611634079, 0, 1828.9000780816298, 584.45884364277663, 0, 0, 1] distort_coeffs: [-0.084922638867033884, 0.22051971879198334, -0.00021700148630802023, 0.00043485717343934131, 0] # 相机同理想情况的偏角: yaw-2.19 pitch0.60 roll-1.22 degree # 标定板到世界坐标系原点的水平距离: 1.13 m # 标定板同竖直摆放时的偏角: yaw-82.48 pitch10.19 roll-0.28 degree R_camera2gimbal: [0.037945134408690975, 0.011210224413650311, 0.99921694223191693, -0.99905391724335679, -0.020835442782907131, 0.038172696587273909, 0.021247051922802046, -0.99972006841547179, 0.010409014936772491] t_camera2gimbal: [0.14266900667253352, 0.0061791593160151776, 0.051417922179356944] #####-----cboard参数-----##### quaternion_canid: 0x100 bullet_speed_canid: 0x101 send_canid: 0xff can_interface: "can0" #####-----gimbal参数-----##### com_port: "/dev/ttyACM0" yaw_kp: 0 yaw_kd: 0 pitch_kp: 0 pitch_kd: 0 #####-----planner-----##### fire_thresh: 0.0035 max_yaw_acc: 50 Q_yaw: [9e6, 0] R_yaw: [1] max_pitch_acc: 100 Q_pitch: [9e6, 0] R_pitch: [1] #####-----buff_detector参数-----##### model: "assets/yolo11_buff_int8.xml" #####-----buff_aimer参数-----##### fire_gap_time: 0.700 # s predict_time: 0.120 # s