#ifndef MAP_H
#define MAP_H
#include "struct_typedef.h"

#define POS_ALLOW_MISTAKE 20.0
#define POS_ALLOW_ANGLE_MISTAKE 0.01  //约0.6°
//#define POINT_CURRENT 306
//#define POINT_LEFT 1694
//#define POINT_FRONT 1000


//点坐标
typedef struct{
	fp32  x;
	fp32 y;
	fp32 angle;	
	fp32 v;
	
	int cnt_point;//计数点
	

}point_t;

//路径
typedef struct{

		enum 
	{
		STOP = 1 ,
		START = 2 ,
		MOVING = 3
	}moveState;
	uint8_t points_num;
	float mistake;
	float angle_mistake;
}PathState_t;


#endif
