Open zjwoody opened 2 years ago
@zjwoody Sorry, it took slightly longer than expected. Now CI should work again. Can you rebase your PR? I also had a quick look at it already, and my understanding is that it will not compile as is:
Hi Wolfgang, thanks for the information! I rebased the PR and it is not able to compile due to the reason you mentioned, so it can't be merged. I have some stupid questions since I'm not clear about what to do next:
Sorry about the slow response. I was referring to the suggestion from #1879. Basically, you have to put two versions of the code in some places like this, checking whether a recent Ceres version is used:
#if CERES_VERSION_MAJOR > 2 || CERES_VERSION_MAJOR == 2 && CERES_VERSION_MINOR >= 1
// TODO: new code here Manifold
#else
// TODO: old code here LocalParameterization
#endif
You might have to #include "ceres/version.h"
. Does that make sense?
We need to migrate the Cartographer code to use Manifolds instead of LocalParameterization to allow Ceres code to remove the LocalParameterization code.
The PR converts internal use of LocalParameterization to Manifold. Removes headers that reference local_parameterization or implementation classes.
Note that internal variable and method names with type Manifold were renamed Manifold/manifold, but the outer abstraction class, proto name and so on were left as Parameterization/parameterization.
Signed-off-by: Jie Zheng zhengj@google.com