2025.5.28第一次提交,仿真平台修复bug同步修复

This commit is contained in:
氧原子
2025-05-28 21:51:08 +08:00
parent 9d96af2ff3
commit 14b3d14170
6 changed files with 68 additions and 27 deletions

View File

@@ -49,7 +49,10 @@ int err, err_old, err_sum, err_diff; //定义误差,上一次误差,积分
const int eI_max = 200; //定义积分限幅
/*---目标点的坐标---*/
const int target_x = 3; //声明目标点的X坐标
const int target_y = 4; //声明目标点的Y坐标
// const int target_x = 3; //声明目标点的X坐标
// const int target_y = 4; //声明目标点的Y坐标
int target_x; //声明目标点的X坐标
int target_y; //声明目标点的Y坐标
/*---定义结束---*/