Skip to content
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

Error using gtsam_wrapper, exception from gtsam #6

Open
durgendra opened this issue Feb 26, 2025 · 0 comments
Open

Error using gtsam_wrapper, exception from gtsam #6

durgendra opened this issue Feb 26, 2025 · 0 comments

Comments

@durgendra
Copy link

durgendra commented Feb 26, 2025

Hi Mr. Taro, I followed all the steps for Windows and installed all the libraries. However, When I ran run_fugo.m, I am getting error as following in MATLAB. Any suggestion on how to resolve the issue?

System: Windows 11, Matlab R2024b

Course: 2020-12-11-19-30-us-ca-mtv-e, Phone: pixel4xl
Processing: 100% |████████████████████████████████████| 1190/1190it [00:01:02<00:00:00, 19.13 it/s]
Processing: 100% |████████████████████████████████████| 1189/1189it [00:00:21<00:00:00, 55.23 it/s]
Error using gtsam_wrapper
Exception from gtsam:
Attempting to retrieve value with key "v2", type stored in Values is class gtsam::GenericValue<class
Eigen::Matrix<double,-1,1,0,-1,1> > but requested type was class Eigen::Matrix<double,3,1,0,3,1>

Error in gtsam.LevenbergMarquardtOptimizer (line 26)
[ my_ptr, base_ptr ] = gtsam_wrapper(2713, varargin{1}, varargin{2}, varargin{3});
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in fgo_gnss_imu (line 329)
optimizer = gtsam.LevenbergMarquardtOptimizer(graph, initials, optparameters);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in run_fgo (line 55)
optStat(i) = fgo_gnss_imu(datapath, setting, false);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant