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.75 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" # 重投影误差: 0.0840px camera_matrix: [1834.1536403391224, 0, 748.34431374203518, 0, 1838.4254732917539, 592.07179931054554, 0, 0, 1] distort_coeffs: [-0.089753587550662386, 0.25043670633576026, 0.00028701704204080067, 0.00026068590699182429, 0] R_gimbal2imubody: [1, 0, 0, 0, 1, 0, 0, 0, 1] # 相机同理想情况的偏角: yaw0.65 pitch0.98 roll-4.71 degree # 标定板到世界坐标系原点的水平距离: 1.20 m # 标定板同竖直摆放时的偏角: yaw76.91 pitch5.90 roll-4.25 degree R_camera2gimbal: [-0.012713492697510044, 0.016094161023931495, 0.99978965041870982, -0.9965458575215137, -0.082265286272855259, -0.011347974760117781, 0.082065345671248222, -0.99648050691189183, 0.017084448614971628] t_camera2gimbal: [0.099890931342671643, 0.0015513845612699661, 0.048389617922529167] #####-----cboard参数-----##### quaternion_canid: 0x100 bullet_speed_canid: 0x101 send_canid: 0xff can_interface: "can0" #####-----gimbal参数-----##### com_port: "/dev/ttyUSB0" 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