Closed roslidog closed 2 years ago
Hi @xiaowei520-lwl
the 2 question is that i want to know about why is < the threshold.it should be > the threshold? because, i think the high value of elevation the low traversability ? Am i understanding correctly?Thank you very much!
@xiaowei520-lwl The data here represents traversability calculated by elevation but not the original elevation, so the threshold is the original threshold. One can easily get different attributes by this operation, "data = elevationmap["xxx"]", here we get traver means the traversability, you can change it to "data = elevationmap["elevation"]" or "data = elevationmap["slope"]" to get other information in the gridmap.
i run the code about create_globalmap.launch file and the read the code .but i have two questions about it . 1.elevationMap_layer.cpp bool is_obstacle = (data(gindex(0), gindex(1)) <0.7); the value in the data is elevation ? what is the value and index the correspondence relationship ? and index[0],index[1] corresponding what ?