feat: 增加内角显示
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
#define FILTER_KERNELSIZE (7) // 滤波核大小
|
#define FILTER_KERNELSIZE (7) // 滤波核大小
|
||||||
#define SELFADAPT_OFFSET (8) // 适应性块大小
|
#define SELFADAPT_OFFSET (8) // 适应性块大小
|
||||||
#define PIXPERMETER (70.0f)
|
#define PIXPERMETER (70.0f)
|
||||||
#define PIXPERMETER_ACROSS (80.0f)
|
#define PIXPERMETER_ACROSS (85.0f)
|
||||||
#define RESAMPLEDIST (0.02f)
|
#define RESAMPLEDIST (0.02f)
|
||||||
#define ANGLEDIST (0.2f)
|
#define ANGLEDIST (0.2f)
|
||||||
#define ANGLEDIST_barrier (0.06f)
|
#define ANGLEDIST_barrier (0.06f)
|
||||||
|
|||||||
@@ -30,8 +30,8 @@ static void Setup()
|
|||||||
ips200_show_string(5, 185, "pts_r:");
|
ips200_show_string(5, 185, "pts_r:");
|
||||||
ips200_show_string(5, 205, "con_l:");
|
ips200_show_string(5, 205, "con_l:");
|
||||||
ips200_show_string(5, 224, "con_r:");
|
ips200_show_string(5, 224, "con_r:");
|
||||||
ips200_show_string(100, 165, "dir_l:");
|
ips200_show_string(100, 165, "lpt0: ");
|
||||||
ips200_show_string(100, 185, "dir_r:");
|
ips200_show_string(100, 185, "lpt1: ");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -55,8 +55,8 @@ static void Loop()
|
|||||||
ips200_show_uint(60, 185, pts_inv_r_count, 3);
|
ips200_show_uint(60, 185, pts_inv_r_count, 3);
|
||||||
ips200_show_uint(60, 205, Lpt0_found, 3);
|
ips200_show_uint(60, 205, Lpt0_found, 3);
|
||||||
ips200_show_uint(60, 224, Lpt1_found, 3);
|
ips200_show_uint(60, 224, Lpt1_found, 3);
|
||||||
ips200_show_uint(160, 165, is_straight0, 3);
|
ips200_show_uint(160, 165, Lpt0_found_barrier, 3);
|
||||||
ips200_show_uint(160, 185, is_straight1, 3);
|
ips200_show_uint(160, 185, Lpt1_found_barrier, 3);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user