mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-01 17:10:26 +08:00
fixed some warnings
This commit is contained in:
@@ -130,7 +130,7 @@ bool CameraModel::load(const std::string & filePath)
|
||||
|
||||
bool CameraModel::save(const std::string & filePath)
|
||||
{
|
||||
if(!filePath.empty() && !name_.empty() && !K_.empty() && !D_.empty(), !R_.empty(), !P_.empty())
|
||||
if(!filePath.empty() && !name_.empty() && !K_.empty() && !D_.empty() && !R_.empty() && !P_.empty())
|
||||
{
|
||||
UINFO("Saving calibration to file \"%s\"", filePath.c_str());
|
||||
cv::FileStorage fs(filePath, cv::FileStorage::WRITE);
|
||||
|
||||
@@ -1032,7 +1032,8 @@ CameraFreenect2::CameraFreenect2(int deviceId, float imageRate, const Transform
|
||||
CameraRGBD(imageRate, localTransform),
|
||||
deviceId_(deviceId),
|
||||
freenect2_(0),
|
||||
dev_(0)
|
||||
dev_(0),
|
||||
listener_(0)
|
||||
{
|
||||
#ifdef WITH_FREENECT2
|
||||
freenect2_ = new libfreenect2::Freenect2();
|
||||
|
||||
Reference in New Issue
Block a user