71 lines
1.7 KiB
C
71 lines
1.7 KiB
C
#include "task/user_task.h"
|
|
|
|
Task_Runtime_t task_runtime;
|
|
|
|
const osThreadAttr_t attr_init = {
|
|
.name = "Task_Init",
|
|
.priority = osPriorityRealtime,
|
|
.stack_size = 256 * 4,
|
|
};
|
|
|
|
/* User_task */
|
|
const osThreadAttr_t attr_atti_esti = {
|
|
.name = "atti_esti",
|
|
.priority = osPriorityNormal,
|
|
.stack_size = 256 * 4,
|
|
};
|
|
const osThreadAttr_t attr_referee = {
|
|
.name = "referee",
|
|
.priority = osPriorityNormal,
|
|
.stack_size = 256 * 4,
|
|
};
|
|
const osThreadAttr_t attr_dr16 = {
|
|
.name = "dr16",
|
|
.priority = osPriorityNormal,
|
|
.stack_size = 256 * 4,
|
|
};
|
|
const osThreadAttr_t attr_vofa = {
|
|
.name = "vofa",
|
|
.priority = osPriorityNormal,
|
|
.stack_size = 256 * 4,
|
|
};
|
|
const osThreadAttr_t attr_ai = {
|
|
.name = "ai",
|
|
.priority = osPriorityNormal,
|
|
.stack_size = 256 * 4,
|
|
};
|
|
const osThreadAttr_t attr_et16s = {
|
|
.name = "et16s",
|
|
.priority = osPriorityNormal,
|
|
.stack_size = 256 * 4,
|
|
};
|
|
const osThreadAttr_t attr_cmd = {
|
|
.name = "cmd",
|
|
.priority = osPriorityNormal,
|
|
.stack_size = 256 * 4,
|
|
};
|
|
const osThreadAttr_t attr_shoot_ctrl = {
|
|
.name = "shoot_ctrl",
|
|
.priority = osPriorityNormal,
|
|
.stack_size = 256 * 4,
|
|
};
|
|
const osThreadAttr_t attr_gimbal_ctrl = {
|
|
.name = "gimbal_ctrl",
|
|
.priority = osPriorityNormal,
|
|
.stack_size = 256 * 4,
|
|
};
|
|
const osThreadAttr_t attr_chassis_ctrl = {
|
|
.name = "chassis_ctrl",
|
|
.priority = osPriorityNormal,
|
|
.stack_size = 256 * 4,
|
|
};
|
|
const osThreadAttr_t attr_super_cap = {
|
|
.name = "super_cap",
|
|
.priority = osPriorityNormal,
|
|
.stack_size = 256 * 4,
|
|
};
|
|
const osThreadAttr_t attr_vt13 = {
|
|
.name = "vt13",
|
|
.priority = osPriorityNormal,
|
|
.stack_size = 256 * 4,
|
|
}; |