scara_engineering/application/cmd/robot_cmd.h

28 lines
465 B
C
Raw Permalink Normal View History

2024-12-22 16:15:37 +08:00
#ifndef ROBOT_CMD_H
#define ROBOT_CMD_H
#pragma pack(1)
typedef struct {
float dx;
float dy;
float dz;
int16_t q[4]; //旋转四元数
}custom_control_t;
#pragma pack()
//自定义控制器数据
/**
* @brief ,RobotInit()
*
*/
void RobotCMDInit();
/**
* @brief ,200Hz频率运行()
*
*/
void RobotCMDTask();
#endif // !ROBOT_CMD_H