Files
QDAC-firmware/app/gl_cross.h
Glz ce31d900ee 摄像头测试代码
在main.c文件中img_processing();函数里pts_left和pts_right两个数组储存边线坐标
2023-12-17 16:11:35 +08:00

18 lines
387 B
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#ifndef CROSS
#define CROSS
enum cross_type_e {
CROSS_NONE, // 非十字模式
CROSS_BEGIN, // 找到左右两个L角点
CROSS_IN, // 两个L角点很近即进入十字内部(此时切换远线控制)
};
extern enum cross_type_e cross_type;
extern int32_t Both_Boder_None_Cross;
void CheckCross(void);
void RunCross(void);
void cross_farline(void);
#endif /* COMMON_H_ */