Giter Club home page Giter Club logo

Comments (4)

jlblancoc avatar jlblancoc commented on June 27, 2024

@dellaert Brilliant! Next week, hopefully will come back to this important one.
Cheers.

from gtsam.

jlblancoc avatar jlblancoc commented on June 27, 2024

Work in progress here.

On this:

One things is that we definitely want to be backwards compatible on update, including in wrappers.

Let me know if this solution (100% backwards compatible) seems better.
Next, we can add to that structure the new parameters needed to solve this bug.

On this:

β€œIn theory, even smart-factors know which keys they are connected to, so I am not sure why simply giving the keys is not an option.”

It would be great to do it like that; last time I spent some time with this, though, it looked like it was not possible, but will give it another try just in case I missed something.

from gtsam.

jlblancoc avatar jlblancoc commented on June 27, 2024

I'm super happy this is solved, yay!

@dellaert Please, take a look at the proposed solution in the PR #25.

β€œIn theory, even smart-factors know which keys they are connected to, so I am not sure why simply giving the keys is not an option.”

Perhaps there's another way, but I though that for iSAM2::getAffectedFactors() to work properly:

FactorIndexSet indices;
for (const Key key : keys) {
const VariableIndex::Factors& factors(variableIndex_[key]);
indices.insert(factors.begin(), factors.end());
}

we need variableIndex_ to be up-to-date, and that implies requesting from the user this information, that's the reason of the new parameter to update().

from gtsam.

dellaert avatar dellaert commented on June 27, 2024

Excellent, I will review...

from gtsam.

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.