mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-03 16:27:46 +08:00
Added OpenNI2 and Freenect calibration #115
This commit is contained in:
@@ -241,7 +241,7 @@ int main (int argc, char * argv[])
|
||||
UERROR("Not built with OpenNI2 support...");
|
||||
exit(-1);
|
||||
}
|
||||
camera = new rtabmap::CameraOpenNI2("", rate, t);
|
||||
camera = new rtabmap::CameraOpenNI2("", rtabmap::CameraOpenNI2::kTypeColorDepth, rate, t);
|
||||
}
|
||||
else if(driver == 2)
|
||||
{
|
||||
@@ -250,7 +250,7 @@ int main (int argc, char * argv[])
|
||||
UERROR("Not built with Freenect support...");
|
||||
exit(-1);
|
||||
}
|
||||
camera = new rtabmap::CameraFreenect(0, rate, t);
|
||||
camera = new rtabmap::CameraFreenect(0, rtabmap::CameraFreenect::kTypeColorDepth, rate, t);
|
||||
}
|
||||
else if(driver == 3)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user