-
Notifications
You must be signed in to change notification settings - Fork 788
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
Fix/1452 #1977
base: fix/1452
Are you sure you want to change the base?
Fix/1452 #1977
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I already added the text file you provided in examples/Data/. Is the file you provided different?
*/ | ||
int main() { | ||
// Path to the test data file | ||
ifstream infile("IncrementalFixedLagSmootherTestData.txt"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you load the file as in the test I provided in this branch?
saveG2oGraph(smoother.getFactors(), currentEstimate, path + "isam", lineCount); | ||
infile.close(); | ||
return 0; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a new line at end of file, please
You’re merging this into the branch I created, which added this as a unit test. I don’t think we need both, so could you also delete the test in this PR? Also look at how I load the file, and perhaps how I now use |
…eading files and adding factors.
Add a minimal test case of
IncrementalFixedLagSmoother
ingtsam/gtsam_unstable/examples
folder using real-world data to showcase how settingfindUnusedFactorSlots = true
addresses the issue #1452 in GTSAM.