- edited description
test_gtsam breaks
it seems that test_gtsam breaks at the third test! Is that an OS issue / cmake issue i need to take care of or a gtsam bug? Would you please advice
I have Matlab running on Ubuntu 14.04 (I know in gtsam/INSTALL you mention that it was only test on the following systems: - Ubuntu 11.04 - 13.10
test_gtsam
Starting: testCal3Unified
Starting: testKalmanFilter
Starting: testJacobianFactor
Error using gtsam.CHECK (line 9)
CHECK actualCG.equals(expectedCG,1e-5) fails
Error in testJacobianFactor (line 59)
CHECK('actualCG.equals(expectedCG,1e-5)',actualCG.equals(expectedCG,1e-4));
Error in test_gtsam (line 12)
testJacobianFactor
Comments (8)
-
reporter -
reporter - edited description
-
reporter - edited description
-
Hi! The latest released version 3.2.1 is stable and test_gtsam.m will complete without error on Ubuntu version through to Xenial.
The development version 4.0 however will not. (My guess is they don't develop in matlab much?)
3 fixes, that make the tests pass at least:
testJacobianFactor.m line 57, expectedCG needs a noise model of size 2. gtsam.h, define virtual Class GenericValue, with member void serializable() const. Fix BearingRangeFactor serialization and wrapping, Issue #281. (This isn't just a matlab specific error).
Likely there will be more issues, a lot has changed. I can submit a pull request for these changes if you are interested? Most of them are straight forward but my solution for
#281is a bit different to an existing pull request. -
reporter Thanks Jacob for your prompt reply. Yep, the README-gtsam-toolbox.txt states that newer Ubuntu versions unsupported by MATLAB (later than 10.04)! I was in the process of going through steps of README-gtsam-toolbox.txt and breaks when running the test_gtsam.m, hoping the MATLAB R2016a had the updated development!
ultimately, I want to use GTSAM as on-line filter (only the single most recent poses is kept in the graph) and I thought the m-files in the unstable_examples (specifically ConcurrentFilteringAndSmoothingExample.m) in GTSAM 4 would be a good start? I have GTSAM 3.2.1 working fine. Would you think I still can use GTSAM 3.2.1 to build the filter framework?
I think pulling a request here to fix this issue will ultimately lead to fix another issues. Thanks
-
Sorry I'm not personally familiar with that work, so I can't offer you much advice. Either use 3.2.1 and write your own, wait for them to release 4.0 or try contribute to it yourself.
-
reporter Sure. Thanks Jacob
-
- changed status to closed
Merged in fix/matlab_tests (pull request #361)
close issue
#403close issue#402close issue#398close issue#397close issue#395close issue#305close issue#282close issue#16Fix/matlab tests Approved-by: Mike Sheffler msheffler@toyon.com
→ <<cset b5a878d2af18>>
- Log in to comment