27 int num_angle_bins,
int max_hash_size)
29 ivCellSize(cell_size),
30 ivNumAngleBins(num_angle_bins),
31 ivMaxHashSize(max_hash_size),
32 ivDiscSuccessorLeft(num_angle_bins),
33 ivDiscSuccessorRight(num_angle_bins),
34 ivDiscPredecessorLeft(num_angle_bins),
35 ivDiscPredecessorRight(num_angle_bins)
55 &footstep_x, &footstep_y);
60 &footstep_x, &footstep_y);
74 int x = current.
getX();
75 int y = current.
getY();
111 int x = current.
getX();
112 int y = current.
getY();
144 int* footstep_x,
int* footstep_y)
147 double cont_footstep_x, cont_footstep_y;
150 double theta_cos = cos(cont_global_theta);
151 double theta_sin = sin(cont_global_theta);
154 cont_footstep_x = theta_cos * x - theta_sin * y;
155 cont_footstep_y = theta_sin * x + theta_cos * y;
161 cont_footstep_x = theta_cos * x + theta_sin * y;
162 cont_footstep_y = theta_sin * x - theta_cos * y;
170 if (global_theta < 0)