Skip to content

How best to reuse factors (CalcFactor)  #1166

Open
@Affie

Description

@Affie

With reference to this issue: #467 (comment)

Is this the best way (wrap it in another CalcFactor):

cfZij = CalcFactor( cfo.factor.Zij.mechanics, cfo.metadata, 0, length(cfo._legacyMeas), cfo._legacyMeas, cfo._legacyParams)

https://github.com/JuliaRobotics/RoME.jl/blob/f41342dd89c47c1a5e6699990889a7ff609f20e6/src/factors/flux/MixtureFluxPose2Pose2.jl#L150

I think saving the CalcFactor object will be more efficient?
We can look at it as part of the CCW FMD CalcFactor cleanup.

We should also add it to documentation in Caeser

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions