#ifndef __BLOCK_DETECT_H #define __BLOCK_DETECT_H // 定义障碍方向枚举 typedef enum { FRONT, LEFT_FRONT, RIGHT_FRONT } BlockDirection; void BlockDetect_Init(); int Has_Block(BlockDirection direction); #endif