wheel_legged_gimbal/application/cmd/robot_cmd.h

32 lines
552 B
C
Raw Permalink Normal View History

#ifndef ROBOT_CMD_H
#define ROBOT_CMD_H
2024-04-26 11:10:42 +08:00
#include "remote_control.h"
typedef struct
{
struct
{
int16_t x;
int16_t y;
uint8_t press_l;
uint8_t press_r;
} mouse;
Key_t key[3];
uint8_t key_count[3][16];
}VT_ctrl_t; //图传链路下发的遥控数据
/**
* @brief ,RobotInit()
*
*/
void RobotCMDInit();
/**
* @brief ,200Hz频率运行()
*
*/
void RobotCMDTask();
#endif // !ROBOT_CMD_H