learningrigidity icon indicating copy to clipboard operation
learningrigidity copied to clipboard

Undeclared transform_to(pose, pt2_)

Open lizolson opened this issue 5 years ago • 1 comments

When I try to build this repo from the docker image, or from conda, I get an error with the flow2pose library. Here is my build error: [ 44%] Built target pyboostcv_bridge /rigidity/external_packages/flow2pose/flow2pose_lib/flow2pose.cpp: In member function 'gtsam::Pose3 Flow2Pose::solve(const std::vectorgtsam::Point3&, const std::vectorgtsam::Point3&, const gtsam::Pose3&, const std::vector&)': /rigidity/external_packages/flow2pose/flow2pose_lib/flow2pose.cpp:192:49: error: 'transform_to' was not declared in this scope Point3_ pt2_1_ = transform_to(pose, pt2_); ^ CMakeFiles/Flow2pose.dir/build.make:62: recipe for target 'CMakeFiles/Flow2pose.dir/flow2pose_lib/flow2pose.cpp.o' failed make[2]: *** [CMakeFiles/Flow2pose.dir/flow2pose_lib/flow2pose.cpp.o] Error 1 make[1]: *** [CMakeFiles/Flow2pose.dir/all] Error 2 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/Flow2pose.dir/all' failed make: *** [all] Error 2 Makefile:127: recipe for target 'all' failed

Any tips on modifying the script to fix that? I tried including some of the gslam header files that had similar functions, but none appeared to take in those types.

lizolson avatar Aug 28 '19 18:08 lizolson

Develop branch of gtsam has changed since then. To adapt to that, change the line Point3_ pt2_1_ = transform_to(pose, pt2_); to Point3_ pt2_1_ = transformTo(pose, pt2_);

DBobkov avatar Sep 05 '19 17:09 DBobkov