15 sm_error(
"find_correspondences_tricks might be buggy\n");
16 int i = 0;
for(i=0;i<laser_sens->nrays;i++) {
18 (c1[i].
j1 != c2[i].
j1) || (c1[i].
j2 != c2[i].
j2) ) {
19 sm_error(
"\t tricks: c1[%d].valid = %d j1 = %d j2 = %d dist2_j1 = %f\n",
20 i, c1[i].valid, c1[i].j1, c1[i].j2, c1[i].
dist2_j1);
21 sm_error(
"\tno tricks: c2[%d].valid = %d j1 = %d j2 = %d dist2_j1 = %f\n",
22 i, c2[i].valid, c2[i].j1, c2[i].j2, c2[i].dist2_j1);
void debug_correspondences(struct sm_params *params)
void find_correspondences(struct sm_params *params)
unsigned int ld_corr_hash(LDP ld)
void find_correspondences_tricks(struct sm_params *params)
void sm_error(const char *msg,...)