mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
removed asserts on CameraModel constructor when fx != 0 (but added the check in isValid() method)
This commit is contained in:
@@ -65,7 +65,9 @@ public:
|
||||
bool isValid() const {return !K_.empty() &&
|
||||
!D_.empty() &&
|
||||
!R_.empty() &&
|
||||
!P_.empty();}
|
||||
!P_.empty() &&
|
||||
fx()>0.0 &&
|
||||
fy()>0.0;}
|
||||
|
||||
const std::string & name() const {return name_;}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user