In the current ROS2 branch the param max_flatness_storage_ and max_elevation_treshold_ are never set. https://github.com/url-kaist/patchwork-plusplus-ros/blob/15a00dafab479fb86e25416f31ba5cccd559cfa1/include/patchworkpp/patchworkpp.hpp#L235C5-L235C55
This results in runtime errors. In think here is a line, where the default value for an undefined int causes trouble:
|
int exceed_num = update_flatness_[i].size() - max_flatness_storage_; |
In the current ROS2 branch the param max_flatness_storage_ and max_elevation_treshold_ are never set. https://github.com/url-kaist/patchwork-plusplus-ros/blob/15a00dafab479fb86e25416f31ba5cccd559cfa1/include/patchworkpp/patchworkpp.hpp#L235C5-L235C55
This results in runtime errors. In think here is a line, where the default value for an undefined int causes trouble:
patchwork-plusplus-ros/include/patchworkpp/patchworkpp.hpp
Line 798 in 15a00da