FastGlobalRegistration icon indicating copy to clipboard operation
FastGlobalRegistration copied to clipboard

Error building Matlab_binding/fast_global_registration.

Open leey127 opened this issue 5 years ago • 3 comments

I want to get the .mexw64 files and use them in MATLAB but I failed to build one of them. I used VS 2017 and the errors it showed were something about undeclared identifiers in "fast_global_registration.cpp". I checked the file and I can find the definition of these identifiers in app.h. image

leey127 avatar Apr 03 '19 08:04 leey127

I got the same error in VS2019. When I added a line "using namespace fgr;", these error disapeared . But another two error rice, "class Capp does have the menber GetTans" in line 82

zhxd050946 avatar Nov 25 '19 09:11 zhxd050946

change line 82 and 83 to app.OptimizePairwise(true); Eigen::Matrix4f transf = app.GetOutputTrans(); fast_global_registration.mexw64 was complied sucsessfuly.

zhxd050946 avatar Nov 25 '19 09:11 zhxd050946

But only the transform matrix was returned. Better to return the RMSE and overlap rate too. But i am new to FLANN and Eigen, some body else could write more return

zhxd050946 avatar Nov 25 '19 10:11 zhxd050946