修改颜色和 readme

This commit is contained in:
2026-03-28 10:50:20 +08:00
parent c4965756e6
commit 96bf616f18
2 changed files with 4 additions and 2 deletions

View File

@@ -44,7 +44,9 @@ WrapperHead *video = nullptr; // 云台摄像头视频源
Serial serial(115200); // 串口对象
uint8_t last_state = ARMOR_STATE; // 上次状态,用于初始化
// 自瞄主程序对象
ArmorFinder armor_finder(mcu_data.enemy_color, serial, PROJECT_DIR"/tools/para/", mcu_data.anti_top);
uint8_t enemy_color = ENEMY_BLUE;//RED ro BLUE
uint8_t forced_anti_top = 1;
ArmorFinder armor_finder(enemy_color, serial, PROJECT_DIR"/tools/para/", forced_anti_top);
// 能量机关主程序对象
Energy energy(serial, mcu_data.enemy_color);