Files
Gimbal/application/cmd/robot_cmd.h
T
SkyLiCoder c0f43940bd refactor: replace vision error_x/y with measure/ref in 0xA5 frame
Change 0xA5 frame from 2-float (error_x, error_y) to 4-float
(measure_x, ref_x, measure_y, ref_y) so PIDCalculate receives
actual measurement and reference values internally computing error.
2026-06-04 13:55:40 +08:00

17 lines
332 B
C

#ifndef ROBOT_CMD_H
#define ROBOT_CMD_H
#define VISION_PID_OUTPUT_YAW_REVERSE 1
#define VISION_PID_OUTPUT_PITCH_REVERSE 0
/**
* @brief 机器人核心控制任务初始化,会被RobotInit()调用
*/
void RobotCMDInit();
/**
* @brief 机器人核心控制任务,500Hz频率运行
*/
void RobotCMDTask();
#endif // ROBOT_CMD_H