mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-03 01:50:24 +08:00
fixed a compilation warning
This commit is contained in:
@@ -195,7 +195,7 @@ DP laserScanToDP(const rtabmap::LaserScan & scan)
|
|||||||
View viewNormalY(nx!=-1?cloud.getDescriptorRowViewByName("normals",1):view);
|
View viewNormalY(nx!=-1?cloud.getDescriptorRowViewByName("normals",1):view);
|
||||||
View viewNormalZ(nx!=-1?cloud.getDescriptorRowViewByName("normals",2):view);
|
View viewNormalZ(nx!=-1?cloud.getDescriptorRowViewByName("normals",2):view);
|
||||||
View viewIntensity(offsetI!=-1?cloud.getDescriptorRowViewByName("intensity",0):view);
|
View viewIntensity(offsetI!=-1?cloud.getDescriptorRowViewByName("intensity",0):view);
|
||||||
for(unsigned int i=0; i<scan.size(); ++i)
|
for(int i=0; i<scan.size(); ++i)
|
||||||
{
|
{
|
||||||
const float * ptr = scan.data().ptr<float>(0, i);
|
const float * ptr = scan.data().ptr<float>(0, i);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user