-
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
Implement isInitialized
function in SDK.jl
#89
Comments
isInitialized
isInitialized
function in SDK.jl
for tut 1? To what end? |
The graphinit process is described in Tutorial 1, however, I just moved it to Above and Beyond path since this is easier to do in the CJL version. So SDKs versions of Tut1 will have to be a little different for the sake of MVP on SDK versions.
This is a developer function often used. A part of Tut1 is based on explaining how graphinit works. I'm going to modify the SDK versions to instead just do a solve instead, and thereby get numerical values in the nodes rather than reckon on init values. Will circle back in Above and Beyond list. |
to be clear, this function will have to be built at some point, it would have been good to have for Tut1, but can work around it for SDK versions easy enough, so does not qualify for MVP. Hence why I moved it out. |
why not use solver data eg. or we can add this to DFG: function isInitialized(dfg::AbstractDFG, label::Symbol, key::Symbol=:default)
return getVariableSolverData(dfg, label, key).initialized
end |
We should add the function
isInitialized
to the SDKThe CJL call is as follows:
and returns true or false.
Implementation here:
https://github.com/JuliaRobotics/DistributedFactorGraphs.jl/blob/16b82a4c814ce913ac3dc849f2fcb198ddc9abfa/src/services/DFGVariable.jl#L240-L261
The text was updated successfully, but these errors were encountered: