mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-07 02:07:45 +08:00
Added assert on PointCloud2 format (#560). rtabmap.launch: added gdb option for convenience.
This commit is contained in:
@@ -2149,6 +2149,8 @@ bool convertScan3dMsg(
|
||||
int maxPoints,
|
||||
float maxRange)
|
||||
{
|
||||
UASSERT(scan3dMsg.data.size() == scan3dMsg.row_step*scan3dMsg.height);
|
||||
|
||||
bool hasNormals = false;
|
||||
bool hasColors = false;
|
||||
bool hasIntensity = false;
|
||||
|
||||
Reference in New Issue
Block a user