shoot/User/task/attrTask.c

73 lines
1.4 KiB
C
Raw Normal View History

2025-03-12 23:04:18 +08:00
/*
使
*/
/* Includes ----------------------------------------------------------------- */
#include "attrTask.h"
/* 机器人运行时的数据 */
Task_Runtime_t task_runtime;
//初始化
const osThreadAttr_t attr_init = {
.name = "init",
.priority = osPriorityRealtime,
.stack_size = 256 * 4,
};
//我的led属性
const osThreadAttr_t attr_led = {
.name = "led",
.priority = osPriorityRealtime,
.stack_size = 128 * 4,
};
//can
const osThreadAttr_t attr_can = {
.name = "can",
.priority = osPriorityRealtime,
.stack_size = 128 * 4,
};
//dji_motor
const osThreadAttr_t attr_motor = {
.name = "motor",
.priority = osPriorityRealtime,
.stack_size = 128 * 4,
};
//odrive_shoot
const osThreadAttr_t attr_shoot = {
.name = "shoot",
.priority = osPriorityRealtime,
.stack_size = 256 * 4,
};
//go
const osThreadAttr_t attr_go = {
.name = "go",
.priority = osPriorityRealtime,
.stack_size = 256 * 4,
};
//nuc
const osThreadAttr_t attr_nuc = {
.name = "nuc",
.priority = osPriorityRealtime,
.stack_size = 256 * 4,
};
//rc
const osThreadAttr_t attr_rc = {
.name = "rc",
.priority = osPriorityRealtime,
.stack_size = 256 * 4,
};
2025-03-13 19:23:24 +08:00
//ball
const osThreadAttr_t attr_ball = {
.name = "ball",
.priority = osPriorityRealtime,
.stack_size = 256 * 4,
};
2025-03-12 23:04:18 +08:00