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

matlab/gtsam_examples/IMUKittiExampleGPS" fails to run! #1519

Closed
lifeiyu01 opened this issue Apr 24, 2023 · 2 comments
Closed

matlab/gtsam_examples/IMUKittiExampleGPS" fails to run! #1519

lifeiyu01 opened this issue Apr 24, 2023 · 2 comments
Labels
matlab Related to MATLAB wrapper

Comments

@lifeiyu01
Copy link

Hello Sir,
Most of the example files can be run, but the file "IMUKittiExampleGPS.m" can't be run correctly. The error messages are here:
IMUKittiExampleGPS
Example of application of ISAM2 for GPS-aided navigation on the KITTI VISION BENCHMARK SUITE (http://www.computervisiononline.com/dataset/kitti-vision-benchmark-suite)
-- Reading sensor metadata
-- Reading sensor data from file
-- Starting main loop: inference is performed at each time step, but we plot trajectory every 10 steps
错误使用(Error to use) gtsam_wrapper
Exception from gtsam:
Attempting to retrieve value with key "v3", 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) gtsam.ISAM2/update (第 237 行 line 237)
varargout{1} = gtsam_wrapper(1765, this, varargin{:});
出错(ERROR) IMUKittiExampleGPS (第 124 行 line 124)
isam.update(newFactors, newValues);
Could you help me to find what's wrong with it? Thank you very much.

@mattking-smith
Copy link

mattking-smith commented Apr 25, 2023

Hi @lifeiyu01,

Just today I pulled and verified the develop branch with the MATLAB toolbox. Perhaps you could try doing this for me?

Also make sure to set GTSAM_ALLOW_DEPRECATED_SINCE_V43 = OFF during the build process.

@varunagrawal varunagrawal added the matlab Related to MATLAB wrapper label Apr 27, 2023
@dellaert
Copy link
Member

dellaert commented Jun 4, 2023

Closing as verified to work and no further activity.

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

No branches or pull requests

4 participants