mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-03 16:27:46 +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