laxnpander / OpenREALM

OpenREALM is a pipeline for real-time aerial mapping utilizing visual SLAM and 3D reconstruction frameworks.
GNU Lesser General Public License v2.1
453 stars 117 forks source link

make error while building in docker #104

Closed normal-crayon closed 7 months ago

normal-crayon commented 7 months ago

Hi @laxnpander, Im trying to run your application using docker. While building the application Im encountering an error, /root/OpenREALM/OpenREALM/modules/realm_vslam/realm_vslam_base/src/open_vslam.cpp:79:107: error: no match for 'operator=' (operand types are 'std::shared_ptr<Eigen::Matrix<double, 4, 4> >' and 'openvslam::Mat44_t {aka Eigen::Matrix<double, 4, 4>}') T_w2c_eigen = m_vslam->feed_monocular_frame(frame->getResizedImageRaw(), frame->getTimestamp() * 10e-9); Please advise.

normal-crayon commented 7 months ago

Fixed it! changed the below line in modules/realm_vslam/realm_vslam_base/src/open_vslam.cpp: line no. 79 T_w2c_eigen = m_vslam->feed_monocular_frame(frame->getResizedImageRaw(), frame->getTimestamp() * 10e-9); To T_w2c_eigen = std::make_shared<openvslam::Mat44_t>(m_vslam->feed_monocular_frame(frame->getResizedImageRaw(), frame->getTimestamp() * 10e-9)); Closing the issue