We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not sure if it's wanted, but:
lgmath::se3::Transformation test2(Eigen::Matrix4d::Identity());
won't compile and yield:
home/frank/research/code/lgmath/tests/TransformTests.cpp:59:66: error: call of overloaded ‘Transformation(const IdentityReturnType)’ is ambiguous lgmath::se3::Transformation test2(Eigen::Matrix4d::Identity()); ^ /home/frank/research/code/lgmath/tests/TransformTests.cpp:59:66: note: candidates are: In file included from /home/frank/research/code/lgmath/tests/TransformTests.cpp:20:0: /home/frank/research/code/lgmath/include/lgmath/se3/Transformation.hpp:73:12: note: lgmath::se3::Transformation::Transformation(const VectorXd&) explicit Transformation(const Eigen::VectorXd& xi_ab); ^ /home/frank/research/code/lgmath/include/lgmath/se3/Transformation.hpp:67:3: note: lgmath::se3::Transformation::Transformation(const Eigen::Matrix<double, 6, 1>&, unsigned int) Transformation(const Eigen::Matrix<double,6,1>& xi_ab, unsigned int numTerms = 0); ^ /home/frank/research/code/lgmath/include/lgmath/se3/Transformation.hpp:57:12: note: lgmath::se3::Transformation::Transformation(const Matrix4d&) explicit Transformation(const Eigen::Matrix4d& T);
The text was updated successfully, but these errors were encountered:
A temporary workaround is to force the constructor using vector by doing:
lgmath::se3::Transformation test2(lgmath::se3::tran2vec(Eigen::Matrix4d::Identity()));
The function tran2vec transform the 4x4 to a 6x1, which seems to be better accepted by the constructor.
tran2vec
Sorry, something went wrong.
No branches or pull requests
Not sure if it's wanted, but:
won't compile and yield:
The text was updated successfully, but these errors were encountered: