Open sauvikchdhry opened 7 years ago
Hi, I just add the build.sh document. As for your error, I think you are using an older version of the MRPT, could you change that line for this one?
pose_gt = CPose3D(TPose3D(v_auxgt(0),v_auxgt(1),v_auxgt(2),v_auxgt(3),v_auxgt(4),v_auxgt(5)));
I think the new version allows the casting between CPose3D and TPose3D, but the older ones doesn't.
Best
I did try CPose3D, and it threw some other error. As for the older version of MRPT, i will recheck once. Because compiling MRPT from github repo, throws some error too. [not dependency error but seems like some issue with the repo itself]. Anyways, i will further update you after trying out with build.sh.
Thanks
If you are about to compile the MRPT from sources, it is strongly recommended to carefully read the following instructions:
http://www.mrpt.org/Building_and_Installing_Instructions
Let me know if you find some more difficulties when installing the library (you can email me if you prefer).
@rubengooj
question as follows:
pl-slam/src/voScene.cpp: In member function ‘bool voScene::updateScene(std::list<StVO::PointFeature>)’:
/home/zhuquan/pl-slam/src/voScene.cpp:559:17: error: no match for ‘operator=’ (operand types are ‘mrpt::poses::CPose3D’ and ‘mrpt::math::TPose3D’)
pose_gt = TPose3D(v_auxgt(0),v_auxgt(1),v_auxgt(2),v_auxgt(3),v_auxgt(4),v_auxgt(5));
^
/home/zhuquan/pl-slam/src/voScene.cpp:559:17: note: candidates are:
In file included from /usr/include/mrpt/opengl/include/mrpt/opengl/CRenderizable.h:15:0,
from /usr/include/mrpt/opengl/include/mrpt/opengl.h:15,
from /home/zhuquan/pl-slam/include/voScene.h:25,
from /home/zhuquan/pl-slam/src/voScene.cpp:22:
/usr/include/mrpt/base/include/mrpt/poses/CPose3D.h:72:20: note: mrpt::poses::CPose3D& mrpt::poses::CPose3D::operator=(const mrpt::poses::CPose3D&)
class BASE_IMPEXP CPose3D : public CPose
Hey Ruben, what do you mean by 'older version of the MRPT'? Can you explicitly say which version of MRPT is compatible?
Hello, I am trying to compile stVO-PL to get 6dof for my drone. I referred to your ReadMe and that there is no "build.sh". Compiling using "make" throws error:
/home/drone/StVO-PL/src/sceneRepresentation.cpp:308:17: error: no match for ‘operator=’ (operand types are ‘mrpt::poses::CPose3D’ and ‘mrpt::math::TPose3D’)
I have installed mrpt lib properly (include files are in default place). Also tried declaring 'pose_gt' as type TPose3D and vice versa, still couldn't compile.
Any sort of help is appreciated.