-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
questions about custom_kernels.py
#44
Comments
Hi thank you for checking out the code in details.
Hope these could help your understanding. |
Thank you very much for your reply. There are still some unclear points about the first and third points. From the code, we can see the upper bound layer (i.e., elevation_map[5]) is used as the input of the
What is the meaning of this? On the other hand, it can be seen that the assignment of the upper bound layer (i.e., elevation_map[5]) comes from two sources:
Intuitively, why should we use the upper bound layer (i.e., elevation_map[5]) instead of the elevation layer (i.e., elevation_map[0]) as the input of the |
The
As mentioned above, this line makes sure that the
This is the actual ray-casting operation to update the
As you can see, the Note that in the default configuration, the traversability is only considered valid where |
Thank you very much for your reply! You have pointed out that the
However, according to the evaluation results and reading the code, I find that this is not the case, that is, the values of the In particular, I have attached the elevation map results after a point cloud processing in the attachment, including the Moreover, from the code,
However, I don't think it can actually guarantee that the Looking forward to your reply, thank you very much! elevation_layer.xlsx |
Hello, Miki, thanks for your great job and open source sharing.
In line 270 of
elevation_mapping.py
, when call the functiondilation_filter_kernel
, why are the inputsself. elevation_ Map [5]
andself. elevation_ map[2] + self.elevation_ map [6]
instead ofself. elevation_ map [0]
andself. elevation_ map[2]
? Noticeself.elevation_ map[0],self.elevation_ map [2] and self.elevation_ map [6]
represent the current height, is_ valid value and is_ upper_ bound value of the grid, respectively. What is the specific meaning ofself. elevation_ map[2] + self.elevation_ map [6]
?In line 284 of
elevation_mapping.py
, when callupdate_normal
function, why is the inputself.traversability_input
instead ofself.elevation_map[0]
? What is the meaning ofself.normal_map
calculated in this way?In line 192 of
custom_kernels.py
:map[get_map_idx (idx, 5)]=new_ h;
, Does this means that it adopts thenew_h
calculated with the last measurement point which falls in this grid? Why?In lines 178 and 248 of
custom_kernels.py
, whynum_ points
take different values, namelynewmap[get_map_idx (idx, 4)]
andnewmap[get_map_idx (nidx, 3)]
? And what the meaning of${enable_edge_shaped}
?Note that some CUDA kernels (e.g.,
add_points_kernel
) are defined. It seems that the codes of these kernels are not easy to debug. Do you have any recommended debugging methods?I am looking forward to your reply, thank you!
The text was updated successfully, but these errors were encountered: