Giter VIP home page Giter VIP logo

Comments (5)

Nate711 avatar Nate711 commented on June 14, 2024 1

Thanks for the quick reply I'll try it out

from jaxfg.

brentyi avatar brentyi commented on June 14, 2024

Hey!

The ordering of the stacked parameters should match the order that you passed the factors into StackedFactorGraph.make(factors); row i should be the mu parameter of the i-th PriorFactor.

So if you break down factors: List[FactorBase] = between_factors + prior_factors, prior_factors[i].mu.unit_complex_xy should be equivalent to graph.factor_stacks[1].factor.mu.unit_complex_xy[i, :].

Does that answer your question?

from jaxfg.

Nate711 avatar Nate711 commented on June 14, 2024

And @brentyi , how are variables in the solution ordered? Are the variables ordered by the order of appearance in the factor list, or in the pose list passed into StackedFactorGraph.make? Or something else? Thanks

from jaxfg.

brentyi avatar brentyi commented on June 14, 2024

The structure of the solution assignments will match the initial assignments (which needs to be explicitly passed into the solve() method), and the initial variable ordering of the assignments should parallel the factor ordering of the graph — it'll just respect whatever you pass into VariableAssignments.make_from_defaults(some iterable), VariableAssignments.make_from_dict(some dictionary), etc.

edit: this was actually aspirational behavior and untrue at the time, see #12 and #13

from jaxfg.

Nate711 avatar Nate711 commented on June 14, 2024

Thanks!

from jaxfg.

Related Issues (7)

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.