算法控制大部分完成

This commit is contained in:
2025-09-14 16:25:05 +08:00
parent ad5bf12ca0
commit a0f42649f4
3 changed files with 299 additions and 113 deletions
+6 -2
View File
@@ -20,9 +20,9 @@ typedef struct{
int32_t RightLowVPT;//右下设备阈值
int32_t LeftUp_Org_AdZero;//左上设备原始AD零点
int32_t LeftLow_Org_AdZero;//左设备原始AD零点
int32_t LeftLow_Org_AdZero;//左设备原始AD零点
int32_t RightUp_Org_AdZero;//右上设备原始AD零点
int32_t RightLow_Org_AdZero;//右设备原始AD零点
int32_t RightLow_Org_AdZero;//右设备原始AD零点
}ADTrack_t;
/*数据读取状态机*/
@@ -73,6 +73,8 @@ typedef struct {
bool DownFlag;//下降标志位
bool StopFlag;//停止标志位
bool EvenRunning;//平稳运行标志位
bool LeftRunFalg;
bool RightRunFalg;
bool LeftUpCS1237ReadEndFlag;
bool LeftLowCS1237ReadEndFlag;
@@ -88,6 +90,8 @@ typedef struct {
int32_t LeftLowCS1237_SlopeArray[SLOPE_CNT];
int32_t RightUpCS1237_SlopeArray[SLOPE_CNT];
int32_t RightLowCS1237_SlopeArray[SLOPE_CNT];
bool WaitFlag;
}AppDetect_t;
extern AppDetect_t App;