/*
  保存任务属性，生成任务时使用。
*/

/* 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,
};


//chassis
const osThreadAttr_t attr_ctrl_chassis = {
    .name = "ctrl_chassis",
    .priority = osPriorityRealtime,
    .stack_size = 256 * 4,
};
//gimbal
const osThreadAttr_t attr_left_gimbal = {
    .name = "left_gimbal",
    .priority = osPriorityRealtime,
    .stack_size = 256 * 4,
};

const osThreadAttr_t attr_right_gimbal = {
    .name = "right_gimbal",
    .priority = osPriorityRealtime,
    .stack_size = 256 * 4,
};

const osThreadAttr_t attr_gimbal_rec = {
    .name = "gimbal_rec",
    .priority = osPriorityRealtime,
    .stack_size = 256 * 4,
};


