将视觉通信转移到INStask之后,频率改为1kHz,cmd仅保留颜色和模式设置

This commit is contained in:
neozng
2023-04-29 22:33:16 +08:00
parent b8e3569510
commit 35ceb50ca7
6 changed files with 49 additions and 63 deletions

View File

@@ -29,6 +29,7 @@
#include "motor_task.h"
#include "led_task.h"
#include "referee_task.h"
#include "master_process.h"
#include "daemon.h"
#include "robot.h"
/* USER CODE END Includes */
@@ -169,6 +170,7 @@ void StartINSTASK(void const *argument)
{
// 1kHz
INS_Task();
VisionSend(); // 解算完成后发送视觉数据
osDelay(1);
}
}