Closed nhatao closed 3 years ago
resize()
std::fill()
pc_tmp
pc_map_
ds.filter(*pc_map_)
msg->header.stamp.isValid()
Tested on Alpine ROS
resize()
does not overwrite existing values, it is needed to callstd::fill()
.pc_tmp
instead ofpc_map_
as the header ofpc_map_
is overwritten by the header ofpc_tmp
inds.filter(*pc_map_)
.msg->header.stamp.isValid()
returns true even when it is 0.