eigen problem
hi
i'm ros beginer so recently, i have constructed the code about ros with eigen
but it was faild. in command window, the message was written like the below(this is error when i launched roslaunch)
state_estimation_DynBkMdl: /usr/include/eigen3/Eigen/src/Core/Assign.h:498: Derived& Eigen::DenseBase<Derived>::lazyAssign(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::CwiseUnaryOp<Eigen::internal::scalar_quotient1_op<float>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<float>, const Eigen::Matrix<float, -1, -1>, const Eigen::Matrix<float, -1, -1> > >; Derived = Eigen::Block<Eigen::Matrix<float, -1, -1>, -1, 1, true>]: Assertion `rows() == other.rows() && cols() == other.cols()' failed.
[state_estimation_DynBkMdl-2] process has died [pid 7468, exit code -6, cmd /home/odroid/catkin_ws/devel/lib/barc_cpp/state_estimation_DynBkMdl __name:=state_estimation_DynBkMdl __log:=/home/odroid/.ros/log/c6ea4d7c-d5b1-11e7-a2b7-909f330ec39c/state_estimation_DynBkMdl-2.log].
log file: /home/odroid/.ros/log/c6ea4d7c-d5b1-11e7-a2b7-909f330ec39c/state_estimation_DynBkMdl-2*.log
in my opinion, the dimension of matrix has a error. but i couldn't find the error line.
in fact, i have never seen the error message. so i couldn't fix the code error
so could you help me??
thank you for reading.
Asked by vwilk on 2017-11-26 02:44:43 UTC
Comments
This is most probably not the full error Output. Please edit your question with more context...
Asked by mgruhler on 2017-11-28 02:15:25 UTC
i'm sorry to be late reply, and thank you for reading. as you mentioned, i edited more detailed. so please read my error and if you want more detaild, i 'll give you
Asked by vwilk on 2017-11-30 04:41:49 UTC
Yes, you are right, the matix does not have the same dimensions. What I missed before is that this is a failed Assertion during runtime.
Anyways, more info, i.e. the relevant parts of you code, as well as a more in depth description of what you are really trying to do would be helpful...
Asked by mgruhler on 2017-11-30 08:04:10 UTC