Giter Club home page Giter Club logo

Comments (2)

artivis avatar artivis commented on August 27, 2024

Hi @willat343,

Sorry for the ceres-related doc page, it isn't great, the notation isn't methodical and it should be revamped.

The tldr is that manif analytic jacobians aren't compatible with ceres.

Altho I'm not familiar with ceres 2.+, a quick look seems to indicate that nothing change from 1.x in the sense that ceres expects Jacobians to be expressed with respect to the underlying representation vector (AmbientSize) while manif express them w.r.t a perturbation on the tangent space (TangentSize).
If I re-use the notation from the ceres-related doc page,

J_w^e = J_{x+w}^e x J_w^{x+w}
(ResidualSize,TangentSize) = (ResidualSize,AmbientSize) x (AmbientSize,TangentSize)

This notation is bad as it suggests that all Jacobians are w.r.t the tangent space which is not the case as you can see from the matrix dimensions.

This being said, manif supports ceres autodiff. If you're looking for analytic Jacobians to be used with ceres, you could consider using Sophus.

You may be interested in having a look at the following issues for further reading: ceres-solver/ceres-solver#387 & ceres-solver/ceres-solver#615.

from manif.

willat343 avatar willat343 commented on August 27, 2024

Thank you for your explanation @artivis, and for those links, that actually does help a bit. Happy to close this for now.

from manif.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.