Hi!
I compiled and installed standalone rtabmap(v.10.10) by source.Then when i run rtabmap from terminal,i got this error: rtabmap: /usr/include/eigen3/Eigen/src/Core/DenseBase.h:232: void Eigen::DenseBase<Derived>::resize(Eigen::DenseBase<Derived>::Index, Eigen::DenseBase<Derived>::Index) [with Derived = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; Eigen::DenseBase<Derived>::Index = long int]: Assertion `nbRows == this->rows() && nbCols == this->cols() && "DenseBase::resize() does not actually allow to resize."' failed. However, when i install standalone rtabmap by apt(the package is ros-jade-rtabmap),the application is working with no error. what should i do to fix the error. Thanks. zsh |
Administrator
|
Hi,
Is this error happen before seeing the main window? What is your system? cheers |
yes,it happened before main windows and the main windows didn't appear,and my system is ubuntu 14.04 and my ros version is jade.
Thanks |
Administrator
|
Hi,
I can't reproduce the error (well, I tested with the latest version from github). To see more information, you could set the Logger to Debug level. Set this line of app/src/main.cpp to ULogger::kDebug: ULogger::setLevel(ULogger::kDebug); Then launch again "bin/rtabmap" to see if you can have more info before the application exits. cheers |
Hi,
rtabmap: /opt/gtsam/include/gtsam/3rdparty/Eigen/Eigen/src/Core/DenseBase.h:228: void Eigen::DenseBase
Setting Logger to Debug level did not help - same error with no more info. GTSAM has its own EIGEN version, but error is the same even without GTSAM - with system Eigen version. (GTSAM built from git, eigen version 3.2.10) Here is backtrace:
|
Administrator
|
Hi,
The error seems coming from EdgeSE2Switchable, which is used when robust graph optimization is enabled ("Optimizer/Robust" = true). If you disable robust graph optimization, do you still have the error? |
In reply to this post by Beda
Commenting out these two lines helps, but I don't know the consequences...
https://github.com/introlab/rtabmap/blob/master/corelib/src/vertigo/g2o/types_g2o_robust.cpp#L12 https://github.com/introlab/rtabmap/blob/master/corelib/src/vertigo/g2o/types_g2o_robust.cpp#L14 |
Administrator
|
Ok thx, there is something wrong with G2O_REGISTER_TYPE and these types. What is your machine configuration? Do you use g2o from source or the one installed by kinetic/indigo?
|
Free forum by Nabble | Edit this page |