mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-06 17:57:45 +08:00
point_cloud_assembler: fixed output cloud format when input is organized clouds (#560)
This commit is contained in:
@@ -2149,7 +2149,8 @@ bool convertScan3dMsg(
|
||||
int maxPoints,
|
||||
float maxRange)
|
||||
{
|
||||
UASSERT(scan3dMsg.data.size() == scan3dMsg.row_step*scan3dMsg.height);
|
||||
UASSERT_MSG(scan3dMsg.data.size() == scan3dMsg.row_step*scan3dMsg.height,
|
||||
uFormat("data=%d row_step=%d height=%d", scan3dMsg.data.size(), scan3dMsg.row_step, scan3dMsg.height).c_str());
|
||||
|
||||
bool hasNormals = false;
|
||||
bool hasColors = false;
|
||||
|
||||
Reference in New Issue
Block a user