mirror of
https://gitee.com/dlmu-cone/bf_original_balance_chassis
synced 2026-07-24 03:27:45 +08:00
将视觉通信转移到INStask之后,频率改为1kHz,cmd仅保留颜色和模式设置
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user