Skip to content
New issue

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

Support ceres 2.0 in tests #117

Merged

Conversation

efernandez
Copy link
Collaborator

  • Update autodiff Differentiate for Ceres 2.0

    In Ceres 2.0 we should call AutoDifferentiate<...>(...) instead of
    AutoDiff<...>::Differentiate(...).

  • Make free functions inline for Ceres 2.0 patch

    Otherwise there's a linking error because the function is defined twice:
    once for the fixed lag smoother and once for the batch optimizer, which
    are built together into the same library.

  • Include ceres/version.h to check ceres version

    Otherwise the CERES_VERSION_* preprocessor macros are NOT set.

Otherwise the CERES_VERSION_* preprocessor macros are NOT set.
Otherwise there's a linking error because the function is defined twice:
once for the fixed lag smoother and once for the batch optimizer, which
are built together into the same library.
In Ceres 2.0 we should call AutoDifferentiate<...>(...) instead of
AutoDiff<...>::Differentiate(...).
@svwilliams svwilliams merged commit 234f746 into locusrobotics:devel Nov 19, 2019
@efernandez efernandez deleted the support_ceres_2.0_in_tests branch November 20, 2019 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants