加入大疆C板例程bsp
This commit is contained in:
50
Application/Task/Inc/Control_Task.h
Normal file
50
Application/Task/Inc/Control_Task.h
Normal file
@@ -0,0 +1,50 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @file : Control_Task.c
|
||||
* @brief : Control task
|
||||
* @author : Yan Yuanbin
|
||||
* @date : 2023/04/27
|
||||
* @version : v1.0
|
||||
******************************************************************************
|
||||
* @attention : None
|
||||
******************************************************************************
|
||||
*/
|
||||
/* USER CODE END Header */
|
||||
|
||||
/* Define to prevent recursive inclusion -------------------------------------*/
|
||||
#ifndef CONTROL_TASK_H
|
||||
#define CONTROL_TASK_H
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "stdint.h"
|
||||
#include "stdbool.h"
|
||||
|
||||
|
||||
/**
|
||||
* @brief typedef structure that contains the information of chassis control
|
||||
*/
|
||||
|
||||
typedef struct
|
||||
{
|
||||
|
||||
struct{
|
||||
|
||||
float Chassis_Velocity;
|
||||
|
||||
|
||||
}Target;
|
||||
|
||||
struct{
|
||||
|
||||
float Chassis_Velocity;
|
||||
|
||||
|
||||
}Measure;
|
||||
|
||||
int16_t SendValue[4];
|
||||
|
||||
}Control_Info_Typedef;
|
||||
|
||||
|
||||
extern Control_Info_Typedef Control_Info;
|
||||
#endif //CONTROL_TASK_H
|
||||
Reference in New Issue
Block a user