Closed dutwjw closed 2 years ago
Line 439 if (ground_z_elevation > elevation_thr_[ring_idx + 2 * k]) {
if (ground_z_elevation > elevation_thr_[ring_idx + 2 * k]) {
is index 'ring_idx + 2k' wrong ? the size of elevationthr is 4. So, ' ring_idx + 2k' may be large than 4. Can you explain it?
Hello there, sorry for the late reply due to my paperwork!
But it is previously checked in if (concentric_idx < num_rings_of_interest_) { condition. Please print ring_idx + 2 * k out :)
if (concentric_idx < num_rings_of_interest_) {
ring_idx + 2 * k
Line 439
if (ground_z_elevation > elevation_thr_[ring_idx + 2 * k]) {
is index 'ring_idx + 2k' wrong ? the size of elevationthr is 4. So, ' ring_idx + 2k' may be large than 4. Can you explain it?