-
Notifications
You must be signed in to change notification settings - Fork 2
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
Deprecation, rename softtype -> VariableType #603
Comments
I like I just want to make sure i understand the intention. For me the only thing that changed in softtype was making it “constant” (no more variable fields). So can’t see why this( |
That should still work. I'm just suggesting we rename
The current does not enforce that say a I think we are in a good place except for the naming. Initially "mix-andmatch" was confused with "softtype". Then came system requirements wanting "Manifest" information. "Manifest information" is the same as "hard-typing" in this case. So changing the name to We should probably add a checking function or suppressible warning when "type-on-type" discrepancies occur. Although i do think "type-on-type" purity is too strong a requirement. Note other libraries like iSAM or GTSAM do require "type-on-type" purity (my understanding, although I have not check that as fact). I'm trying to keep an open mind by not looking at any of the other libraries.
Likely yes, and that might be a better time to at least enforce some basic necessary (but not sufficient) conditions that manifolds between variable and factor dimensions should at least be compatible (don't have to be exactly the same) |
HI @Affie , just a reminder if you have a few minutes spare perhaps please. Lets target this for DFG v0.11.0. The serialization enhancement likely to only happen for v0.12.0 or v0.13.0 -- there are all sorts of small issues and ideas trickling in for that so probably best to keep major serialization updates on back burner for now. |
the idea of
softtype
has been removed, and is now just a regular hard type, so I think we should change the naming convention toVariableType
. Some of the API will need to be changed too, e.g.getSofttype
will becomegetVariableType
which is then similar to the existinggetFactorType
.Also, the name
softtype
doesn't have any meaning really. I added it a long time back for a different reason and use of the terminologysofttype
should probably expire. The motivation was to allow different FactorsTypes to be added to the same VariableType, which increases reuse -- e.g.MultivariateEuclid{2}
can be used on aPoint2, Pose2, Pose3, Point3
. Becomes even more useful for quick tricks likePartialEuclid{...}
(if you want to regularize one among variables).Related:
softypename::Symbol
a bad idea? #237The text was updated successfully, but these errors were encountered: